Annotated text to CoNLL dep parse input converter¶
Path | pimlico.modules.malt.conll_parser_input |
Executable | yes |
Converts word-annotations to CoNLL format, ready for input into the Malt parser. Annotations must contain words and POS tags. If they contain lemmas, all the better; otherwise the word will be repeated as the lemma.
Inputs¶
Name | Type(s) |
---|---|
annotations | WordAnnotationCorpus with ‘word’ and ‘pos’ fields |
Outputs¶
Name | Type(s) |
---|---|
conll_data | CoNLLDependencyParseInputCorpus |