Package | Description |
---|---|
opennlp.tools.cmdline.sentdetect | |
opennlp.tools.formats |
Experimental package related to converting various corpora to OpenNLP Format.
|
opennlp.tools.formats.ad | |
opennlp.tools.formats.convert | |
opennlp.tools.sentdetect |
Package related to identifying sentece boundries.
|
Modifier and Type | Method and Description |
---|---|
void |
SentenceEvaluationErrorListener.missclassified(SentenceSample reference,
SentenceSample prediction) |
Modifier and Type | Method and Description |
---|---|
ObjectStream<SentenceSample> |
SentenceSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
ConllXSentenceSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
SentenceSample |
ADSentenceSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<SentenceSample> |
ADSentenceSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
SentenceSample |
AbstractToSentenceSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<SentenceSample> |
POSToSentenceSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
ParseToSentenceSampleStreamFactory.create(String[] args) |
ObjectStream<SentenceSample> |
NameToSentenceSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected SentenceSample |
SentenceDetectorEvaluator.processSample(SentenceSample sample) |
SentenceSample |
SentenceSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
SDEventStream.createEvents(SentenceSample sample) |
protected SentenceSample |
SentenceDetectorEvaluator.processSample(SentenceSample sample) |
Modifier and Type | Method and Description |
---|---|
void |
SDCrossValidator.evaluate(ObjectStream<SentenceSample> samples,
int nFolds)
Starts the evaluation.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
boolean useTokenEnd,
Dictionary abbreviations)
Deprecated.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
boolean useTokenEnd,
Dictionary abbreviations,
TrainingParameters mlParams)
Deprecated.
|
static SentenceModel |
SentenceDetectorME.train(String languageCode,
ObjectStream<SentenceSample> samples,
SentenceDetectorFactory sdFactory,
TrainingParameters mlParams) |
Constructor and Description |
---|
SDEventStream(ObjectStream<SentenceSample> samples,
SDContextGenerator cg,
EndOfSentenceScanner scanner)
Initializes the current instance.
|
Copyright © 2015 The Apache Software Foundation. All rights reserved.