Uses of Class
opennlp.tools.ml.model.AbstractModel
-
Packages that use AbstractModel Package Description opennlp.tools.chunker Package related to finding non-recursive syntactic annotation such as noun phrase chunks.opennlp.tools.lemmatizer Package related to the lemmatizer functionality.opennlp.tools.ml.maxent Package related to ML by means of the Maximum Entropy (ME) algorithm.opennlp.tools.ml.maxent.io Package related to the I/O functionality of the maxent package including reading and writing models in several formats.opennlp.tools.ml.maxent.quasinewton Package related to ML by means of the Quasi Newton (QN) algorithm.opennlp.tools.ml.model Package related to ML models and feature selection techniques.opennlp.tools.ml.naivebayes Package related to ML by means of the Naive Bayes algorithm.opennlp.tools.ml.perceptron Package related to ML by means of the perceptron algorithm.opennlp.tools.namefind Package related to finding proper names and numeric amounts.opennlp.tools.postag Package related to part-of-speech tagging.opennlp.tools.util.model -
-
Uses of AbstractModel in opennlp.tools.chunker
Methods in opennlp.tools.chunker with parameters of type AbstractModel Modifier and Type Method Description Event[]
ChunkSampleSequenceStream. updateContext(Sequence<ChunkSample> sequence, AbstractModel model)
-
Uses of AbstractModel in opennlp.tools.lemmatizer
Methods in opennlp.tools.lemmatizer with parameters of type AbstractModel Modifier and Type Method Description Event[]
LemmaSampleSequenceStream. updateContext(Sequence<LemmaSample> sequence, AbstractModel model)
-
Uses of AbstractModel in opennlp.tools.ml.maxent
Subclasses of AbstractModel in opennlp.tools.ml.maxent Modifier and Type Class Description class
GISModel
A maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure. -
Uses of AbstractModel in opennlp.tools.ml.maxent.io
Methods in opennlp.tools.ml.maxent.io that return AbstractModel Modifier and Type Method Description AbstractModel
GISModelReader. constructModel()
Retrieves a model from disk.Constructors in opennlp.tools.ml.maxent.io with parameters of type AbstractModel Constructor Description BinaryGISModelWriter(AbstractModel model, DataOutputStream dos)
BinaryGISModelWriter(AbstractModel model, File f)
BinaryQNModelWriter(AbstractModel model, DataOutputStream dos)
BinaryQNModelWriter(AbstractModel model, File f)
GISModelWriter(AbstractModel model)
Initializes aGISModelWriter
for aGIS model
.QNModelWriter(AbstractModel model)
-
Uses of AbstractModel in opennlp.tools.ml.maxent.quasinewton
Subclasses of AbstractModel in opennlp.tools.ml.maxent.quasinewton Modifier and Type Class Description class
QNModel
A maximum entropy model which has been trained using the Quasi Newton (QN) algorithm.Methods in opennlp.tools.ml.maxent.quasinewton that return AbstractModel Modifier and Type Method Description AbstractModel
QNTrainer. doTrain(DataIndexer indexer)
-
Uses of AbstractModel in opennlp.tools.ml.model
Methods in opennlp.tools.ml.model that return AbstractModel Modifier and Type Method Description abstract AbstractModel
AbstractModelReader. constructModel()
Constructs amodel
.AbstractModel
GenericModelReader. constructModel()
AbstractModel
AbstractModelReader. getModel()
Methods in opennlp.tools.ml.model with parameters of type AbstractModel Modifier and Type Method Description Event[]
SequenceStream. updateContext(Sequence<S> sequence, AbstractModel model)
Creates a new event array based on the outcomes predicted by the specified parameters for the specifiedSequence
.Constructors in opennlp.tools.ml.model with parameters of type AbstractModel Constructor Description GenericModelWriter(AbstractModel model, DataOutputStream dos)
Initializes aGenericModelWriter
for anAbstractModel
with an associatedDataOutputStream
the model shall be written to.GenericModelWriter(AbstractModel model, File file)
Initializes aGenericModelWriter
for anAbstractModel
with an associatedFile
the model shall be written to. -
Uses of AbstractModel in opennlp.tools.ml.naivebayes
Subclasses of AbstractModel in opennlp.tools.ml.naivebayes Modifier and Type Class Description class
NaiveBayesModel
AMaxentModel
implementation of the multinomial Naive Bayes classifier model.Methods in opennlp.tools.ml.naivebayes that return AbstractModel Modifier and Type Method Description AbstractModel
NaiveBayesModelReader. constructModel()
Constructs amodel
.AbstractModel
NaiveBayesTrainer. doTrain(DataIndexer indexer)
AbstractModel
NaiveBayesTrainer. trainModel(DataIndexer di)
Trains aNaiveBayesModel
with given parameters.Constructors in opennlp.tools.ml.naivebayes with parameters of type AbstractModel Constructor Description BinaryNaiveBayesModelWriter(AbstractModel model, DataOutputStream dos)
BinaryNaiveBayesModelWriter(AbstractModel model, File f)
NaiveBayesModelWriter(AbstractModel model)
PlainTextNaiveBayesModelWriter(AbstractModel model, BufferedWriter bw)
PlainTextNaiveBayesModelWriter(AbstractModel model, File f)
-
Uses of AbstractModel in opennlp.tools.ml.perceptron
Subclasses of AbstractModel in opennlp.tools.ml.perceptron Modifier and Type Class Description class
PerceptronModel
Amodel
implementation based one the perceptron algorithm.Methods in opennlp.tools.ml.perceptron that return AbstractModel Modifier and Type Method Description AbstractModel
PerceptronModelReader. constructModel()
Constructs amodel
.AbstractModel
PerceptronTrainer. doTrain(DataIndexer indexer)
AbstractModel
SimplePerceptronSequenceTrainer. doTrain(SequenceStream<Event> events)
AbstractModel
PerceptronTrainer. trainModel(int iterations, DataIndexer di, int cutoff)
Trains aPerceptronModel
with given parameters.AbstractModel
PerceptronTrainer. trainModel(int iterations, DataIndexer di, int cutoff, boolean useAverage)
Trains aPerceptronModel
with given parameters.AbstractModel
SimplePerceptronSequenceTrainer. trainModel(int iterations, SequenceStream<Event> sequenceStream, int cutoff, boolean useAverage)
Trains aPerceptronModel
with given parameters.Constructors in opennlp.tools.ml.perceptron with parameters of type AbstractModel Constructor Description BinaryPerceptronModelWriter(AbstractModel model, DataOutputStream dos)
BinaryPerceptronModelWriter(AbstractModel model, File f)
PerceptronModelWriter(AbstractModel model)
Initializes aPerceptronModelWriter
for aperceptron model
. -
Uses of AbstractModel in opennlp.tools.namefind
Methods in opennlp.tools.namefind with parameters of type AbstractModel Modifier and Type Method Description Event[]
NameSampleSequenceStream. updateContext(Sequence<NameSample> sequence, AbstractModel model)
-
Uses of AbstractModel in opennlp.tools.postag
Methods in opennlp.tools.postag with parameters of type AbstractModel Modifier and Type Method Description Event[]
POSSampleSequenceStream. updateContext(Sequence<POSSample> pss, AbstractModel model)
protected void
POSTaggerFactory. validatePOSDictionary(POSDictionary posDict, AbstractModel posModel)
-
Uses of AbstractModel in opennlp.tools.util.model
Methods in opennlp.tools.util.model that return AbstractModel Modifier and Type Method Description AbstractModel
GenericModelSerializer. create(InputStream in)
Methods in opennlp.tools.util.model with parameters of type AbstractModel Modifier and Type Method Description void
GenericModelSerializer. serialize(AbstractModel artifact, OutputStream out)
-