§
    ž˜ºhD  ã                   ó    —  G d „ d¦  «        Z dS )c                   ó>   — e Zd ZdZdd„Zdd„Zddeded	efd
„Zd„ ZdS )Ú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

    Tc                 ó<   — ddl m} |                     |||¦  «        S )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        úY/var/www/html/services/rag-service/venv/lib/python3.11/site-packages/nltk/stem/wordnet.pyr	   zWordNetLemmatizer._morphy   s-   € ð 	.Ð-Ð-Ð-Ð-Ð-à�zŠz˜$ Ð%5Ñ6Ô6Ð6ó    Nc                 ó<   — ddl m} |                     |||¦  «        S )aI  
        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   r   Úmorphyr
   s        r   r   zWordNetLemmatizer.morphy+   s-   € ð 	.Ð-Ð-Ð-Ð-Ð-à�yŠy˜˜sÐ$4Ñ5Ô5Ð5r   ÚnÚwordr   Úreturnc                 ób   — |                       ||¦  «        }|rt          |t          ¬¦  «        n|S )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   Ú	lemmatizezWordNetLemmatizer.lemmatize<   s4   € ð2 —’˜d CÑ(Ô(ˆØ'-Ð7�s�6�sÐ#Ñ#Ô#Ð#°4Ð7r   c                 ó   — dS )Nz<WordNetLemmatizer>© )r   s    r   Ú__repr__zWordNetLemmatizer.__repr__X   s   € Ø$Ð$r   )T)NT)r   )	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r	   r   Ústrr   r   r   r   r   r   r      sƒ   € € € € € ðð ð$7ð 7ð 7ð 7ð6ð 6ð 6ð 6ð"8ð 8˜cð 8¨ð 8°cð 8ð 8ð 8ð 8ð8%ð %ð %ð %ð %r   r   N)r   r   r   r   ú<module>r%      sA   ððN%ð N%ð N%ð N%ð N%ñ N%ô N%ð N%ð N%ð N%r   