Uses of Interface
opennlp.tools.ml.model.MaxentModel
Packages that use MaxentModel
Package
Description
Provides main functionality of the maxent package including data structures and
algorithms for parameter estimation.
-
Uses of MaxentModel in opennlp.tools.chunker
Methods in opennlp.tools.chunker with parameters of type MaxentModelModifier and TypeMethodDescriptionEvent[]ChunkSampleSequenceStream.updateContext(Sequence<ChunkSample> sequence, MaxentModel model) Constructors in opennlp.tools.chunker with parameters of type MaxentModelModifierConstructorDescriptionChunkerModel(String languageCode, MaxentModel chunkerModel, int beamSize, Map<String, String> manifestInfoEntries, ChunkerFactory factory) Initializes aChunkerModelinstance via given parameters.ChunkerModel(String languageCode, MaxentModel chunkerModel, Map<String, String> manifestInfoEntries, ChunkerFactory factory) Initializes aChunkerModelinstance via given parameters.ChunkerModel(String languageCode, MaxentModel chunkerModel, ChunkerFactory factory) Initializes aChunkerModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.depparse
Fields in opennlp.tools.depparse declared as MaxentModelMethods in opennlp.tools.depparse that return MaxentModelMethods in opennlp.tools.depparse with parameters of type MaxentModelModifier and TypeMethodDescriptionprivate Transition[]DependencyParserME.decodeOutcomes(MaxentModel model) Decodes the outcome inventory once, so that decoding a sentence indexes it instead of parsing an outcome string per configuration and outcome.Constructors in opennlp.tools.depparse with parameters of type MaxentModelModifierConstructorDescriptionDependencyModel(String languageCode, MaxentModel parserModel, Map<String, String> manifestInfoEntries) Initializes aDependencyModelfrom a trained transition model. -
Uses of MaxentModel in opennlp.tools.doccat
Methods in opennlp.tools.doccat that return MaxentModelConstructors in opennlp.tools.doccat with parameters of type MaxentModelModifierConstructorDescriptionDoccatModel(String languageCode, MaxentModel doccatModel, Map<String, String> manifestInfoEntries, DoccatFactory factory) Initializes aDoccatModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that return MaxentModelConstructors in opennlp.tools.langdetect with parameters of type MaxentModelModifierConstructorDescriptionLanguageDetectorModel(MaxentModel langdetectModel, Map<String, String> manifestInfoEntries, LanguageDetectorFactory factory) Initializes aLanguageDetectorModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.lemmatizer
Methods in opennlp.tools.lemmatizer with parameters of type MaxentModelModifier and TypeMethodDescriptionEvent[]LemmaSampleSequenceStream.updateContext(Sequence<LemmaSample> sequence, MaxentModel model) Constructors in opennlp.tools.lemmatizer with parameters of type MaxentModelModifierConstructorDescriptionLemmatizerModel(String languageCode, MaxentModel lemmatizerModel, int beamSize, Map<String, String> manifestInfoEntries, LemmatizerFactory factory) Initializes aLemmatizerModelinstance via given parameters.LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, Map<String, String> manifestInfoEntries, LemmatizerFactory factory) Initializes aLemmatizerModelinstance via given parameters.LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, LemmatizerFactory factory) Initializes aLemmatizerModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.ml
Fields in opennlp.tools.ml declared as MaxentModelMethods in opennlp.tools.ml that return MaxentModelModifier and TypeMethodDescriptionabstract MaxentModelAbstractEventModelSequenceTrainer.doTrain(SequenceStream<Event> events) abstract MaxentModelAbstractEventTrainer.doTrain(DataIndexer<P> indexer) final MaxentModelAbstractEventModelSequenceTrainer.train(SequenceStream<Event> events) final MaxentModelAbstractEventTrainer.train(DataIndexer<P> indexer) final MaxentModelAbstractEventTrainer.train(ObjectStream<Event> events) EventModelSequenceTrainer.train(SequenceStream<T> events) Trains aMaxentModelfor givenevents.EventTrainer.train(DataIndexer<P> indexer) Trains aMaxentModelfor givenevents.EventTrainer.train(ObjectStream<Event> events) Trains aMaxentModelfor givenevents.Constructors in opennlp.tools.ml with parameters of type MaxentModelModifierConstructorDescriptionBeamSearch(int size, MaxentModel model) Initializes aBeamSearchinstance.BeamSearch(int size, MaxentModel model, int cacheSize) Initializes aBeamSearchinstance with an optional per-thread contexts cache. -
Uses of MaxentModel in opennlp.tools.ml.maxent
Classes in opennlp.tools.ml.maxent that implement MaxentModelModifier and TypeClassDescriptionfinal classA maximum entropy model which has been trained using the Generalized Iterative Scaling (GIS) procedure.Methods in opennlp.tools.ml.maxent that return MaxentModel -
Uses of MaxentModel in opennlp.tools.ml.maxent.quasinewton
Classes in opennlp.tools.ml.maxent.quasinewton that implement MaxentModelModifier and TypeClassDescriptionclassAmaximum entropy modelwhich has been trained via the L-BFGS algorithm , which belongs to the group of Quasi Newton (QN) algorithms. -
Uses of MaxentModel in opennlp.tools.ml.model
Classes in opennlp.tools.ml.model that implement MaxentModelMethods in opennlp.tools.ml.model with parameters of type MaxentModelModifier and TypeMethodDescriptionEvent[]SequenceStream.updateContext(Sequence<S> sequence, MaxentModel model) Creates a new event array based on the outcomes predicted by the specified parameters for the specifiedSequence. -
Uses of MaxentModel in opennlp.tools.ml.naivebayes
Classes in opennlp.tools.ml.naivebayes that implement MaxentModelModifier and TypeClassDescriptionclassAMaxentModelimplementation of the multinomial Naive Bayes classifier model. -
Uses of MaxentModel in opennlp.tools.ml.perceptron
Classes in opennlp.tools.ml.perceptron that implement MaxentModelModifier and TypeClassDescriptionclassAmodelimplementation based one the perceptron algorithm. -
Uses of MaxentModel in opennlp.tools.namefind
Methods in opennlp.tools.namefind with parameters of type MaxentModelModifier and TypeMethodDescriptionprivate booleanTokenNameFinderModel.isModelValid(MaxentModel model) Event[]NameSampleSequenceStream.updateContext(Sequence<NameSample> sequence, MaxentModel model) Constructors in opennlp.tools.namefind with parameters of type MaxentModelModifierConstructorDescriptionTokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, byte[] generatorDescriptor, Map<String, Object> resources, Map<String, String> manifestInfoEntries) Initializes aTokenNameFinderModelinstance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String, Object> resources, Map<String, String> manifestInfoEntries) Initializes aTokenNameFinderModelinstance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, int beamSize, byte[] generatorDescriptor, Map<String, Object> resources, Map<String, String> manifestInfoEntries, SequenceCodec<String> seqCodec, TokenNameFinderFactory factory) Initializes aTokenNameFinderModelinstance via given parameters.TokenNameFinderModel(String languageCode, MaxentModel nameFinderModel, Map<String, Object> resources, Map<String, String> manifestInfoEntries) Initializes aTokenNameFinderModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.parser
Methods in opennlp.tools.parser that return MaxentModelModifier and TypeMethodDescriptionParserModel.getAttachModel()ParserModel.getBuildModel()ParserModel.getCheckModel()Methods in opennlp.tools.parser with parameters of type MaxentModelModifier and TypeMethodDescriptionParserModel.updateBuildModel(MaxentModel buildModel) Instantiates a newParserModelinstance from the existing configuration with the specifiedbuildModelfor exchange.ParserModel.updateCheckModel(MaxentModel checkModel) Instantiates a newParserModelinstance from the existing configuration with the specifiedcheckModelfor exchange.Constructors in opennlp.tools.parser with parameters of type MaxentModelModifierConstructorDescriptionParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType) Initializes aParserModelinstance via given parameters.ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType, Map<String, String> manifestInfoEntries) Initializes aParserModelinstance via given parameters.ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType type, Map<String, String> manifestInfoEntries) Initializes aParserModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.parser.chunking
Fields in opennlp.tools.parser.chunking declared as MaxentModelModifier and TypeFieldDescriptionprivate final MaxentModelParser.buildModelprivate final MaxentModelParser.checkModelConstructors in opennlp.tools.parser.chunking with parameters of type MaxentModelModifierConstructorDescriptionprivateParser(MaxentModel buildModel, MaxentModel checkModel, POSTagger tagger, Chunker chunker, HeadRules headRules, int beamSize, double advancePercentage) Instantiates aParservia a givenmodeland other configuration parameters. -
Uses of MaxentModel in opennlp.tools.parser.treeinsert
Fields in opennlp.tools.parser.treeinsert declared as MaxentModelModifier and TypeFieldDescriptionprivate final MaxentModelParser.attachModelprivate final MaxentModelParser.buildModelprivate final MaxentModelParser.checkModelConstructors in opennlp.tools.parser.treeinsert with parameters of type MaxentModelModifierConstructorDescriptionprivateParser(MaxentModel buildModel, MaxentModel attachModel, MaxentModel checkModel, POSTagger tagger, Chunker chunker, HeadRules headRules, int beamSize, double advancePercentage) Instantiates aParservia a givenmodeland other configuration parameters. -
Uses of MaxentModel in opennlp.tools.postag
Methods in opennlp.tools.postag with parameters of type MaxentModelModifier and TypeMethodDescriptionEvent[]POSSampleSequenceStream.updateContext(Sequence<POSSample> pss, MaxentModel model) Constructors in opennlp.tools.postag with parameters of type MaxentModelModifierConstructorDescriptionPOSModel(String languageCode, MaxentModel posModel, int beamSize, Map<String, String> manifestInfoEntries, POSTaggerFactory posFactory) Initializes aPOSModelinstance via given parameters.POSModel(String languageCode, MaxentModel posModel, Map<String, String> manifestInfoEntries, POSTaggerFactory posFactory) Initializes aPOSModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.sentdetect
Fields in opennlp.tools.sentdetect declared as MaxentModelModifier and TypeFieldDescriptionprivate final MaxentModelSentenceDetectorME.modelThe maximum entropy model to use to evaluate contexts.Methods in opennlp.tools.sentdetect that return MaxentModelConstructors in opennlp.tools.sentdetect with parameters of type MaxentModelModifierConstructorDescriptionSentenceModel(String languageCode, MaxentModel sentModel, Map<String, String> manifestInfoEntries, SentenceDetectorFactory sdFactory) Initializes aSentenceModelinstance via given parameters. -
Uses of MaxentModel in opennlp.tools.sentiment
Fields in opennlp.tools.sentiment declared as MaxentModelMethods in opennlp.tools.sentiment that return MaxentModelConstructors in opennlp.tools.sentiment with parameters of type MaxentModelModifierConstructorDescriptionSentimentModel(String languageCode, MaxentModel sentimentModel, Map<String, String> manifestInfoEntries, SentimentFactory factory) Instantiates aSentimentModelmodel. -
Uses of MaxentModel in opennlp.tools.tokenize
Fields in opennlp.tools.tokenize declared as MaxentModelMethods in opennlp.tools.tokenize that return MaxentModelMethods in opennlp.tools.tokenize with parameters of type MaxentModelModifier and TypeMethodDescriptionprivate static booleanTokenizerModel.isModelCompatible(MaxentModel model) Checks if theTokenizerModelhas the right outcomes.Constructors in opennlp.tools.tokenize with parameters of type MaxentModelModifierConstructorDescriptionTokenizerModel(MaxentModel tokenizerModel, Map<String, String> manifestInfoEntries, TokenizerFactory tokenizerFactory) Initializes aTokenizerModelinstance via aMaxentModeland related resources. -
Uses of MaxentModel in opennlp.tools.util.model
Methods in opennlp.tools.util.model with parameters of type MaxentModelModifier and TypeMethodDescriptionstatic booleanModelUtil.validateOutcomes(MaxentModel model, String... expectedOutcomes) Checks if theexpectedOutcomesare all contained as outcomes in the givenmodel.static voidModelUtil.writeModel(MaxentModel model, OutputStream out) Writes the givenMaxentModelto the specifiedOutputStream.