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
2010-09-21 11:29:46
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
2010-09-21 11:47:25