Package opennlp.tools.parser

# Class ParserChunkerSequenceValidator

java.lang.Object
opennlp.tools.parser.ParserChunkerSequenceValidator

All Implemented Interfaces:
  `opennlp.tools.util.SequenceValidator<opennlp.tools.util.TokenTag>`

public class ParserChunkerSequenceValidator extends Object implements opennlp.tools.util.SequenceValidator<opennlp.tools.util.TokenTag>
The parser chunker `SequenceValidator` implementation.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParserChunkerSequenceValidator(String[] outcomes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `validSequence(int i, String[] inputSequence, String[] tagList, String outcome)`
  `boolean`
  `validSequence(int i, opennlp.tools.util.TokenTag[] inputTuples, String[] outcomesSequence, String outcome)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ParserChunkerSequenceValidator

    public ParserChunkerSequenceValidator(String[] outcomes)

- ## Method Details

  - ### validSequence

    public boolean validSequence(int i, String[] inputSequence, String[] tagList, String outcome)

  - ### validSequence

    public boolean validSequence(int i, opennlp.tools.util.TokenTag[] inputTuples, String[] outcomesSequence, String outcome)
    Specified by:
      `validSequence` in interface `opennlp.tools.util.SequenceValidator<opennlp.tools.util.TokenTag>`