udapi.block.read.addsentences module¶
AddSentences class is a reader for adding plain-text sentences.
- class udapi.block.read.addsentences.AddSentences(zone='', into='text', **kwargs)[source]¶
Bases:
BaseReader
A reader for adding plain-text sentences (one sentence per line) files.
The sentences are added to an existing trees. This is useful, e.g. if there are the original raw texts in a separate file:
cat in.conllu | udapy -s read.Conllu read.AddSentences files=in.txt > merged.conllu