Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.lemmatizer |
Package related with the lemmatizer tool
|
opennlp.tools.ml | |
opennlp.tools.ml.model | |
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.util |
Package containing utility data structures and algorithms used by multiple other packages.
|
Modifier and Type | Method and Description |
---|---|
Sequence[] |
ChunkerME.topKSequences(String[] sentence,
String[] tags) |
Sequence[] |
Chunker.topKSequences(String[] sentence,
String[] tags)
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
|
Sequence[] |
ChunkerME.topKSequences(String[] sentence,
String[] tags,
double minSequenceScore) |
Sequence[] |
Chunker.topKSequences(String[] sentence,
String[] tags,
double minSequenceScore)
Returns the top k chunk sequences for the specified sentence with the specified pos-tags
|
Modifier and Type | Method and Description |
---|---|
Sequence[] |
LemmatizerME.topKLemmaClasses(String[] sentence,
String[] tags) |
Sequence[] |
LemmatizerME.topKLemmaClasses(String[] sentence,
String[] tags,
double minSequenceScore) |
Sequence[] |
LemmatizerME.topKSequences(String[] sentence,
String[] tags) |
Sequence[] |
LemmatizerME.topKSequences(String[] sentence,
String[] tags,
double minSequenceScore) |
Modifier and Type | Method and Description |
---|---|
Sequence |
BeamSearch.bestSequence(T[] sequence,
Object[] additionalContext,
BeamSearchContextGenerator<T> cg,
SequenceValidator<T> validator) |
Sequence[] |
BeamSearch.bestSequences(int numSequences,
T[] sequence,
Object[] additionalContext,
BeamSearchContextGenerator<T> cg,
SequenceValidator<T> validator) |
Sequence[] |
BeamSearch.bestSequences(int numSequences,
T[] sequence,
Object[] additionalContext,
double minSequenceScore,
BeamSearchContextGenerator<T> cg,
SequenceValidator<T> validator)
Returns the best sequence of outcomes based on model for this object.
|
Modifier and Type | Method and Description |
---|---|
Sequence |
SequenceClassificationModel.bestSequence(T[] sequence,
Object[] additionalContext,
BeamSearchContextGenerator<T> cg,
SequenceValidator<T> validator)
Finds the sequence with the highest probability.
|
Sequence[] |
SequenceClassificationModel.bestSequences(int numSequences,
T[] sequence,
Object[] additionalContext,
BeamSearchContextGenerator<T> cg,
SequenceValidator<T> validator)
Finds the n most probable sequences.
|
Sequence[] |
SequenceClassificationModel.bestSequences(int numSequences,
T[] sequence,
Object[] additionalContext,
double minSequenceScore,
BeamSearchContextGenerator<T> cg,
SequenceValidator<T> validator)
Finds the n most probable sequences.
|
Modifier and Type | Method and Description |
---|---|
Sequence[] |
POSTaggerME.topKSequences(String[] sentence) |
Sequence[] |
POSTagger.topKSequences(String[] sentence) |
Sequence[] |
POSTaggerME.topKSequences(String[] sentence,
Object[] additionaContext) |
Sequence[] |
POSTagger.topKSequences(String[] sentence,
Object[] additionaContext) |
Modifier and Type | Method and Description |
---|---|
int |
Sequence.compareTo(Sequence s) |
Constructor and Description |
---|
Sequence(Sequence s) |
Sequence(Sequence s,
String outcome,
double p) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.