I've the following problem. I need to find verbs in a string using JavaScript
.
I would like to know, if there is something like (JAWS), the Java API for Wordnet
, but for JavaScript.
More specifically, i'm searching for some kind of RESTful webservice able to return the list of verbs in a text or webpage.
If you know something useful, please don't hesitate to post your answers.
I've the following problem. I need to find verbs in a string using JavaScript
.
I would like to know, if there is something like (JAWS), the Java API for Wordnet
, but for JavaScript.
More specifically, i'm searching for some kind of RESTful webservice able to return the list of verbs in a text or webpage.
If you know something useful, please don't hesitate to post your answers.
Share Improve this question asked Aug 28, 2011 at 20:49 user278064user278064 10.2k1 gold badge36 silver badges48 bronze badges 2- 1 You could find all the words ending in "ing" or have "to " before them, plus mon ones like "are" and "is" – sdfadfaasd Commented Aug 28, 2011 at 21:00
- Problem is that I need all verbs, prising irregular verbs etc.. More than an algorithm, i need a database :) – user278064 Commented Aug 28, 2011 at 21:04
1 Answer
Reset to default 7Have a look at the Natural Language Processing APIs. They seem to have an API. There is even a service for larger amounts of requests (has a free plan as well).
It is based on simple POST requests and returns JSON, so it would be easy to use in JavaScript.