The goal of lemmatization is also to reduce words to their base forms, but this is a more structured approach. In the previous recipe, you saw that the base words that we obtained using stemmers don't really make sense. For example, the word wolves was reduced to wolv, which is not a real word. Lemmatization solves this problem by doing things with a vocabulary and morphological analysis of words. It removes inflectional word endings, such as -ing or -ed, and returns the base form of a word. This base form is known as the lemma. If you lemmatize the word wolves, you will get wolf as the output. The output depends on whether the token is a verb or a noun.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine