public class LemmatizerModel extends BaseModel
LemmatizerModel
is the model used
by a learnable Lemmatizer
.LemmatizerME
,
Serialized FormTRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
Constructor and Description |
---|
LemmatizerModel(File modelFile) |
LemmatizerModel(InputStream in) |
LemmatizerModel(Path modelPath) |
LemmatizerModel(String languageCode,
MaxentModel lemmatizerModel,
int beamSize,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
MaxentModel lemmatizerModel,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
MaxentModel lemmatizerModel,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
SequenceClassificationModel<String> lemmatizerModel,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(URL modelURL) |
Modifier and Type | Method and Description |
---|---|
LemmatizerFactory |
getFactory() |
SequenceClassificationModel<String> |
getLemmatizerSequenceModel() |
getArtifact, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize, serialize, serialize
public LemmatizerModel(String languageCode, SequenceClassificationModel<String> lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
public LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
public LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, int beamSize, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
public LemmatizerModel(String languageCode, MaxentModel lemmatizerModel, LemmatizerFactory factory)
public LemmatizerModel(InputStream in) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public LemmatizerModel(File modelFile) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public LemmatizerModel(Path modelPath) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public LemmatizerModel(URL modelURL) throws IOException, InvalidFormatException
IOException
InvalidFormatException
public SequenceClassificationModel<String> getLemmatizerSequenceModel()
public LemmatizerFactory getFactory()
Copyright © 2021 The Apache Software Foundation. All rights reserved.