public class NRCAffectToArff
extends java.lang.Object
Constructor | Description |
---|---|
NRCAffectToArff() |
Modifier and Type | Method | Description |
---|---|---|
Instances |
createDataset(java.lang.String collectionPath) |
Creates a Weka Instances object from the lexicon.
|
static void |
main(java.lang.String[] args) |
Main method for testing this class.
|
public Instances createDataset(java.lang.String collectionPath) throws java.lang.Exception
collectionPath
- the file path of the lexicon.java.lang.Exception
- if a wrong file is used.public static void main(java.lang.String[] args)
args
- arguments