Package | Description |
---|---|
opennlp.maxent |
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
|
opennlp.model | |
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.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 | Class and Description |
---|---|
class |
BasicEventStream
A object which can deliver a stream of training events assuming
that each event is represented as a separated list containing
all the contextual predicates, with the last item being the
outcome.
|
class |
RealBasicEventStream |
Modifier and Type | Method and Description |
---|---|
static MaxentModel |
TrainEval.train(EventStream events,
int cutoff) |
static GISModel |
GIS.trainModel(EventStream eventStream)
Train a model using the GIS algorithm, assuming 100 iterations and no
cutoff.
|
static GISModel |
GIS.trainModel(EventStream eventStream,
boolean smoothing)
Train a model using the GIS algorithm, assuming 100 iterations and no
cutoff.
|
static GISModel |
GIS.trainModel(EventStream eventStream,
int iterations,
int cutoff)
Train a model using the GIS algorithm.
|
static GISModel |
GIS.trainModel(EventStream eventStream,
int iterations,
int cutoff,
boolean smoothing,
boolean printMessagesWhileTraining)
Train a model using the GIS algorithm.
|
static GISModel |
GIS.trainModel(EventStream eventStream,
int iterations,
int cutoff,
double sigma)
Train a model using the GIS algorithm.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventStream |
class |
EventCollectorAsStream
A wrapper to turn EventCollectors created for Maxent 1.0 into EventStreams
for Maxent 1.2.
|
class |
FileEventStream
Class for using a file of events as an event stream.
|
class |
HashSumEventStream |
class |
ListEventStream |
class |
RealValueFileEventStream |
class |
SequenceStreamEventStream
Class which turns a sequence stream into an event stream.
|
Modifier and Type | Method and Description |
---|---|
static AbstractModel |
TrainUtil.train(EventStream events,
Map<String,String> trainParams,
Map<String,String> reportMap) |
Constructor and Description |
---|
HashSumEventStream(EventStream eventStream) |
OnePassDataIndexer(EventStream eventStream)
One argument constructor for DataIndexer which calls the two argument
constructor assuming no cutoff.
|
OnePassDataIndexer(EventStream eventStream,
int cutoff) |
OnePassDataIndexer(EventStream eventStream,
int cutoff,
boolean sort)
Two argument constructor for DataIndexer.
|
OnePassRealValueDataIndexer(EventStream eventStream,
int cutoff)
Two argument constructor for DataIndexer.
|
OnePassRealValueDataIndexer(EventStream eventStream,
int cutoff,
boolean sort) |
TwoPassDataIndexer(EventStream eventStream)
One argument constructor for DataIndexer which calls the two argument
constructor assuming no cutoff.
|
TwoPassDataIndexer(EventStream eventStream,
int cutoff) |
TwoPassDataIndexer(EventStream eventStream,
int cutoff,
boolean sort)
Two argument constructor for DataIndexer.
|
Modifier and Type | Class and Description |
---|---|
class |
ChunkerEventStream
Class for creating an event stream out of data files for training a chunker.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentCategorizerEventStream
Iterator-like class for modeling document classification events.
|
Modifier and Type | Class and Description |
---|---|
class |
NameFinderEventStream
Class for creating an event stream out of data files for training an name
finder.
|
Modifier and Type | Method and Description |
---|---|
static GISModel |
NameFinderME.train(EventStream es,
int iterations,
int cut)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractParserEventStream
Abstract class extended by parser event streams which perform tagging and chunking.
|
Modifier and Type | Class and Description |
---|---|
class |
ParserEventStream
Wrapper class for one of four parser event streams.
|
Modifier and Type | Method and Description |
---|---|
static AbstractModel |
Parser.train(EventStream es,
int iterations,
int cut)
Deprecated.
Please do not use anymore, use the ObjectStream train methods instead! This method
will be removed soon.
|
Modifier and Type | Method and Description |
---|---|
static AbstractModel |
Parser.train(EventStream es,
int iterations,
int cut)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
POSSampleEventStream
|
Modifier and Type | Method and Description |
---|---|
static void |
POSTaggerTrainer.trainMaxentModel(EventStream evc,
File modelFile)
Deprecated.
|
static AbstractModel |
POSTaggerTrainer.trainMaxentModel(EventStream es,
int iterations,
int cut)
Deprecated.
|
static AbstractModel |
POSTaggerTrainer.trainPerceptronModel(EventStream es,
int iterations,
int cut)
Deprecated.
|
static AbstractModel |
POSTaggerTrainer.trainPerceptronModel(EventStream es,
int iterations,
int cut,
boolean useAverage)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
SDEventStream |
Modifier and Type | Class and Description |
---|---|
class |
TokSpanEventStream
This class reads the
TokenSample s from the given Iterator
and converts the TokenSample s into Event s which
can be used by the maxent library for training. |
Modifier and Type | Class and Description |
---|---|
class |
CollectionEventStream
Creates an event stream out of a collection of events.
|
class |
EventTraceStream |
Constructor and Description |
---|
EventTraceStream(EventStream stream,
Writer writer) |
HashSumEventStream(EventStream eventStream)
Deprecated.
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.