file2passage

ucca.convert.file2passage(filename)[source]

Opens a file and returns its parsed Passage object Tries to read both as a standard XML file and as a binary pickle :param filename: file name to write to