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.
|
opennlp.uima.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
Modifier and Type | Method and Description |
---|---|
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
ChunkerContextGenerator contextGenerator,
TrainingParameters mlParams)
Deprecated.
Use
#train(String, ObjectStream, ChunkerContextGenerator, TrainingParameters, ChunkerFactory)
instead. |
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
int cutoff,
int iterations)
Deprecated.
use
ChunkerME.train(String, ObjectStream, ChunkerContextGenerator, TrainingParameters)
instead and pass in a TrainingParameters object. |
static ChunkerModel |
ChunkerME.train(String lang,
ObjectStream<ChunkSample> in,
int cutoff,
int iterations,
ChunkerContextGenerator contextGenerator)
Deprecated.
use
ChunkerME.train(String, ObjectStream, ChunkerContextGenerator, TrainingParameters)
instead and pass in a TrainingParameters object. |
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)
Initializes the current instance with the specified model and
the specified beam size.
|
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 |
---|
ParserChunkerSequenceValidator(ChunkerModel model) |
ParserModel(String languageCode,
AbstractModel buildModel,
AbstractModel checkModel,
AbstractModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType) |
ParserModel(String languageCode,
AbstractModel buildModel,
AbstractModel checkModel,
AbstractModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType,
Map<String,String> manifestInfoEntries) |
ParserModel(String languageCode,
AbstractModel buildModel,
AbstractModel checkModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType type,
Map<String,String> manifestInfoEntries) |
Modifier and Type | Method and Description |
---|---|
ChunkerModel |
ChunkerModelResourceImpl.getModel() |
ChunkerModel |
ChunkerModelResource.getModel() |
protected ChunkerModel |
ChunkerModelResourceImpl.loadModel(InputStream in) |
Copyright © 2015 The Apache Software Foundation. All rights reserved.