public class MaxEntClassifier extends Object
| Constructor and Description |
|---|
MaxEntClassifier(boolean usesmoothing) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResult() |
void |
loadModel(String modelPath) |
static void |
main(String[] args) |
void |
persist(String modelPath) |
Map<String,Double> |
predict(String[] featureVector) |
void |
setParameter(Map<String,String> paraMap) |
public String getResult()
public void persist(String modelPath) throws IOException
IOExceptionpublic void loadModel(String modelPath) throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2015. All rights reserved.