udapi.block.read.conllu module¶
“Conllu is a reader block for the CoNLL-U files.
- class udapi.block.read.conllu.Conllu(strict=False, empty_parent='warn', fix_cycles=False, **kwargs)[source]¶
Bases:
BaseReader
A reader of the CoNLL-U files.
- parse_comment_line(line, root)[source]¶
Parse one line of CoNLL-U and fill sent_id, text, newpar, newdoc in root.