Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 875 Bytes

conll.rst

File metadata and controls

18 lines (13 loc) · 875 Bytes

conll

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.

API

pyconll.unit.conll