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.maxent.quasinewton | |
opennlp.tools.ml.model | |
opennlp.tools.ml.naivebayes | |
opennlp.tools.ml.perceptron | |
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.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.model |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
ChunkerModel.getChunkerModel()
Deprecated.
use getChunkerSequenceModel instead. This method will be removed soon.
|
Constructor and Description |
---|
ChunkerModel(String languageCode,
MaxentModel chunkerModel,
ChunkerFactory factory) |
ChunkerModel(String languageCode,
MaxentModel chunkerModel,
int beamSize,
Map<String,String> manifestInfoEntries,
ChunkerFactory factory) |
ChunkerModel(String languageCode,
MaxentModel chunkerModel,
Map<String,String> manifestInfoEntries,
ChunkerFactory factory) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
DoccatModel.getMaxentModel() |
Constructor and Description |
---|
DoccatModel(String languageCode,
MaxentModel doccatModel,
Map<String,String> manifestInfoEntries,
DoccatFactory factory) |
Constructor and Description |
---|
LemmatizerModel(String languageCode,
MaxentModel lemmatizerModel,
int beamSize,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
MaxentModel lemmatizerModel,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
MaxentModel lemmatizerModel,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
Modifier and Type | Field and Description |
---|---|
protected MaxentModel |
BeamSearch.model |
Modifier and Type | Method and Description |
---|---|
abstract MaxentModel |
AbstractEventTrainer.doTrain(DataIndexer indexer) |
abstract MaxentModel |
AbstractEventModelSequenceTrainer.doTrain(SequenceStream events) |
MaxentModel |
AbstractEventTrainer.train(DataIndexer indexer) |
MaxentModel |
EventTrainer.train(DataIndexer indexer) |
MaxentModel |
AbstractEventTrainer.train(ObjectStream<Event> events) |
MaxentModel |
EventTrainer.train(ObjectStream<Event> events) |
MaxentModel |
EventModelSequenceTrainer.train(SequenceStream events) |
MaxentModel |
AbstractEventModelSequenceTrainer.train(SequenceStream events) |
Constructor and Description |
---|
BeamSearch(int size,
MaxentModel model)
Creates new search object.
|
BeamSearch(int size,
MaxentModel model,
int cacheSize) |
Modifier and Type | Class and Description |
---|---|
class |
GISModel
A maximum entropy model which has been trained using the Generalized
Iterative Scaling procedure (implemented in GIS.java).
|
Modifier and Type | Method and Description |
---|---|
MaxentModel |
GISTrainer.doTrain(DataIndexer indexer) |
Modifier and Type | Class and Description |
---|---|
class |
QNModel |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModel |
Modifier and Type | Class and Description |
---|---|
class |
NaiveBayesModel
Class implementing the multinomial Naive Bayes classifier model.
|
Modifier and Type | Class and Description |
---|---|
class |
PerceptronModel |
Constructor and Description |
---|
TokenNameFinderModel(String languageCode,
MaxentModel nameFinderModel,
byte[] generatorDescriptor,
Map<String,Object> resources,
Map<String,String> manifestInfoEntries) |
TokenNameFinderModel(String languageCode,
MaxentModel nameFinderModel,
int beamSize,
byte[] generatorDescriptor,
Map<String,Object> resources,
Map<String,String> manifestInfoEntries,
SequenceCodec<String> seqCodec,
TokenNameFinderFactory factory) |
TokenNameFinderModel(String languageCode,
MaxentModel nameFinderModel,
Map<String,Object> resources,
Map<String,String> manifestInfoEntries) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
ParserModel.getAttachModel() |
MaxentModel |
ParserModel.getBuildModel() |
MaxentModel |
ParserModel.getCheckModel() |
Modifier and Type | Method and Description |
---|---|
ParserModel |
ParserModel.updateBuildModel(MaxentModel buildModel) |
ParserModel |
ParserModel.updateCheckModel(MaxentModel checkModel) |
Constructor and Description |
---|
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType,
Map<String,String> manifestInfoEntries) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType type,
Map<String,String> manifestInfoEntries) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
POSModel.getPosModel()
Deprecated.
use getPosSequenceModel instead. This method will be removed soon.
Only required for Parser 1.5.x backward compatibility. Newer models don't need this anymore.
|
Constructor and Description |
---|
POSModel(String languageCode,
MaxentModel posModel,
int beamSize,
Map<String,String> manifestInfoEntries,
POSTaggerFactory posFactory) |
POSModel(String languageCode,
MaxentModel posModel,
Map<String,String> manifestInfoEntries,
POSTaggerFactory posFactory) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
SentenceModel.getMaxentModel() |
Constructor and Description |
---|
SentenceModel(String languageCode,
MaxentModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations) |
SentenceModel(String languageCode,
MaxentModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations,
char[] eosCharacters)
Deprecated.
Use
SentenceModel.SentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)
instead and pass in a SentenceDetectorFactory |
SentenceModel(String languageCode,
MaxentModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations,
char[] eosCharacters,
Map<String,String> manifestInfoEntries)
Deprecated.
Use
SentenceModel.SentenceModel(String, MaxentModel, Map, SentenceDetectorFactory)
instead and pass in a SentenceDetectorFactory |
SentenceModel(String languageCode,
MaxentModel sentModel,
boolean useTokenEnd,
Dictionary abbreviations,
Map<String,String> manifestInfoEntries) |
SentenceModel(String languageCode,
MaxentModel sentModel,
Map<String,String> manifestInfoEntries,
SentenceDetectorFactory sdFactory) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
TokenizerModel.getMaxentModel() |
Constructor and Description |
---|
TokenizerModel(MaxentModel tokenizerModel,
Map<String,String> manifestInfoEntries,
TokenizerFactory tokenizerFactory)
Initializes the current instance.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ModelUtil.validateOutcomes(MaxentModel model,
String... expectedOutcomes)
Checks if the expected outcomes are all contained as outcomes in the given model.
|
static void |
ModelUtil.writeModel(MaxentModel model,
OutputStream out)
Writes the given model to the given
OutputStream . |
Copyright © 2017 The Apache Software Foundation. All rights reserved.