Skip to content

lostyakova/speech_function

Repository files navigation

Speech Function Classifier

Description

Speech Function classifier is created for analysis of dialogue structure (based on the theory by Eggins&Slade). Overall,there are 32 possible labels. One label is assigned to one utterance. Moreover, there is a predictor for 5 most probable next labels

How to use speech function classifier

At first, preprocess a dialogue for analysing its scructure. Input: separate lists with utterances and a sequence of speakers.

import sf_classifier
sf_classifier.classify_labels(utterances,speakers)

You will get a list with predicted speech functions as a result.

How to use predictor

import predictor
predictor.print_most_probable_labels(speech_function)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published