Package | Description |
---|---|
opennlp.tools.namefind |
Package related to finding proper names and numeric amounts.
|
opennlp.tools.postag |
Package related to part-of-speech tagging.
|
opennlp.tools.util.featuregen |
This package contains classes for generating sequence features.
|
Modifier and Type | Method and Description |
---|---|
AdaptiveFeatureGenerator |
TokenNameFinderFactory.createFeatureGenerators()
Creates the
AdaptiveFeatureGenerator . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultNameContextGenerator.addFeatureGenerator(AdaptiveFeatureGenerator generator) |
void |
NameContextGenerator.addFeatureGenerator(AdaptiveFeatureGenerator generator)
Adds a feature generator to this set of feature generators.
|
Constructor and Description |
---|
DefaultNameContextGenerator(AdaptiveFeatureGenerator... featureGenerators)
Creates a name context generator with the specified cache size.
|
NameSampleSequenceStream(ObjectStream<NameSample> psi,
AdaptiveFeatureGenerator featureGen) |
NameSampleSequenceStream(ObjectStream<NameSample> psi,
AdaptiveFeatureGenerator featureGen,
boolean useOutcomes) |
Modifier and Type | Method and Description |
---|---|
AdaptiveFeatureGenerator |
POSTaggerFactory.createFeatureGenerators()
Creates the
AdaptiveFeatureGenerator . |
Constructor and Description |
---|
ConfigurablePOSContextGenerator(AdaptiveFeatureGenerator featureGenerator)
Initializes the current instance.
|
ConfigurablePOSContextGenerator(int cacheSize,
AdaptiveFeatureGenerator featureGenerator)
Initializes the current instance.
|
Modifier and Type | Class and Description |
---|---|
class |
AdditionalContextFeatureGenerator
The
AdditionalContextFeatureGenerator generates the context from the passed
in additional context. |
class |
AggregatedFeatureGenerator
The
AggregatedFeatureGenerator aggregates a set of
AdaptiveFeatureGenerator s and calls them to generate the features. |
class |
BigramNameFeatureGenerator |
class |
BrownBigramFeatureGenerator
Generates Brown cluster features for token bigrams.
|
class |
BrownTokenClassFeatureGenerator
Generates Brown cluster features for current token and token class.
|
class |
BrownTokenFeatureGenerator
Generates Brown cluster features for current token.
|
class |
CachedFeatureGenerator
Caches features of the aggregated
AdaptiveFeatureGenerator s. |
class |
CharacterNgramFeatureGenerator
The
CharacterNgramFeatureGenerator uses character ngrams to
generate features about each token. |
class |
CustomFeatureGenerator |
class |
DictionaryFeatureGenerator
The
DictionaryFeatureGenerator uses the DictionaryNameFinder
to generated features for detected names based on the InSpanGenerator . |
class |
DocumentBeginFeatureGenerator |
class |
InSpanGenerator
Generates features if the tokens are recognized by the provided
TokenNameFinder . |
class |
OutcomePriorFeatureGenerator
The definition feature maps the underlying distribution of outcomes.
|
class |
PosTaggerFeatureGenerator |
class |
POSTaggerNameFeatureGenerator
Adds the token POS Tag as feature.
|
class |
PrefixFeatureGenerator |
class |
PreviousMapFeatureGenerator
This
AdaptiveFeatureGenerator generates features indicating the
outcome associated with a previously occuring word. |
class |
PreviousTwoMapFeatureGenerator
This
AdaptiveFeatureGenerator generates features indicating the
outcome associated with two previously occuring words. |
class |
SentenceFeatureGenerator
This feature generator creates sentence begin and end features.
|
class |
SuffixFeatureGenerator |
class |
TokenClassFeatureGenerator
Generates features for different for the class of the token.
|
class |
TokenFeatureGenerator
Generates a feature which contains the token itself.
|
class |
TokenPatternFeatureGenerator
Partitions tokens into sub-tokens based on character classes and generates
class features for each of the sub-tokens and combinations of those sub-tokens.
|
class |
TrigramNameFeatureGenerator
Adds trigram features based on tokens and token classes.
|
class |
WindowFeatureGenerator
Generates previous and next features for a given
AdaptiveFeatureGenerator . |
class |
WordClusterFeatureGenerator |
Modifier and Type | Method and Description |
---|---|
static AdaptiveFeatureGenerator |
GeneratorFactory.create(InputStream xmlDescriptorIn,
FeatureGeneratorResourceProvider resourceManager)
Creates an
AdaptiveFeatureGenerator from an provided XML descriptor. |
Modifier and Type | Method and Description |
---|---|
Collection<AdaptiveFeatureGenerator> |
AggregatedFeatureGenerator.getGenerators()
Retrieves a
Collections of all aggregated
AdaptiveFeatureGenerator s. |
Constructor and Description |
---|
AggregatedFeatureGenerator(AdaptiveFeatureGenerator... generators)
Initializes the current instance.
|
CachedFeatureGenerator(AdaptiveFeatureGenerator... generators) |
WindowFeatureGenerator(AdaptiveFeatureGenerator... generators)
Initializes the current instance with the given parameters.
|
WindowFeatureGenerator(AdaptiveFeatureGenerator generator)
Initializes the current instance.
|
WindowFeatureGenerator(AdaptiveFeatureGenerator generator,
int prevWindowSize,
int nextWindowSize)
Initializes the current instance with the given parameters.
|
WindowFeatureGenerator(int prevWindowSize,
int nextWindowSize,
AdaptiveFeatureGenerator... generators)
Initializes the current instance with the given parameters.
|
Constructor and Description |
---|
AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator> generators) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.