public class FeaturizerModel
extends opennlp.tools.util.model.BaseModel
FeaturizerModel is the model used by a learnable
Featurizer.FeaturizerME,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURIZER_MODEL_ENTRY_NAME |
| Constructor and Description |
|---|
FeaturizerModel(InputStream in) |
FeaturizerModel(String languageCode,
opennlp.tools.ml.model.MaxentModel featurizerModel,
Map<String,String> manifestInfoEntries,
FeaturizerFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
opennlp.tools.ml.model.SequenceClassificationModel<opennlp.tools.util.TokenTag> |
getChunkerSequenceModel() |
FeaturizerFactory |
getFactory() |
FeatureDictionary |
getFeatureDictionary()
Retrieves the tag dictionary.
|
opennlp.tools.ml.model.AbstractModel |
getFeaturizerModel() |
public static final String FEATURIZER_MODEL_ENTRY_NAME
public FeaturizerModel(String languageCode, opennlp.tools.ml.model.MaxentModel featurizerModel, Map<String,String> manifestInfoEntries, FeaturizerFactory factory)
public FeaturizerModel(InputStream in) throws IOException, opennlp.tools.util.InvalidFormatException
IOExceptionopennlp.tools.util.InvalidFormatExceptionpublic FeaturizerFactory getFactory()
public opennlp.tools.ml.model.AbstractModel getFeaturizerModel()
public opennlp.tools.ml.model.SequenceClassificationModel<opennlp.tools.util.TokenTag> getChunkerSequenceModel()
public FeatureDictionary getFeatureDictionary()
Copyright © 2012–2017 CoGrOO. All rights reserved.