Skip to content

Commit 27a618f

Browse files
committed
Edit WordNetLemmatizer docstring
1 parent 27ef06a commit 27a618f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nltk/stem/wordnet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class WordNetLemmatizer:
1313
"""
1414
WordNet Lemmatizer
1515
16-
Lemmatize using WordNet's built-in morphy function.
16+
Lemmatize by picking the shortest of the possible lemmas,
17+
using the wordnet corpus reader's built-in _morphy function.
1718
Returns the input word unchanged if it cannot be found in WordNet.
1819
1920
>>> from nltk.stem import WordNetLemmatizer

0 commit comments

Comments
 (0)