exception
Custom exceptions for pyconll. These errors are ParseError, FormatError, and SchemaError.
A ParseError occurs when the source input to a CoNLL component is invalid. A FormatError occurs when the internal state of the component is invalid, and the component cannot be output to a CoNLL string. A SchemaError occurs when the Token schema provided to a Format instance is invalid and cannot be compiled.
API
Holds custom pyconll errors. These errors include parsing errors when reading treebanks, and errors when outputting CoNLL objects.
- exception pyconll.exception.FormatError[source]
Error that results from trying to format a CoNLL object to a string.