Uses of Class
opennlp.tools.parser.ParserModel
-
Packages that use ParserModel Package Description opennlp.tools.cmdline.parser 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. -
-
Uses of ParserModel in opennlp.tools.cmdline.parser
Methods in opennlp.tools.cmdline.parser that return ParserModel Modifier and Type Method Description protected ParserModel
ParserModelLoader. loadModel(InputStream modelIn)
protected ParserModel
BuildModelUpdaterTool. trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)
protected ParserModel
CheckModelUpdaterTool. trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)
Methods in opennlp.tools.cmdline.parser with parameters of type ParserModel Modifier and Type Method Description protected ParserModel
BuildModelUpdaterTool. trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)
protected ParserModel
CheckModelUpdaterTool. trainAndUpdate(ParserModel originalModel, ObjectStream<Parse> parseSamples, opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters)
-
Uses of ParserModel in opennlp.tools.parser
Methods in opennlp.tools.parser that return ParserModel Modifier and Type Method Description ParserModel
ParserModel. updateBuildModel(MaxentModel buildModel)
Instantiates a newParserModel
instance from the existing configuration with the specifiedbuildModel
for exchange.ParserModel
ParserModel. updateCheckModel(MaxentModel checkModel)
Instantiates a newParserModel
instance from the existing configuration with the specifiedcheckModel
for exchange.ParserModel
ParserModel. updateChunkerModel(ChunkerModel chunkModel)
Instantiates a newParserModel
instance from the existing configuration with the specifiedchunkModel
for exchange.ParserModel
ParserModel. updateTaggerModel(POSModel taggerModel)
Instantiates a newParserModel
instance from the existing configuration with the specifiedtaggerModel
for exchange.Methods in opennlp.tools.parser with parameters of type ParserModel Modifier and Type Method Description static Parser
ParserFactory. create(ParserModel model)
Instantiates aParser
via a givenmodel
and default configuration parameters (see:AbstractBottomUpParser
).static Parser
ParserFactory. create(ParserModel model, int beamSize, double advancePercentage)
Instantiates aParser
via a givenmodel
and other configuration parameters. -
Uses of ParserModel in opennlp.tools.parser.chunking
Methods in opennlp.tools.parser.chunking that return ParserModel Modifier and Type Method Description static ParserModel
Parser. train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams)
Starts a training of aParserModel
.Constructors in opennlp.tools.parser.chunking with parameters of type ParserModel Constructor Description Parser(ParserModel model)
Instantiates aParser
via a givenmodel
.Parser(ParserModel model, int beamSize, double advancePercentage)
Instantiates aParser
via a givenmodel
and other configuration parameters. -
Uses of ParserModel in opennlp.tools.parser.treeinsert
Methods in opennlp.tools.parser.treeinsert that return ParserModel Modifier and Type Method Description static ParserModel
Parser. train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, int iterations, int cutoff)
Starts a training of aParserModel
.static ParserModel
Parser. train(String languageCode, ObjectStream<Parse> parseSamples, HeadRules rules, TrainingParameters mlParams)
Starts a training of aParserModel
.Constructors in opennlp.tools.parser.treeinsert with parameters of type ParserModel Constructor Description Parser(ParserModel model)
Instantiates aParser
via a givenmodel
.Parser(ParserModel model, int beamSize, double advancePercentage)
Instantiates aParser
via a givenmodel
and other configuration parameters.
-