Uses of Record Class
opennlp.tools.langdetect.LanguageSample
Packages that use LanguageSample
Package
Description
Experimental package related to converting various corpora to OpenNLP Format.
Experimental package related to the
Leipzig corpus format.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.langdetectModifier and TypeClassDescriptionclassTool to convert multiple data formats into native OpenNLP language detection training format.final classclassA default implementation ofEvaluationMonitorthat prints to an output stream.final classA defaultLanguageSample-centric implementation ofAbstractEvaluatorToolthat prints to an output stream.classMethods in opennlp.tools.cmdline.langdetect with parameters of type LanguageSampleModifier and TypeMethodDescriptionvoidLanguageDetectorFineGrainedReportListener.correctlyClassified(LanguageSample reference, LanguageSample prediction) voidLanguageDetectorEvaluationErrorListener.misclassified(LanguageSample reference, LanguageSample prediction) voidLanguageDetectorFineGrainedReportListener.misclassified(LanguageSample reference, LanguageSample prediction) protected voidLanguageDetectorEvaluationErrorListener.printError(LanguageSample referenceSample, LanguageSample predictedSample) -
Uses of LanguageSample in opennlp.tools.formats
Subclasses with type arguments of type LanguageSample in opennlp.tools.formatsMethods in opennlp.tools.formats that return types with arguments of type LanguageSampleModifier and TypeMethodDescription -
Uses of LanguageSample in opennlp.tools.formats.leipzig
Subclasses with type arguments of type LanguageSample in opennlp.tools.formats.leipzigModifier and TypeClassDescriptionclassNote: Do not use this class, internal use only!Classes in opennlp.tools.formats.leipzig that implement interfaces with type arguments of type LanguageSampleMethods in opennlp.tools.formats.leipzig that return LanguageSampleMethods in opennlp.tools.formats.leipzig that return types with arguments of type LanguageSampleModifier and TypeMethodDescription -
Uses of LanguageSample in opennlp.tools.langdetect
Subclasses with type arguments of type LanguageSample in opennlp.tools.langdetectModifier and TypeClassDescriptionclassTheLanguageDetectorEvaluatormeasures the performance of the givenLanguageDetectorwith the provided referenceLanguageSamples.classIterator-like class for modeling an event stream ofsamples.classThis class reads in string encodedtraining samples, parses them and outputsLanguageSampleobjects.Subinterfaces with type arguments of type LanguageSample in opennlp.tools.langdetectModifier and TypeInterfaceDescriptioninterfaceA marker interface for evaluatinglanguage detectors.Methods in opennlp.tools.langdetect that return LanguageSampleModifier and TypeMethodDescriptionLanguageDetectorEvaluator.processSample(LanguageSample sample) Evaluates the given referenceLanguageSampleobject.LanguageDetectorSampleStream.read()Methods in opennlp.tools.langdetect with parameters of type LanguageSampleModifier and TypeMethodDescriptionLanguageDetectorEventStream.createEvents(LanguageSample sample) LanguageDetectorEvaluator.processSample(LanguageSample sample) Evaluates the given referenceLanguageSampleobject.Method parameters in opennlp.tools.langdetect with type arguments of type LanguageSampleModifier and TypeMethodDescriptionvoidLanguageDetectorCrossValidator.evaluate(ObjectStream<LanguageSample> samples, int nFolds) Starts the evaluation.static LanguageDetectorModelLanguageDetectorME.train(ObjectStream<LanguageSample> samples, TrainingParameters mlParams, LanguageDetectorFactory factory) Starts a training of aLanguageDetectorModelwith the given parameters.Constructor parameters in opennlp.tools.langdetect with type arguments of type LanguageSampleModifierConstructorDescriptionInitializes an instance via samples and feature generators.