Lemmatization: Normalize Words to Their Base Forms
How dictionary-based normalization works, differs from stemming, and depends on POS and lexicon coverage.
Lemmatization maps an inflected word to a lexical base form: dogs → dog. Unlike stemming, it uses morphology and a lexicon. Princeton WordNet Morphy checks POS-specific exceptions, applies inflection rules, then looks up candidates. NLTK documents dogs→dog, churches→church, and unchanged hardrock when no lemma is found. NLTK defaults to noun POS (n), so provide the correct POS. Stemming may yield a nonword; lemmatization depends on POS and dictionary coverage. Compare useful matches, harmful conflations, unknown words, and POS errors on representative data. Normalize search documents and queries consistently, preserving the original if meaning matters. Lemmatization does not itself understand sentence meaning or context.