public class LanguageCategorizerFactory extends Object implements CategorizerFactory
Constructor and Description |
---|
LanguageCategorizerFactory() |
Modifier and Type | Method and Description |
---|---|
LanguageCategorizer |
loadInstance(String modelFile,
boolean readonly)
Factory method to build a categorizer instance from a model file typically holding data dependent parameters
typically trained on a statistically representative text corpus.
|
public LanguageCategorizerFactory()
public LanguageCategorizer loadInstance(String modelFile, boolean readonly)
CategorizerFactory
loadInstance
in interface CategorizerFactory
modelFile
- the model file to loadreadonly
- if true set the model in read only mode and disable the learning modeCopyright © 2015 Nuxeo SA. All rights reserved.