What is the most efficient way to get the past tense of a verb, preferably without using memory heavy NLP frameworks?
e.g.
- live to: lived
- try to: tried
- tap to: tapped
- boil to: boiled
- sell to: sold
I wrote something quick myself (stack overflow won't let me self answer) which seems to work for regular verbs (e.g. the first 4 of that list), but not irregular verbs: http://pastebin.com/Txh76Dnb
edit: Thanks for all the responses, it looks like it can't be done properly without a dictionary due to irregular verbs.