You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "William Colen (JIRA)" <ji...@apache.org> on 2012/07/13 05:57:33 UTC

[jira] [Closed] (OPENNLP-481) ADTokenSampleStream is not handling hyphenated tokens correctly

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

William Colen closed OPENNLP-481.
---------------------------------

    Resolution: Fixed

Added the optional argument "splitHyphenatedTokens"
                
> ADTokenSampleStream is not handling hyphenated tokens correctly
> ---------------------------------------------------------------
>
>                 Key: OPENNLP-481
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-481
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Formats
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> Hyphenated tokens are not handled, for example "aprova-se" should be separated in two tokens. ADTokenSampleStream relies on a DictionaryDetokenizer, that don't know that "aprova-" "se" should be merged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira