[ 
https://issues.apache.org/jira/browse/OPENNLP-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554029#comment-17554029
 ] 

Markus Jelsma commented on OPENNLP-1372:
----------------------------------------

Attached simple patch to address the issue.

> ConlluWordLine to include line text in invalid number of fields exception
> -------------------------------------------------------------------------
>
>                 Key: OPENNLP-1372
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1372
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Markus Jelsma
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: OPENNLP-1372.patch
>
>
> Some training Conllu training data from UD, or elsewhere, may not always have 
> exactly 10 fields. The current exception does not mention the erroneous line 
> which is not helpful in debugging.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to