Obviously, almost all the online dictionaries could map some verb forms like "spoke, spoken, speaking, speaks" to its base form "speak".
I've searched this on github but didn't find anything.
Is there an open/free database to do this job?
Obviously, almost all the online dictionaries could map some verb forms like "spoke, spoken, speaking, speaks" to its base form "speak".
I've searched this on github but didn't find anything.
Is there an open/free database to do this job?
I don't know about a database necessarily, but you could use Stanford's Stanza to do it yourself. Here's an example. Notice the last code block:
doc = nlp("spoke spoken speaking speaks")
for word in doc.sentences[0].words:
print(word.lemma)
# output:
# speak
# speak
# speak
# speak
Finally, a question to which Wikidata Lexemes is the answer :)
https://www.wikidata.org/wiki/Lexeme:L380
Wikidata Lexemes is built exactly with this question in mind; however, it being a crowd-sourced tool, it might still be missing quite a bunch of verbs and/or forms, so... feel free to contribute!