udapi.block.read.conll module

“Conll is a reader block for CoNLL-like files (CoNLL-U, CoNLL-X, CoNLL-2009).

class udapi.block.read.conll.Conll(separator='tab', attributes='ord,form,lemma,upos,xpos,feats,head,deprel,deps,misc', **kwargs)[source]

Bases: Conllu

A reader of the CoNLL-U files.

parse_node_line(line, root, nodes, parents, mwts)[source]
read_tree_from_lines(lines)[source]