Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.cmdline.chunker | |
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
Modifier and Type | Method and Description |
---|---|
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
ChunkerContextGenerator contextGenerator,
TrainingParameters mlParams)
Deprecated.
|
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
TrainingParameters mlParams,
ChunkerFactory factory) |
Constructor and Description |
---|
ChunkerME(ChunkerModel model)
Initializes the current instance with the specified model.
|
ChunkerME(ChunkerModel model,
int beamSize)
Deprecated.
beam size is now stored inside the model
|
ChunkerME(ChunkerModel model,
int beamSize,
SequenceValidator<String> sequenceValidator)
Deprecated.
Use
ChunkerME.ChunkerME(ChunkerModel, int) instead
and use the ChunkerFactory to configure the SequenceValidator . |
ChunkerME(ChunkerModel model,
int beamSize,
SequenceValidator<String> sequenceValidator,
ChunkerContextGenerator contextGenerator)
Deprecated.
Use
ChunkerME.ChunkerME(ChunkerModel, int) instead
and use the ChunkerFactory to configure the SequenceValidator and ChunkerContextGenerator . |
Modifier and Type | Method and Description |
---|---|
protected ChunkerModel |
ChunkerModelLoader.loadModel(InputStream modelIn) |
Modifier and Type | Method and Description |
---|---|
ChunkerModel |
ParserModel.getParserChunkerModel() |
Modifier and Type | Method and Description |
---|---|
ParserModel |
ParserModel.updateChunkerModel(ChunkerModel chunkModel) |
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) |
Copyright © 2015 The Apache Software Foundation. All rights reserved.