Package | Description |
---|---|
opennlp.tools.formats |
Experimental package related to converting various corpora to OpenNLP Format.
|
opennlp.tools.formats.ad | |
opennlp.tools.formats.conllu | |
opennlp.tools.formats.convert | |
opennlp.tools.formats.ontonotes | |
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
Modifier and Type | Method and Description |
---|---|
POSSample |
ConllXPOSSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
WordTagSampleStreamFactory.create(String[] args) |
ObjectStream<POSSample> |
ConllXPOSSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
POSSample |
ADPOSSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
ADPOSSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
POSSample |
ConlluPOSSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
ConlluPOSSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
POSSample |
ParseToPOSSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
ParseToPOSSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
POSToSentenceSampleStream.toSentence(POSSample sample) |
Constructor and Description |
---|
POSToSentenceSampleStream(Detokenizer detokenizer,
ObjectStream<POSSample> samples,
int chunkSize) |
POSToTokenSampleStream(Detokenizer detokenizer,
ObjectStream<POSSample> samples) |
Modifier and Type | Method and Description |
---|---|
ObjectStream<POSSample> |
OntoNotesPOSSampleStreamFactory.create(String[] args) |
Modifier and Type | Method and Description |
---|---|
POSSample |
PosSampleStream.read() |
Modifier and Type | Method and Description |
---|---|
static POSSample |
POSSample.parse(String sentenceString) |
protected POSSample |
POSEvaluator.processSample(POSSample reference)
Evaluates the given reference
POSSample object. |
POSSample |
WordTagSampleStream.read()
Parses the next sentence and return the next
POSSample object. |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
POSSampleEventStream.createEvents(POSSample sample) |
protected POSSample |
POSEvaluator.processSample(POSSample reference)
Evaluates the given reference
POSSample object. |
Modifier and Type | Method and Description |
---|---|
static Dictionary |
POSTaggerME.buildNGramDictionary(ObjectStream<POSSample> samples,
int cutoff) |
void |
POSTaggerCrossValidator.evaluate(ObjectStream<POSSample> samples,
int nFolds)
Starts the evaluation.
|
static void |
POSTaggerME.populatePOSDictionary(ObjectStream<POSSample> samples,
MutableTagDictionary dict,
int cutoff) |
static POSModel |
POSTaggerME.train(String languageCode,
ObjectStream<POSSample> samples,
TrainingParameters trainParams,
POSTaggerFactory posFactory) |
Constructor and Description |
---|
POSSampleEventStream(ObjectStream<POSSample> samples)
Initializes the current instance with given samples
and a
DefaultPOSContextGenerator . |
POSSampleEventStream(ObjectStream<POSSample> samples,
POSContextGenerator cg)
Initializes the current instance with the given samples and the
given
POSContextGenerator . |
POSSampleSequenceStream(ObjectStream<POSSample> psi) |
POSSampleSequenceStream(ObjectStream<POSSample> psi,
POSContextGenerator pcg) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.