Closed Steven-AA closed 6 years ago
lemma
is specifically meant to return the base form of Verbs. Since these words aren't Verbs, they are treated as unseen Verbs, and undergo the default lemmatization. See https://www.clips.uantwerpen.be/pages/pattern-en#conjugation
thanks a lot
BTW, is there a easy way to get the base form of any word?
I don't think so. You can use lemma
for getting the base form of a verb, and singularize
to get the singular form of a Noun (https://www.clips.uantwerpen.be/pages/pattern-en#pluralization)...You could apply the Porter stemmer to all of your words to get their stems using the stem
function (https://www.clips.uantwerpen.be/pages/pattern-vector#wordcount)
Thanks.