java - Apply wordnet on string to words vector filter output -
i've applied string word vector filter on 100 message follows
try{ stwv.setoutputwordcounts(true); stwv.settftransform(true); stwv.getattributeindices(); stwv.setstopwords(value); stwv.setattributeindices("2"); stwv.setmintermfreq(1); stwv.setwordstokeep(10000); stwv.settftransform(true); stwv.setinputformat(data); stwv.settokenizer(wt); instances output = weka.filters.filter.usefilter(data, stwv); reorder.setattributeindices("2-last,1"); reorder.setinputformat(output); instances outputorder=weka.filters.filter.usefilter(output,reorder);
then applied reorder filter make class attribute last attribute.
i want apply wordnet on outputorder
.
how can perform this?
Comments
Post a Comment