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/29 21:09:57 UTC

[jira] [Created] (OPENNLP-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception

Running the POSTaggerCrossValidator with -ngram argument causes an exception
----------------------------------------------------------------------------

                 Key: OPENNLP-452
                 URL: https://issues.apache.org/jira/browse/OPENNLP-452
             Project: OpenNLP
          Issue Type: Bug
          Components: POS Tagger
    Affects Versions: tools-1.5.3
            Reporter: William Colen
            Assignee: William Colen
             Fix For: tools-1.5.3


I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException.

Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries.
CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality.

Does anybody know why it does not support resetting?

--
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] [Commented] (OPENNLP-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception

Posted by "Joern Kottmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232522#comment-13232522 ] 

Joern Kottmann commented on OPENNLP-452:
----------------------------------------

Fix looks good.
                
> Running the POSTaggerCrossValidator with -ngram argument causes an exception
> ----------------------------------------------------------------------------
>
>                 Key: OPENNLP-452
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-452
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: POS Tagger
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException.
> Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries.
> CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality.
> Does anybody know why it does not support resetting?

--
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-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception

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

William Colen closed OPENNLP-452.
---------------------------------

    
> Running the POSTaggerCrossValidator with -ngram argument causes an exception
> ----------------------------------------------------------------------------
>
>                 Key: OPENNLP-452
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-452
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: POS Tagger
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException.
> Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries.
> CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality.
> Does anybody know why it does not support resetting?

--
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] [Commented] (OPENNLP-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception

Posted by "William Colen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232288#comment-13232288 ] 

William Colen commented on OPENNLP-452:
---------------------------------------

Please review my commit because I am not sure if it would break anything.
                
> Running the POSTaggerCrossValidator with -ngram argument causes an exception
> ----------------------------------------------------------------------------
>
>                 Key: OPENNLP-452
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-452
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: POS Tagger
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException.
> Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries.
> CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality.
> Does anybody know why it does not support resetting?

--
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] [Resolved] (OPENNLP-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception

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

William Colen resolved OPENNLP-452.
-----------------------------------

    Resolution: Fixed

Implemented 'reset' method
                
> Running the POSTaggerCrossValidator with -ngram argument causes an exception
> ----------------------------------------------------------------------------
>
>                 Key: OPENNLP-452
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-452
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: POS Tagger
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException.
> Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries.
> CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality.
> Does anybody know why it does not support resetting?

--
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] [Commented] (OPENNLP-452) Running the POSTaggerCrossValidator with -ngram argument causes an exception

Posted by "Joern Kottmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENNLP-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232520#comment-13232520 ] 

Joern Kottmann commented on OPENNLP-452:
----------------------------------------

When I wrote it I did not thought about the case that some tools need to go multiple times over the training data.
                
> Running the POSTaggerCrossValidator with -ngram argument causes an exception
> ----------------------------------------------------------------------------
>
>                 Key: OPENNLP-452
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-452
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: POS Tagger
>    Affects Versions: tools-1.5.3
>            Reporter: William Colen
>            Assignee: William Colen
>             Fix For: tools-1.5.3
>
>
> I tried to execute POSTaggerCrossValidator with the -ngram parameter and it caused a UnsupportedOperationException.
> Sometimes it is interesting for some training tools to pre-process the corpus to artifacts before training, for example dictionaries.
> CrossValidationPartitioner.TrainingSampleStream should support the reset operation to allow this functionality.
> Does anybody know why it does not support resetting?

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