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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -