# Uses of Class
opennlp.tools.chunker.ChunkSample

Packages that use ChunkSample
Package
Description
opennlp.tools.chunker
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
opennlp.tools.cmdline.chunker
opennlp.tools.formats
Experimental package related to converting various corpora to OpenNLP Format.
opennlp.tools.formats.ad
Experimental package related to the `Arvores Deitadas corpus` format.
opennlp.tools.parser
Package containing common code for performing full syntactic parsing.

- ## Uses of ChunkSample in opennlp.tools.chunker

  Methods in opennlp.tools.chunker that return ChunkSample
  Modifier and Type
  Method
  Description
  `protected ChunkSample`
  ChunkerEvaluator.`processSample(ChunkSample reference)`
  Evaluates the given reference `ChunkSample` object.
  `ChunkSample`
  ChunkSampleStream.`read()`
  Methods in opennlp.tools.chunker that return types with arguments of type ChunkSample
  Modifier and Type
  Method
  Description
  `Sequence<ChunkSample>`
  ChunkSampleSequenceStream.`read()`
  Methods in opennlp.tools.chunker with parameters of type ChunkSample
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  ChunkerEventStream.`createEvents(ChunkSample sample)`
  `protected ChunkSample`
  ChunkerEvaluator.`processSample(ChunkSample reference)`
  Evaluates the given reference `ChunkSample` object.
  Method parameters in opennlp.tools.chunker with type arguments of type ChunkSample
  Modifier and Type
  Method
  Description
  `void`
  ChunkerCrossValidator.`evaluate(ObjectStream<ChunkSample> samples, int nFolds)`
  Starts the evaluation.
  `static ChunkerModel`
  ChunkerME.`train(String lang, ObjectStream<ChunkSample> in, TrainingParameters mlParams, ChunkerFactory factory)`
  Starts a training of a `ChunkerModel` with the given parameters.
  `Event[]`
  ChunkSampleSequenceStream.`updateContext(Sequence<ChunkSample> sequence, AbstractModel model)`
  Constructor parameters in opennlp.tools.chunker with type arguments of type ChunkSample
  Modifier
  Constructor
  Description
  ``
  `ChunkerEventStream(ObjectStream<ChunkSample> d, ChunkerContextGenerator cg)`
  Creates a new event stream based on the specified data stream using the given context generator.
  ``
  `ChunkSampleSequenceStream(ObjectStream<ChunkSample> samples, ChunkerContextGenerator generator)`
  Creates a `ChunkSampleSequenceStream` with given `samples` using a `ChunkerContextGenerator`.

- ## Uses of ChunkSample in opennlp.tools.cmdline.chunker

  Methods in opennlp.tools.cmdline.chunker with parameters of type ChunkSample
  Modifier and Type
  Method
  Description
  `protected Span[]`
  ChunkerDetailedFMeasureListener.`asSpanArray(ChunkSample sample)`
  `void`
  ChunkEvaluationErrorListener.`misclassified(ChunkSample reference, ChunkSample prediction)`

- ## Uses of ChunkSample in opennlp.tools.formats

  Methods in opennlp.tools.formats that return types with arguments of type ChunkSample
  Modifier and Type
  Method
  Description
  `ObjectStream<ChunkSample>`
  ChunkerSampleStreamFactory.`create(String[] args)`

- ## Uses of ChunkSample in opennlp.tools.formats.ad

  Methods in opennlp.tools.formats.ad that return ChunkSample
  Modifier and Type
  Method
  Description
  `ChunkSample`
  ADChunkSampleStream.`read()`
  Methods in opennlp.tools.formats.ad that return types with arguments of type ChunkSample
  Modifier and Type
  Method
  Description
  `ObjectStream<ChunkSample>`
  ADChunkSampleStreamFactory.`create(String[] args)`

- ## Uses of ChunkSample in opennlp.tools.parser

  Methods in opennlp.tools.parser that return ChunkSample
  Modifier and Type
  Method
  Description
  `ChunkSample`
  ChunkSampleStream.`read()`