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/02/09 22:02:57 UTC

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

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

        

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

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

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

    Resolution: Fixed
    
> 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
>            Reporter: William Colen
>            Assignee: William Colen
>            Priority: Minor
>             Fix For: tools-1.5.3
>
>
> 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

        

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

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

        

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

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

William Colen reopened OPENNLP-431:
-----------------------------------


I will improve it following suggestions from opennlp-dev. It is not meaningful to show only the first 3 entries of the dictionary. The toString method should output other meaningful information, like number of entries and case sensitivity.
                
> 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