You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Rodrigo Agerri (JIRA)" <ji...@apache.org> on 2014/05/06 10:38:19 UTC

[jira] [Closed] (OPENNLP-665) remove parser.lang.en.HeadRules specific casting for Parser

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

Rodrigo Agerri closed OPENNLP-665.
----------------------------------


Testing for training parser models for Spanish and English work. Issue closed.

> 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, trainParser.txt
>
>
> 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)