## 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 |
  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 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)` |

    Constructor parameters in opennlp.tools.chunker with type arguments of type ChunkSample
    Constructor | Description
    --- | ---
    `ChunkerEventStream​(ObjectStream<ChunkSample> d, ChunkerContextGenerator cg)` | Creates a new event stream based on the specified data stream using the specified context generator.
    `ChunkSampleSequenceStream​(ObjectStream<ChunkSample> samples, ChunkerContextGenerator contextGenerator)` |

  - ### 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.`missclassified​(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()` |