Package opennlp.tools.util.featuregen
Class GeneratorFactory.AbstractXmlFeatureGeneratorFactory
java.lang.Object
opennlp.tools.util.featuregen.GeneratorFactory.AbstractXmlFeatureGeneratorFactory
- Direct Known Subclasses:
AggregatedFeatureGeneratorFactory
,BigramNameFeatureGeneratorFactory
,BrownClusterBigramFeatureGeneratorFactory
,BrownClusterTokenClassFeatureGeneratorFactory
,BrownClusterTokenFeatureGeneratorFactory
,CachedFeatureGeneratorFactory
,CharacterNgramFeatureGeneratorFactory
,DefinitionFeatureGeneratorFactory
,DictionaryFeatureGeneratorFactory
,DocumentBeginFeatureGeneratorFactory
,PosTaggerFeatureGeneratorFactory
,POSTaggerNameFeatureGeneratorFactory
,PrefixFeatureGeneratorFactory
,PreviousMapFeatureGeneratorFactory
,SentenceFeatureGeneratorFactory
,SuffixFeatureGeneratorFactory
,TokenClassFeatureGeneratorFactory
,TokenFeatureGeneratorFactory
,TokenPatternFeatureGeneratorFactory
,TrigramNameFeatureGeneratorFactory
,WindowFeatureGeneratorFactory
,WordClusterFeatureGeneratorFactory
- Enclosing class:
- GeneratorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract AdaptiveFeatureGenerator
create()
boolean
boolean
double
double
float
float
int
int
long
long
-
Constructor Details
-
AbstractXmlFeatureGeneratorFactory
public AbstractXmlFeatureGeneratorFactory()
-
-
Method Details
-
getArtifactSerializerMapping
public Map<String,ArtifactSerializer<?>> getArtifactSerializerMapping() throws InvalidFormatException- Throws:
InvalidFormatException
-
getInt
- Throws:
InvalidFormatException
-
getInt
- Throws:
InvalidFormatException
-
getLong
- Throws:
InvalidFormatException
-
getLong
- Throws:
InvalidFormatException
-
getFloat
- Throws:
InvalidFormatException
-
getFloat
- Throws:
InvalidFormatException
-
getDouble
- Throws:
InvalidFormatException
-
getDouble
- Throws:
InvalidFormatException
-
getStr
- Throws:
InvalidFormatException
-
getStr
- Throws:
InvalidFormatException
-
getBool
- Throws:
InvalidFormatException
-
getBool
- Throws:
InvalidFormatException
-
create
- Returns:
null
if the subclass usesresourceManager
to instantiate- Throws:
InvalidFormatException
-