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 (Closed) (JIRA)" <ji...@apache.org> on 2012/02/09 22:14:57 UTC

[jira] [Closed] (OPENNLP-431) Debugging is slow if using a POSDictionary

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

William Colen closed OPENNLP-431.
---------------------------------

    Resolution: Fixed

The method toString now outputs only a few entries
                
> Debugging is slow if using a POSDictionary
> ------------------------------------------
>
>                 Key: OPENNLP-431
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-431
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: POS Tagger
>    Affects Versions: tools-1.5.3-incubating
>            Reporter: William Colen
>            Assignee: William Colen
>            Priority: Minor
>             Fix For: tools-1.5.3-incubating
>
>
> Debugging is too slow if using a POSDictionary because of its toString() method. The IDE calls it to show variables values. The current implementation of toString creates a huge string with all dictionary entries.
> We should reduce it to just a few entries.

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