Package | Description |
---|---|
opennlp.tools.formats |
Experimental package related to converting various corpora to OpenNLP Format.
|
opennlp.tools.formats.leipzig | |
opennlp.tools.langdetect |
Modifier and Type | Method and Description |
---|---|
ObjectStream<LanguageSample> |
LanguageDetectorSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
LanguageSample |
LeipzigLanguageSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<LanguageSample> |
LeipzigLanguageSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
LanguageSample |
LanguageDetectorEvaluator.processSample(LanguageSample sample)
Evaluates the given reference
LanguageSample object. |
LanguageSample |
LanguageDetectorSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
LanguageDetectorEventStream.createEvents(LanguageSample sample) |
LanguageSample |
LanguageDetectorEvaluator.processSample(LanguageSample sample)
Evaluates the given reference
LanguageSample object. |
Modifier and Type | Method and Description |
---|---|
void |
LanguageDetectorCrossValidator.evaluate(ObjectStream<LanguageSample> samples,
int nFolds)
Starts the evaluation.
|
static LanguageDetectorModel |
LanguageDetectorME.train(ObjectStream<LanguageSample> samples,
TrainingParameters mlParams,
LanguageDetectorFactory factory) |
Constructor and Description |
---|
LanguageDetectorEventStream(ObjectStream<LanguageSample> data,
LanguageDetectorContextGenerator contextGenerator)
Initializes the current instance via samples and feature generators.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.