|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use AdaptiveFeatureGenerator | |
|---|---|
| opennlp.tools.namefind | Package related to finding proper names and numeric amounts. |
| opennlp.tools.util.featuregen | This package contains classes for generating sequence features. |
| Uses of AdaptiveFeatureGenerator in opennlp.tools.namefind |
|---|
| Methods in opennlp.tools.namefind that return AdaptiveFeatureGenerator | |
|---|---|
AdaptiveFeatureGenerator |
TokenNameFinderModel.createFeatureGenerators()
Creates the AdaptiveFeatureGenerator. |
| Methods in opennlp.tools.namefind with parameters of type AdaptiveFeatureGenerator | |
|---|---|
void |
NameContextGenerator.addFeatureGenerator(AdaptiveFeatureGenerator generator)
Adds a feature generator to this set of feature generators. |
void |
DefaultNameContextGenerator.addFeatureGenerator(AdaptiveFeatureGenerator generator)
|
static TokenNameFinderModel |
NameFinderME.train(String languageCode,
String type,
ObjectStream<NameSample> samples,
AdaptiveFeatureGenerator generator,
Map<String,Object> resources,
int iterations,
int cutoff)
Trains a name finder model. |
static TokenNameFinderModel |
NameFinderME.train(String languageCode,
String type,
ObjectStream<NameSample> samples,
TrainingParameters trainParams,
AdaptiveFeatureGenerator generator,
Map<String,Object> resources)
Trains a name finder model. |
| Constructors in opennlp.tools.namefind with parameters of type AdaptiveFeatureGenerator | |
|---|---|
DefaultNameContextGenerator(AdaptiveFeatureGenerator... featureGenerators)
Creates a name context generator with the specified cache size. |
|
NameFinderME(TokenNameFinderModel model,
AdaptiveFeatureGenerator generator,
int beamSize)
|
|
NameFinderME(TokenNameFinderModel model,
AdaptiveFeatureGenerator generator,
int beamSize,
SequenceValidator<String> sequenceValidator)
Initializes the name finder with the specified model. |
|
NameSampleSequenceStream(ObjectStream<NameSample> psi,
AdaptiveFeatureGenerator featureGen)
|
|
| Uses of AdaptiveFeatureGenerator in opennlp.tools.util.featuregen |
|---|
| Classes in opennlp.tools.util.featuregen that implement AdaptiveFeatureGenerator | |
|---|---|
class |
AdditionalContextFeatureGenerator
The AdditionalContextFeatureGenerator generates the context from the passed
in additional context. |
class |
AggregatedFeatureGenerator
The AggregatedFeatureGenerator aggregates a set of
AdaptiveFeatureGenerators and calls them to generate the features. |
class |
BigramNameFeatureGenerator
|
class |
CachedFeatureGenerator
Caches features of the aggregated AdaptiveFeatureGenerators. |
class |
CharacterNgramFeatureGenerator
The CharacterNgramFeatureGenerator uses character ngrams to
generate features about each token. |
class |
DictionaryFeatureGenerator
The DictionaryFeatureGenerator uses the DictionaryNameFinder
to generated features for detected names based on the InSpanGenerator. |
class |
FastTokenClassFeatureGenerator
Deprecated. Use TokenClassFeatureGenerator instead! |
class |
FeatureGeneratorAdapter
This class provides empty implementations of some of the optional methods in AdditionalContextFeatureGenerator to make implementing feature generators
easier. |
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 |
PrefixFeatureGenerator
|
class |
PreviousMapFeatureGenerator
This FeatureGeneratorAdapter generates features indicating the outcome associated with a previously occuring word. |
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 |
WindowFeatureGenerator
Generates previous and next features for a given AdaptiveFeatureGenerator. |
| Methods in opennlp.tools.util.featuregen that return AdaptiveFeatureGenerator | |
|---|---|
static AdaptiveFeatureGenerator |
GeneratorFactory.create(InputStream xmlDescriptorIn,
FeatureGeneratorResourceProvider resourceManager)
Creates an AdaptiveFeatureGenerator from an provided XML descriptor. |
AdaptiveFeatureGenerator |
FeatureGeneratorFactory.createFeatureGenerator(FeatureGeneratorResourceProvider resourceProvider)
Deprecated. |
| Methods in opennlp.tools.util.featuregen that return types with arguments of type AdaptiveFeatureGenerator | |
|---|---|
Collection<AdaptiveFeatureGenerator> |
AggregatedFeatureGenerator.getGenerators()
Retrieves a Collections of all aggregated
AdaptiveFeatureGenerators. |
| Constructors in opennlp.tools.util.featuregen with parameters of type AdaptiveFeatureGenerator | |
|---|---|
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 parameters in opennlp.tools.util.featuregen with type arguments of type AdaptiveFeatureGenerator | |
|---|---|
AggregatedFeatureGenerator(Collection<AdaptiveFeatureGenerator> generators)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||