Uses of Record Class opennlp.tools.langdetect.LanguageSample (Apache OpenNLP Tools 2.5.9 API)
Description: use: package: opennlp.tools.langdetect, record: LanguageSample

# Uses of Record Class
opennlp.tools.langdetect.LanguageSample

Packages that use LanguageSample
Package
Description
opennlp.tools.cmdline.langdetect
opennlp.tools.formats
Experimental package related to converting various corpora to OpenNLP Format.
opennlp.tools.formats.leipzig
Experimental package related to the `Leipzig` corpus format.
opennlp.tools.langdetect
Package related to predicting languages from samples of text.

- ## Uses of LanguageSample in opennlp.tools.cmdline.langdetect

  Subclasses with type arguments of type LanguageSample in opennlp.tools.cmdline.langdetect
  Modifier and Type
  Class
  Description
  `class`
  `LanguageDetectorConverterTool`
  Tool to convert multiple data formats into native OpenNLP language detection training format.
  `final class`
  `LanguageDetectorCrossValidatorTool`
  `class`
  `LanguageDetectorEvaluationErrorListener`
  A default implementation of `EvaluationMonitor` that prints to an output stream.
  `final class`
  `LanguageDetectorEvaluatorTool`
  A default `LanguageSample`-centric implementation of `AbstractEvaluatorTool` that prints to an output stream.
  `class`
  `LanguageDetectorTrainerTool`
  Methods in opennlp.tools.cmdline.langdetect with parameters of type LanguageSample
  Modifier and Type
  Method
  Description
  `void`
  LanguageDetectorFineGrainedReportListener.`correctlyClassified(LanguageSample reference, LanguageSample prediction)`
  `void`
  LanguageDetectorEvaluationErrorListener.`misclassified(LanguageSample reference, LanguageSample prediction)`
  `void`
  LanguageDetectorFineGrainedReportListener.`misclassified(LanguageSample reference, LanguageSample prediction)`
  `protected void`
  LanguageDetectorEvaluationErrorListener.`printError(LanguageSample referenceSample, LanguageSample predictedSample)`

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

  Subclasses with type arguments of type LanguageSample in opennlp.tools.formats
  Modifier and Type
  Class
  Description
  `class`
  `LanguageDetectorSampleStreamFactory`
  Factory producing OpenNLP `lang detector sample streams`.
  Methods in opennlp.tools.formats that return types with arguments of type LanguageSample
  Modifier and Type
  Method
  Description
  `ObjectStream<LanguageSample>`
  LanguageDetectorSampleStreamFactory.`create(String[] args)`

- ## Uses of LanguageSample in opennlp.tools.formats.leipzig

  Subclasses with type arguments of type LanguageSample in opennlp.tools.formats.leipzig
  Modifier and Type
  Class
  Description
  `class`
  `LeipzigLanguageSampleStreamFactory`
  Note: Do not use this class, internal use only!
  Classes in opennlp.tools.formats.leipzig that implement interfaces with type arguments of type LanguageSample
  Modifier and Type
  Class
  Description
  `class`
  `LeipzigLanguageSampleStream`
  Methods in opennlp.tools.formats.leipzig that return LanguageSample
  Modifier and Type
  Method
  Description
  `LanguageSample`
  LeipzigLanguageSampleStream.`read()`
  Methods in opennlp.tools.formats.leipzig that return types with arguments of type LanguageSample
  Modifier and Type
  Method
  Description
  `ObjectStream<LanguageSample>`
  LeipzigLanguageSampleStreamFactory.`create(String[] args)`

- ## Uses of LanguageSample in opennlp.tools.langdetect

  Subclasses with type arguments of type LanguageSample in opennlp.tools.langdetect
  Modifier and Type
  Class
  Description
  `class`
  `LanguageDetectorEvaluator`
  The `LanguageDetectorEvaluator` measures the performance of the given `LanguageDetector` with the provided reference `LanguageSample`s.
  `class`
  `LanguageDetectorEventStream`
  Iterator-like class for modeling an event stream of `samples`.
  `class`
  `LanguageDetectorSampleStream`
  This class reads in string encoded `training samples`, parses them and outputs `LanguageSample` objects.
  Subinterfaces with type arguments of type LanguageSample in opennlp.tools.langdetect
  Modifier and Type
  Interface
  Description
  `interface`
  `LanguageDetectorEvaluationMonitor`
  A marker interface for evaluating `language detectors`.
  Methods in opennlp.tools.langdetect that return LanguageSample
  Modifier and Type
  Method
  Description
  `LanguageSample`
  LanguageDetectorEvaluator.`processSample(LanguageSample sample)`
  Evaluates the given reference `LanguageSample` object.
  `LanguageSample`
  LanguageDetectorSampleStream.`read()`
  Methods in opennlp.tools.langdetect with parameters of type LanguageSample
  Modifier and Type
  Method
  Description
  `protected Iterator<Event>`
  LanguageDetectorEventStream.`createEvents(LanguageSample sample)`
  `LanguageSample`
  LanguageDetectorEvaluator.`processSample(LanguageSample sample)`
  Evaluates the given reference `LanguageSample` object.
  Method parameters in opennlp.tools.langdetect with type arguments of type LanguageSample
  Modifier and Type
  Method
  Description
  `void`
  LanguageDetectorCrossValidator.`evaluate(ObjectStream<LanguageSample> samples, int nFolds)`
  Starts the evaluation.
  `static LanguageDetectorModel`
  LanguageDetectorME.`train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory)`
  Starts a training of a `LanguageDetectorModel` with the given parameters.
  Constructor parameters in opennlp.tools.langdetect with type arguments of type LanguageSample
  Modifier
  Constructor
  Description
  ``
  `LanguageDetectorEventStream(ObjectStream<LanguageSample> data, LanguageDetectorContextGenerator cg)`
  Initializes an instance via samples and feature generators.