tags:

views:

37

answers:

2

Is there a past tense library for ruby, to convert words into the past tense?

A: 

http://apidock.com/rails/ActiveSupport/Inflector http://apidock.com/rails/ActiveSupport/Inflector/Inflections

Looks like not. Interesting idea though :)

Taryn East
A: 

Past tense of English verbs is a lot more complicated than pluralization. You'll need a lingustic analysis engine and a corresponding database (due to the irregularity of the English language). If you're interested in pursuing this further, you can look at Ruby-WordNet which uses the WordNet lexical database.

Mark Thomas