Text Mining #4 Stemming and Lemmatization
Stemming and Lemmatization are for grammatically or semantically changing archetypes of words.
In Stemming, there is a tendency to extract some misspelled root words from the original word by applying general methods or by applying more simplified methods when converting them into circular words. However, Lemmatization finds root words in correct spelling considering grammatical elements such as part-time speech and more meaningful parts.
Let's compare Stemming and Lemmatization. Stemming finds the prototype more simply as the verb changes according to progressive, third-person singular, past tense, and adjective changes according to comparison and superlative.
# Stemming Example code:
Output:
Lemmatization needs to input the part of the word for more accurate circular word extraction.
# Lemmatization Example code:
Output: