Note
For loading new Conll
objects from a file or string, prefer the load module which provides the main entry points for parsing CoNLL.
This module represents a CoNLL file, i.e. a collection of CoNLL annotated sentences. Like other collections in python, Conll
objects can be indexed, sliced, iterated, etc (specifically it implements the MutableSequence contract). Conll
objects are Conllable, so then can be converted into a CoNLL string or they can be written to file directly with the write
method.
pyconll.unit.conll