OpenNLP
  1. OpenNLP
  2. OPENNLP-452

Running the POSTaggerCrossValidator with -ngram argument causes an exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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?

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development