public interface CategorizerFactory
Modifier and Type | Method and Description |
---|---|
Categorizer |
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.
|
Categorizer loadInstance(String modelFile, boolean readonly) throws IOException
modelFile
- the model file to loadreadonly
- if true set the model in read only mode and disable the
learning modeIOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.