Package | Description |
---|---|
opennlp.tools.chunker |
Package related to finding non-recursive syntactic annotation such as noun phrase chunks.
|
opennlp.tools.parser |
Package containing common code for performing full syntactic parsing.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultChunkerContextGenerator
Features based on chunking model described in Fei Sha and Fernando Pereira.
|
Modifier and Type | Method and Description |
---|---|
ChunkerContextGenerator |
ChunkerFactory.getContextGenerator() |
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,
ChunkerContextGenerator contextGenerator)
Deprecated.
use
ChunkerME.train(String, ObjectStream, ChunkerContextGenerator, TrainingParameters)
instead and pass in a TrainingParameters object. |
Constructor and Description |
---|
ChunkerEventStream(ObjectStream<ChunkSample> d,
ChunkerContextGenerator cg)
Creates a new event stream based on the specified data stream using the specified context generator.
|
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 . |
ChunkerME(MaxentModel mod,
ChunkerContextGenerator cg)
Deprecated.
|
ChunkerME(MaxentModel mod,
ChunkerContextGenerator cg,
int beamSize)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
ChunkContextGenerator
Creates predivtive context for the pre-chunking phases of parsing.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.