Reputation: 4864
Is there a web site I can call that will allow me to send it a word and it will tell me if that word is a Noun, Verb, etc. ?
I'm hoping to find that kind of site that maybe would return xml that I can use to parse out the returned results.
Thanks.
Upvotes: 1
Views: 1337
Reputation: 4864
I found exactly what I was looking for at dictionary.com because they have an API that returns XML code.
Here's the link: http://developer.dictionary.com
Hopefully this will help other people out there looking to do the same as I.
Upvotes: 0
Reputation: 363747
There's no need for a web service. If your target language is English, then use WordNet. It has bindings for many popular programming languages.
Note that many words are ambiguous wrt. their category; finding the right one in context is a problem known as part-of-speech (POS) tagging and is usually done using machine-learned algorithms. Various free POS taggers are available, including the Stanford one.
(If you desperately want a web service and XML, you can hack that onto WordNet :)
Upvotes: 4