[ 
https://issues.apache.org/jira/browse/OPENNLP-665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joern Kottmann resolved OPENNLP-665.
------------------------------------

    Resolution: Fixed
      Assignee: Rodrigo Agerri

> remove parser.lang.en.HeadRules specific casting for Parser
> -----------------------------------------------------------
>
>                 Key: OPENNLP-665
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-665
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: tools-1.5.3
>            Reporter: Rodrigo Agerri
>            Assignee: Rodrigo Agerri
>             Fix For: 1.6.0
>
>         Attachments: AncoraSpanishHeadRules.java, es-head-rules
>
>
> To train a parser.chunking.Parser, both from the CLI or using the API, the 
> headRule class used is always the parser.lang.en.HeadRules class. This class 
> performs two functions: 
> 1. It hardcodes the headrules for Noun Phrases. 
> 2. It reads a headRules file to load the headRules for the rest of the 
> constituents. 
> While trying to train parsers for other languages, it is now only possible to 
> train with the lang.en.HeadRules class. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to