to_annotate

ucca.textutil.to_annotate(passage_contexts, replace, as_array=False, as_extra=True)[source]

Filter passages to get only those that require annotation; split to paragraphs and return generator of (list of tokens, (paragraph index, list of Terminals, Passage) + original context appended) tuples