+
    ÖÇÜhD  ã                   ó   €  ! R  R4      t R# )c                   óT   a € ] tR t^t o RtR	R ltR
R ltRV 3R lR lltR tRt	V t
R# )ÚWordNetLemmatizera�  
WordNet Lemmatizer

Provides 3 lemmatizer modes: _morphy(), morphy() and lemmatize().

lemmatize() is a permissive wrapper around _morphy().
It returns the shortest lemma found in WordNet,
or the input string unchanged if nothing is found.

>>> from nltk.stem import WordNetLemmatizer as wnl
>>> print(wnl().lemmatize('us', 'n'))
u

>>> print(wnl().lemmatize('Anythinggoeszxcv'))
Anythinggoeszxcv

c                ó2   € ^ RI Hp VP                  WV4      # )zÂ
_morphy() is WordNet's _morphy lemmatizer.
It returns a list of all lemmas found in WordNet.

>>> from nltk.stem import WordNetLemmatizer as wnl
>>> print(wnl()._morphy('us', 'n'))
['us', 'u']
©Úwordnet)Únltk.corpusr   Ú_morphy©ÚselfÚformÚposÚcheck_exceptionsÚwns   &&&& Ú3/usr/lib/python3/dist-packages/nltk/stem/wordnet.pyr   ÚWordNetLemmatizer._morphy   s   € õ 	.à�z‰z˜$Ð%5Ó6Ð6ó    Nc                ó2   € ^ RI Hp VP                  WV4      # )a  
morphy() is a restrictive wrapper around _morphy().
It returns the first lemma found in WordNet,
or None if no lemma is found.

>>> from nltk.stem import WordNetLemmatizer as wnl
>>> print(wnl().morphy('us', 'n'))
us

>>> print(wnl().morphy('catss'))
None
r   )r   r   Úmorphyr	   s   &&&& r   r   ÚWordNetLemmatizer.morphy+   s   € õ 	.à�y‰y˜Ð$4Ó5Ð5r   c                ó,   <€ V ^8„  d   QhRS[ RS[ RS[ /# )é   Úwordr   Úreturn)Ústr)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚWordNetLemmatizer.__annotate__<   s"   ø€ ÷ 8ñ 8™cð 8©ð 8±cñ 8r   c                óZ   € V P                  W4      pV'       d   \        V\        R7      # T# )a	  Lemmatize `word` by picking the shortest of the possible lemmas,
using the wordnet corpus reader's built-in _morphy function.
Returns the input word unchanged if it cannot be found in WordNet.

>>> from nltk.stem import WordNetLemmatizer as wnl
>>> print(wnl().lemmatize('dogs'))
dog
>>> print(wnl().lemmatize('churches'))
church
>>> print(wnl().lemmatize('aardwolves'))
aardwolf
>>> print(wnl().lemmatize('abaci'))
abacus
>>> print(wnl().lemmatize('hardrock'))
hardrock

:param word: The input word to lemmatize.
:type word: str
:param pos: The Part Of Speech tag. Valid options are `"n"` for nouns,
    `"v"` for verbs, `"a"` for adjectives, `"r"` for adverbs and `"s"`
    for satellite adjectives.
:type pos: str
:return: The shortest lemma of `word`, for the given `pos`.
)Úkey)r   ÚminÚlen)r
   r   r   Úlemmass   &&& r   Ú	lemmatizeÚWordNetLemmatizer.lemmatize<   s&   € ð2 —‘˜dÓ(ˆß'-Œs�6œsÔ#Ð7°4Ð7r   c                ó   € R # )z<WordNetLemmatizer>© )r
   s   &r   Ú__repr__ÚWordNetLemmatizer.__repr__X   s   € Ù$r   r&   )T)NT)Ún)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r#   r'   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s(   ø‡ € ñô$7ô6÷"8ò 8÷8%ð %r   r   N)r   r&   r   r   Ú<module>r1      s   ð÷N%ó N%r   