Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-452

Running the POSTaggerCrossValidator with -ngram argument causes an exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: tools-1.5.3
    • Fix Version/s: tools-1.5.3
    • Component/s: POS Tagger
    • Labels:
      None

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              colen William Colen
              Reporter:
              colen William Colen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: