Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.doccat |
Package for classifying a document into a category.
|
opennlp.tools.lemmatizer |
Package related with the lemmatizer tool
|
opennlp.tools.ml | |
opennlp.tools.ml.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.tools.ml.model | |
opennlp.tools.namefind |
Package related to finding proper names and numeric amounts.
|
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
opennlp.tools.parser.chunking |
Package containing code for performing full syntactic parsing using shift/reduce-style decisions.
|
opennlp.tools.parser.treeinsert |
Package containing experimental code for performing full syntactic
parsing using attachment decisions.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.sentdetect |
Package related to identifying sentece boundries.
|
opennlp.tools.tokenize |
Contains classes related to finding token or words in a string.
|
opennlp.tools.util |
Package containing utility data structures and algorithms used by multiple other packages.
|
Modifier and Type | Method and Description |
---|---|
Event[] |
ChunkSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
ChunkerEventStream.createEvents(ChunkSample sample) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
DocumentCategorizerEventStream.createEvents(DocumentSample sample) |
Modifier and Type | Method and Description |
---|---|
Event[] |
LemmaSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
LemmaSampleEventStream.createEvents(LemmaSample sample) |
Modifier and Type | Method and Description |
---|---|
DataIndexer |
AbstractEventTrainer.getDataIndexer(ObjectStream<Event> events) |
MaxentModel |
AbstractEventTrainer.train(ObjectStream<Event> events) |
MaxentModel |
EventTrainer.train(ObjectStream<Event> events) |
Modifier and Type | Method and Description |
---|---|
Event |
RealBasicEventStream.read() |
Modifier and Type | Method and Description |
---|---|
GISModel |
GISTrainer.trainModel(ObjectStream<Event> eventStream)
Train a model using the GIS algorithm, assuming 100 iterations and no
cutoff.
|
GISModel |
GISTrainer.trainModel(ObjectStream<Event> eventStream,
int iterations,
int cutoff)
Trains a GIS model on the event in the specified event stream, using the specified number
of iterations and the specified count cutoff.
|
Modifier and Type | Method and Description |
---|---|
Event[] |
Sequence.getEvents()
Returns the events which make up this sequence.
|
Event |
FileEventStream.read() |
Event |
RealValueFileEventStream.read() |
Event |
HashSumEventStream.read() |
Event |
SequenceStreamEventStream.read() |
Event[] |
SequenceStream.updateContext(Sequence sequence,
AbstractModel model)
Creates a new event array based on the outcomes predicted by the specified parameters
for the specified sequence.
|
Modifier and Type | Method and Description |
---|---|
static String |
FileEventStream.toLine(Event event)
Generates a string representing the specified event.
|
Modifier and Type | Method and Description |
---|---|
protected List<ComparableEvent> |
OnePassDataIndexer.index(List<Event> events,
Map<String,Integer> predicateIndex) |
protected List<ComparableEvent> |
OnePassRealValueDataIndexer.index(List<Event> events,
Map<String,Integer> predicateIndex) |
void |
OnePassDataIndexer.index(ObjectStream<Event> eventStream) |
void |
DataIndexer.index(ObjectStream<Event> eventStream)
Performs the data indexing.
|
void |
TwoPassDataIndexer.index(ObjectStream<Event> eventStream) |
Constructor and Description |
---|
Sequence(Event[] events,
T source)
Creates a new sequence made up of the specified events and derived from the
specified source.
|
Constructor and Description |
---|
HashSumEventStream(ObjectStream<Event> eventStream) |
Modifier and Type | Method and Description |
---|---|
Event[] |
NameSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
NameFinderEventStream.createEvents(NameSample sample) |
static List<Event> |
NameFinderEventStream.generateEvents(String[] sentence,
String[] outcomes,
NameContextGenerator cg) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
AbstractParserEventStream.createEvents(Parse sample) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractParserEventStream.addParseEvents(List<Event> newEvents,
Parse[] chunks)
Produces all events for the specified sentence chunks
and adds them to the specified list.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ParserEventStream.addParseEvents(List<Event> parseEvents,
Parse[] chunks)
Adds events for parsing (post tagging and chunking to the specified list of events for
the specified parse chunks.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ParserEventStream.addParseEvents(List<Event> parseEvents,
Parse[] chunks) |
Modifier and Type | Method and Description |
---|---|
Event[] |
POSSampleSequenceStream.updateContext(Sequence sequence,
AbstractModel model) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
POSSampleEventStream.createEvents(POSSample sample) |
static List<Event> |
POSSampleEventStream.generateEvents(String[] sentence,
String[] tags,
Object[] additionalContext,
POSContextGenerator cg) |
static List<Event> |
POSSampleEventStream.generateEvents(String[] sentence,
String[] tags,
POSContextGenerator cg) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
SDEventStream.createEvents(SentenceSample sample) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Event> |
TokSpanEventStream.createEvents(TokenSample tokenSample)
Adds training events to the event stream for each of the specified tokens.
|
Modifier and Type | Method and Description |
---|---|
Event |
EventTraceStream.read() |
Event |
AbstractEventStream.read() |
Modifier and Type | Method and Description |
---|---|
protected abstract Iterator<Event> |
AbstractEventStream.createEvents(T sample)
Creates events for the provided sample.
|
Constructor and Description |
---|
EventTraceStream(ObjectStream<Event> stream,
Writer writer) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.