관리-도구
편집 파일: porter_stemmer.cpython-311.pyc
� �܋fw: � �R � d dl mZ d dlmZ G d� de� � Z G d� de� � Z G d� de� � Z G d � d e� � Z G d� de� � Z G d � de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � ZdS )� )�BaseStemmer)�Amongc � � e Zd ZdZ eddd� � eddd� � eddd � � ed dd� � gZ eddd� � eddd� � ed dd� � eddd� � eddd� � eddd � � eddd� � eddd� � eddd� � eddd� � eddd � � eddd� � eddd � � g Z eddd� � eddd � � eddd� � gZ eddd� � eddd� � eddd� � eddd � � ed!dd"� � ed#dd$� � ed%dd&� � ed'dd"� � ed(dd)� � ed*dd+� � ed,dd � � ed-d.d/� � ed0dd"� � ed1dd/� � ed2d)d3� � ed4dd3� � ed5dd/� � ed6dd+� � ed7dd.� � ed8dd$� � gZ ed9dd� � ed:dd� � ed;dd � � ed<dd� � ed=dd� � ed>dd� � ed?dd� � gZ ed@dd � � edAdd � � edBdd � � edCdd � � edDdd � � edEdd � � edFdd � � edGdd � � edHdd � � edIdd � � edJdd � � edKdd� � edLdd � � edMdd � � edNdd � � edOdd � � edPdQd � � edRdSd � � edTdd � � gZ g dU�Zg dV�ZdWZ dZdZdX� ZdY� ZdZ� Zd[� Zd\� Zd]� Zd^� Zd_� Zd`� Zda� Zdb� Zdc� ZddS )e� PorterStemmerz� This class implements the stemming algorithm defined by a snowball script. Generated by Snowball 2.2.0 - https://snowballstem.org/ �s���� �ies� � �ssesr �ss� �bb�dd�ff�gg�bl�mm�nn�pp�rr�at�tt�iz�ed�eed�ing�anci�enci�abli� �eli� �alli� �ousli� �entli� �aliti�biliti� �iviti� �tional�ational� � �alism�ation�ization� �izer�ator�iveness�fulness�ousness�icate�ative�alize�iciti�ical�ful�ness�ic�ance�ence�able�ible�ate�ive�ize�iti�al�ism�ion�er�ous�ant�ent�ment� �ement� �ou)� �A rW r )r rY rZ �� r Fc �� � | � t j dd� � sdS | � t j dd� � sdS | � t j dd� � sdS dS )N�Y �y F�a T)�out_grouping_br �g_v_WXY� in_grouping_b�g_v��selfs �o/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/snowballstemmer/porter_stemmer.py� __r_shortvzPorterStemmer.__r_shortvi sm � ��"�"�=�#8�"�c�B�B� ��5��!�!�-�"3�R��=�=� ��5��"�"�=�#4�b�#�>�>� ��5��t� c �* � | j | j k sdS dS �NFT)�I_p1�cursorrd s rf �__r_R1zPorterStemmer.__r_R1r � � ��y�D�K�'�'��5��trh c �* � | j | j k sdS dS rj )�I_p2rl rd s rf �__r_R2zPorterStemmer.__r_R2w rn rh c �4 � | j | _ | � t j � � }|dk rdS | j | _ |dk r| � d� � sdS n:|dk r| � d� � sdS n|dk r| � � � sdS dS ) Nr Fr r r �ir T)rl �ket�find_among_br �a_0�bra� slice_from� slice_del�re � among_vars rf �__r_Step_1azPorterStemmer.__r_Step_1a| s� � ��;����%�%�m�&7�8�8� ���>�>��5��;�����>�>��?�?�5�)�)� ��u� � �!�^�^��?�?�4�(�(� ��u� � �!�^�^��>�>�#�#� ��u��trh c �J � | j | _ | � t j � � }|dk rdS | j | _ |dk r/| � � � sdS | � d� � sdS �n�| j | j z }| � t j dd� � sdS | xj dz c_ | j |z | _ | � � � sdS | j | j z }| � t j � � }|dk rdS | j |z | _ |dk r0| j }| � | j | j d� � || _ n�|dk rQ| j | _ | j | j k rdS | xj dz c_ | j | _ | � � � sdS nu| j | j k rdS | j | j z }| � � � sdS | j |z | _ | j }| � | j | j d� � || _ d S ) Nr Fr �eer_ r^ �er T)rl rt ru r �a_2rw �_PorterStemmer__r_R1rx �limit�go_out_grouping_brc ry �a_1�insert�limit_backwardrk �_PorterStemmer__r_shortv)re r{ �v_1�v_2�c�v_3s rf �__r_Step_1bzPorterStemmer.__r_Step_1b� s � ��;����%�%�m�&7�8�8� ���>�>��5��;�����>�>��;�;�=�=� ��u��?�?�5�)�)� ��u� � �*�t�{�*�C��)�)�-�*;�R��E�E� ��u��K�K�1��K�K��*�s�*�D�K��>�>�#�#� ��u��*�t�{�*�C��)�)�-�*;�<�<�I��A�~�~��u��*�s�*�D�K��A�~�~��K�����D�K���d�;�;�;������a����;����;�$�"5�5�5� �5����q� ����;����~�~�'�'� !� �5�!� �;�$�)�+�+� �5��j�4�;�.�����(�(� !� �5�"�j�3�.����K�����D�K���d�;�;�;�����trh c �� � | j | _ | j | j z } | � d� � st � � �t � � �# t $ r Y nw xY w| j |z | _ | � d� � sdS n# t $ r Y nw xY w| j | _ | � t j dd� � sdS | xj dz c_ | � d� � sdS dS ) N�y�YFr_ r^ r rs T)rl rt r� �eq_s_b�lab1�lab0rw r� r rc rx )re r� s rf �__r_Step_1czPorterStemmer.__r_Step_1c� s� � ��;��� ��*�t�{�*�C� ��{�{�4�(�(� !��&�&�L��f�f��������������*�s�*�D�K��;�;�t�$�$� ��u� ������T�T������;����%�%�m�&7��S�A�A� ��5����q�������t�$�$� ��5��ts. �B �1A � A�B �A�'B � B�Bc � � | j | _ | � t j � � }|dk rdS | j | _ | � � � sdS |dk r| � d� � sdS �nd|dk r| � d� � sdS �nE|dk r| � d� � sdS �n&|d k r| � d � � sdS �n|dk r| � d� � sdS n�|d k r| � d� � sdS n�|dk r| � d� � sdS n�|dk r| � d� � sdS n�|dk r| � d� � sdS nq|dk r| � d� � sdS nS|dk r| � d� � sdS n5|dk r| � d� � sdS n| � d� � sdS dS )Nr Fr �tionr rF r rE r"