I found 2 libraries in Java – JWNL and JAWS. So far, it seems to me that these APIs are good for finding synsets and hyponyms and similar things. Do you know if there is some tool to use wordnet to check if a noun is a countable/uncountable noun? I mean, do people use wordnet for this task? Else, what is the tool?
Using wordnet (or some simple dictionary) to check if a noun is countable or uncountable from Java program
1.5k Views Asked by Bikash Gyawali At
2
There are 2 best solutions below
0

I'm not 100% positive what you're going for, but WolframAlpha has a developer interface you may be able to use.
They also seem to have a java library already, though the free version appears to be limited to 2k queries (Don't know if thats a feasible limitation).
If you can't find an easy source, you can consider building your own classifier, ie. write your own user-defined-function.
Factors to consider:
one boy
orthis boy
orthat boy
butsome food
ora little bit of food
etc.I'd like some coffee
vsI'd like a coffee
(short for a cup of coffee). It gets complicated.This SO question is very relevant, though it doesn't address your Java request. All three answers to that question are very good.
Hope this helps.