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?
Countable nouns can be counted, e.g. an apple, two apples, three apples, etc. Uncountable nouns cannot be counted, e.g. air, rice, water, etc. When you learn a new noun, you should check if it is countable or uncountable and note how it is used in a sentence.
Since uncountable nouns are singular, they also require singular verbs. If you're ever trying to decide whether to write the information is or the information are, remember that information is an uncountable noun and therefore needs is.
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
or this boy
or that boy
but some food
or a little bit of food
etc.I'd like some coffee
vs I'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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With