Helper functions¶

DiscourseData(name, annotation_types, hierarchy)

Class for collecting information about a discourse to be loaded

inspect_directory(directory)

Function to inspect a directory and return the most likely type of files within it.

text_to_lines(path)

Parse a text file into lines.

find_wav_path(path)

Find a sound file for a given file, by looking for a .wav file with the same base name as the given path