Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a database, API, or parsable text for getting verb conjugations?

Tags:

nlp

This isn't directly a programming question, so I apologize in advance. I've been working on a grammar-free random sentence generator for a typing game I'd like to make, and I've been having a difficult time finding any parsable (or callable) data for getting verb conjugations. Ultimately, if I can't find anything like this, I'm going to have to go through the dictionary I've created and add first-person singular and plural, second-person singular and plural, third-person singular and plural, simple past, past participle, and present participle forms for every irregular verb.

This wouldn't be a problem in many languages, but there are so many irregular English verbs that this could take a long, long time to do manually. I'm not against the worse option, but I want to make sure I'm not going to be wasting obscene hours doing it myself when there is some database I can use instead.

I've seen http://www.scientificpsychic.com/verbs1.html and spoken with the creator, but he doesn't release his exact dictionary (just the classes for it). I've also seen sites like http://www.verbix.com/webverbix/English/find.html, which would be great for scraping, but that's a bit of a pain as well.

This question has been asked here before ( Verb Conjugations Database ), but the question was left unanswered, and the asker alluded to solving the problem but never said what the solution was.

like image 426
Jamey Avatar asked Mar 02 '12 18:03

Jamey


People also ask

How do you determine a verbs conjugation?

To conjugate a verb, you add unique suffixes to its base verb form. The right suffix depends on the person in a sentence you refer to, who is also known as the subject of the sentence.

What are conjugation forms?

In linguistics, conjugation (/ˌkɒndʒʊˈɡeɪʃən/) is the creation of derived forms of a verb from its principal parts by inflection (alteration of form according to rules of grammar). For instance, the verb break can be conjugated to form the words break, breaks, broke, broken and breaking.

What is the purpose of conjugations?

Conjugation is the change that takes place in a verb to express tense, mood, person and so on. In English, verbs change as they are used, most notably with different people (you, I, we) and different time (now, later, before). Conjugating verbs essentially means altering them into different forms to provide context.


1 Answers

MorphAdorner (Java) has a simple Verb conjugator (with online demo).

But if you are interested with an exhaustive listing you can check Lexical Tools' Inflection Variants. After downloading Lexical Tools, you will be importing the data to your database server. Then you can just query the database using their library (Java).

SimpleNLG also has this feature, and is very much related to Lexical Tool.

like image 94
Kenston Choi Avatar answered Oct 04 '22 02:10

Kenston Choi