I wanted to add new synset to inherent synset list of word "cart"
As per my understanding of API i did following command -
ewn.bat carewn%1:09:00:: -add -addword cart -setusecount 10
and then checked status with following program
WORD = dictionary.getIndexWord(POS.VERB, "cart");
List<Synset> l = WORD.getSenses();
for(Synset s : l)
List<Word> pl = s.getWords();
System.out.println( "Sense Key:" + t.getSenseKey() + ",Lemma:" + t.getLemma() + ",useCount:" + t.getUseCount());
This prints -
with other ouput.
But here useCount is 0.
That i want to change.
I mean I want to add new synset "carewn" to indexed word "cart" with use count.
It looks like a big, I'm fixing it.
Fixed. The fix is in my repo, to be included in the next release.
Thanks for quick reply and quick fix. It's working now.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.