HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sphinx/util/stemmer/__pycache__/__init__.cpython-310.pyc
o


$�a#�@s~dZddlmZz
ddlmZdZWneydZYnwGdd�d�ZGdd	�d	e�ZGd
d�dee�Z	defd
d�Z
dS)z�
    sphinx.util.stemmer
    ~~~~~~~~~~~~~~~~~~~

    Word stemming utilities for Sphinx.

    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�
PorterStemmer)�StemmerTFc@seZdZdedefdd�ZdS)�BaseStemmer�word�returncCst���N)�NotImplementedError��selfr�r�>/usr/lib/python3/dist-packages/sphinx/util/stemmer/__init__.py�stemszBaseStemmer.stemN)�__name__�
__module__�__qualname__�strr
rrrrrsrc@s(eZdZddd�Zdedefdd�ZdS)	�	PyStemmerrNcCstd�|_dS)N�porter)�
_PyStemmer�stemmer)r
rrr�__init__szPyStemmer.__init__rcCs|j�|�Sr)r�stemWordr	rrrr
szPyStemmer.stem)rN)rrrrrr
rrrrrs
rcs*eZdZdZdedef�fdd�Z�ZS)�StandardStemmerzdAll those porter stemmer implementations look hideous;
    make at least the stem method nicer.
    rrcst��|dt|�d�S)Nr�)�superr
�lenr	��	__class__rrr
%szStandardStemmer.stem)rrr�__doc__rr
�
__classcell__rrrrr!srrcCstrt�St�Sr)�	PYSTEMMERrrrrrr�get_stemmer)sr!N)r�sphinx.util.stemmer.porterrrrr �ImportErrorrrrr!rrrr�<module>s
�