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.
|
Modifier and Type | Method and Description |
---|---|
protected ParserModel |
ParserModelLoader.loadModel(InputStream modelIn) |
protected ParserModel |
CheckModelUpdaterTool.trainAndUpdate(ParserModel originalModel,
ObjectStream<Parse> parseSamples,
opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) |
protected ParserModel |
BuildModelUpdaterTool.trainAndUpdate(ParserModel originalModel,
ObjectStream<Parse> parseSamples,
opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) |
Modifier and Type | Method and Description |
---|---|
protected ParserModel |
CheckModelUpdaterTool.trainAndUpdate(ParserModel originalModel,
ObjectStream<Parse> parseSamples,
opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) |
protected ParserModel |
BuildModelUpdaterTool.trainAndUpdate(ParserModel originalModel,
ObjectStream<Parse> parseSamples,
opennlp.tools.cmdline.parser.ModelUpdaterTool.ModelUpdaterParams parameters) |
Modifier and Type | Method and Description |
---|---|
ParserModel |
ParserModel.updateBuildModel(MaxentModel buildModel) |
ParserModel |
ParserModel.updateCheckModel(MaxentModel checkModel) |
ParserModel |
ParserModel.updateChunkerModel(ChunkerModel chunkModel) |
ParserModel |
ParserModel.updateTaggerModel(POSModel taggerModel) |
Modifier and Type | Method and Description |
---|---|
static Parser |
ParserFactory.create(ParserModel model) |
static Parser |
ParserFactory.create(ParserModel model,
int beamSize,
double advancePercentage) |
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
int iterations,
int cut)
Deprecated.
use
Parser.train(String, ObjectStream, HeadRules, TrainingParameters)
instead and pass in a TrainingParameters object. |
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Constructor and Description |
---|
Parser(ParserModel model) |
Parser(ParserModel model,
int beamSize,
double advancePercentage) |
Modifier and Type | Method and Description |
---|---|
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
int iterations,
int cut) |
static ParserModel |
Parser.train(String languageCode,
ObjectStream<Parse> parseSamples,
HeadRules rules,
TrainingParameters mlParams) |
Constructor and Description |
---|
Parser(ParserModel model) |
Parser(ParserModel model,
int beamSize,
double advancePercentage) |
Copyright © 2015 The Apache Software Foundation. All rights reserved.