public class LanguageDetectorModel extends BaseModel
TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
Constructor and Description |
---|
LanguageDetectorModel(File modelFile) |
LanguageDetectorModel(InputStream in) |
LanguageDetectorModel(MaxentModel langdetectModel,
Map<String,String> manifestInfoEntries,
LanguageDetectorFactory factory) |
LanguageDetectorModel(URL modelURL) |
Modifier and Type | Method and Description |
---|---|
LanguageDetectorFactory |
getFactory() |
MaxentModel |
getMaxentModel() |
getArtifact, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize, serialize, serialize
public LanguageDetectorModel(MaxentModel langdetectModel, Map<String,String> manifestInfoEntries, LanguageDetectorFactory factory)
public LanguageDetectorModel(InputStream in) throws IOException
IOException
public LanguageDetectorModel(File modelFile) throws IOException
IOException
public LanguageDetectorModel(URL modelURL) throws IOException
IOException
public LanguageDetectorFactory getFactory()
public MaxentModel getMaxentModel()
Copyright © 2020 The Apache Software Foundation. All rights reserved.