public class LemmatizerModel
extends opennlp.tools.util.model.BaseModel
LemmatizerModel is the model used
by a learnable Lemmatizer.LemmatizerME| Constructor and Description |
|---|
LemmatizerModel(File modelFile) |
LemmatizerModel(InputStream in) |
LemmatizerModel(String languageCode,
opennlp.tools.ml.model.MaxentModel lemmatizerModel,
int beamSize,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
opennlp.tools.ml.model.MaxentModel lemmatizerModel,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
opennlp.tools.ml.model.MaxentModel lemmatizerModel,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(String languageCode,
opennlp.tools.ml.model.SequenceClassificationModel<String> lemmatizerModel,
Map<String,String> manifestInfoEntries,
LemmatizerFactory factory) |
LemmatizerModel(URL modelURL) |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? extends opennlp.tools.util.BaseToolFactory> |
getDefaultFactory() |
LemmatizerFactory |
getFactory() |
opennlp.tools.ml.model.SequenceClassificationModel<String> |
getLemmatizerSequenceModel() |
protected void |
validateArtifactMap() |
public LemmatizerModel(String languageCode, opennlp.tools.ml.model.SequenceClassificationModel<String> lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
public LemmatizerModel(String languageCode, opennlp.tools.ml.model.MaxentModel lemmatizerModel, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
public LemmatizerModel(String languageCode, opennlp.tools.ml.model.MaxentModel lemmatizerModel, int beamSize, Map<String,String> manifestInfoEntries, LemmatizerFactory factory)
public LemmatizerModel(String languageCode, opennlp.tools.ml.model.MaxentModel lemmatizerModel, LemmatizerFactory factory)
public LemmatizerModel(InputStream in) throws IOException, opennlp.tools.util.InvalidFormatException
IOExceptionopennlp.tools.util.InvalidFormatExceptionpublic LemmatizerModel(File modelFile) throws IOException, opennlp.tools.util.InvalidFormatException
IOExceptionopennlp.tools.util.InvalidFormatExceptionpublic LemmatizerModel(URL modelURL) throws IOException, opennlp.tools.util.InvalidFormatException
IOExceptionopennlp.tools.util.InvalidFormatExceptionprotected void validateArtifactMap()
throws opennlp.tools.util.InvalidFormatException
validateArtifactMap in class opennlp.tools.util.model.BaseModelopennlp.tools.util.InvalidFormatExceptionpublic opennlp.tools.ml.model.SequenceClassificationModel<String> getLemmatizerSequenceModel()
protected Class<? extends opennlp.tools.util.BaseToolFactory> getDefaultFactory()
getDefaultFactory in class opennlp.tools.util.model.BaseModelpublic LemmatizerFactory getFactory()
Copyright © 2016 IXA pipes. All rights reserved.