public class MyFilteredClassifier extends Object
MyFilteredLearner| Constructor and Description |
|---|
MyFilteredClassifier() |
| Modifier and Type | Method and Description |
|---|---|
String |
classify()
This method performs the classification of the instance.
|
void |
load(String fileName)
This method loads the text to be classified.
|
void |
loadModel(String fileName)
This method loads the model to be used as classifier.
|
void |
makeInstance(Set<String> categories)
This method creates the instance to be classified, from the text that has been read.
|
void |
setText(String text)
Sets the text to be classified.
|
public void load(String fileName)
fileName - The name of the file that stores the text.public void loadModel(String fileName)
fileName - The name of the file that stores the text.public void makeInstance(Set<String> categories)
public String classify()
public void setText(String text)
text - The text to be classified.Copyright © 2016. All rights reserved.