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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/23 01:36:22 UTC

[jira] [Created] (OPENNLP-481) ADTokenSampleStream is not handling hyphenated tokens correctlyse

ADTokenSampleStream is not handling hyphenated tokens correctlyse 
------------------------------------------------------------------

                 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

        

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

Posted by "William Colen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Colen updated OPENNLP-481:
----------------------------------

    Summary: ADTokenSampleStream is not handling hyphenated tokens correctly  (was: ADTokenSampleStream is not handling hyphenated tokens correctlyse )
    
> 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

        

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

Posted by "William Colen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Resolution: Fixed

Fixed.
                
> 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

        

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

Posted by "William Colen (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "William Colen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Colen reopened OPENNLP-481:
-----------------------------------


Some applications would prefer having hyphenated tokens together. We should make it optional.
                
> 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