public class ClassifierComponent
extends MixedComponent
| Constructor and Description |
|---|
ClassifierComponent(java.lang.String outboundPort,
ComponentConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
classify()
This method performs the classification of the instance.
|
void |
definePublishedData()
Checking type of output data.
|
void |
defineReceivedData()
Checking type of input data
|
void |
loadModel(java.lang.String fileName)
This method loads the model to be used as classifier.
|
void |
makeInstance()
This method creates the instance to be classified (dialogue elements), from the text that has been read.
|
public ClassifierComponent(java.lang.String outboundPort,
ComponentConfig config)
public void loadModel(java.lang.String fileName)
fileName - The name of the file that stores the text.public void makeInstance()
public void classify()
public void definePublishedData()
public void defineReceivedData()