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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -