pyeeg.io.AlignedSpeech.create_word_level_features

AlignedSpeech.create_word_level_features(path_wordonsets, path_surprisal=None, path_wordvectors=None, path_wordfrequency=None, path_syntactic=None, use_wordonsets=False)

Create a new word level feature object attached to this instance. The word feature object might contains the following features:

  • wordonsets

  • surprisal

  • word frequency

  • word vectors values

  • syntactic depth

  • openning nodes

  • closing nodes

For any other arbitrary word level features, one should attach it “by hand” to this instance using add_word_level_features() or add_feature().

seealso::