관리-도구
편집 파일: norwegian_stemmer.cpython-311.pyc
� �܋fB � �r � d dl mZ d dlmZ G d� de� � Z G d� de� � Z G d� de� � Zd S ) � )�BaseStemmer)�Amongc ! �D � e Zd ZdZ eddd� � eddd� � eddd� � eddd� � eddd� � ed dd� � ed dd� � eddd� � ed dd� � eddd� � eddd� � eddd� � eddd� � eddd� � eddd� � eddd� � eddd� � eddd� � eddd� � eddd� � edd d� � ed!dd� � ed"d#d� � ed$dd� � ed%dd� � ed&dd� � ed'd(d� � ed)dd� � ed*dd� � gZ ed+dd� � ed,dd� � gZ ed-dd� � ed.d/d� � ed0dd� � ed1dd� � ed2dd� � ed3d4d� � ed5dd� � ed6dd� � ed7d8d� � ed9d8d� � ed:dd� � gZg d;�Zg d<�Z d/Z d/Zd=� Zd>� Z d?� Zd@� ZdA� ZdBS )C�NorwegianStemmerz� This class implements the stemming algorithm defined by a snowball script. Generated by Snowball 2.2.0 - https://snowballstem.org/ �a���r �e�ede�ande�ende�ane�ene�hetene� �erte� �en�heten� �ar�er�heter� �s� �as� �es�edes� �endes�enes�hetenes� �ens�hetens� �ers�ets�et�het� �ert�ast�dt�vt�leg�eleg� �ig�eig�lig�elig� �els�lov�elov� �slov�hetslov)� �A r r r3 r3 r3 r3 r3 r3 r3 r3 r3 r3 r3 r3 �0 r3 � )�w �} � r c �� � | j | _ | j }| j dz }|| j k rdS || _ | j | _ || _ | � t j dd� � sdS | � t j dd� � sdS | xj dz c_ | j | _ | j | j k st � � �| j | _ n# t $ r Y nw xY wdS )Nr F�a � r T) �limit�I_p1�cursor�I_x�go_out_groupingr �g_v�go_in_grouping�lab0)�self�v_1�cs �r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/snowballstemmer/norwegian_stemmer.py�__r_mark_regionsz!NorwegianStemmer.__r_mark_regionsG s� � ��J�� ��k���K�!�O���t�z�>�>��5�����;�������#�#�$4�$8�"�c�B�B� ��5��"�"�#3�#7��S�A�A� ��5����q�����K�� � ��9�t�x�'�'��f�f����D�I�I������T�T������ts �(*C � C �C c � � | j | j k rdS | j }| j | _ | j | _ | � t j � � }|dk r || _ dS | j | _ || _ |dk r| � � � sdS n�|dk r� | j | j z } | � t j dd� � st � � �t � � �# t $ r Y nw xY w| j |z | _ | � d� � sdS | � t j dd � � sdS n# t $ r Y nw xY w| � � � sdS n| � d � � sdS dS )NFr3 r r �b �z �krG rH r T)rK rJ �limit_backward�ket�find_among_br �a_0�bra� slice_delrI � in_grouping_b� g_s_ending�lab1rP �eq_s_b�out_grouping_brN � slice_from)rQ �v_2� among_var�v_3s rT �__r_main_suffixz NorwegianStemmer.__r_main_suffix] s� � ��;���"�"��5��!��"�i����;����%�%�&6�&:�;�;� ���>�>�"%�D���5��;���!�����>�>��>�>�#�#� ��u� � �!�^�^� ��j�4�;�.��"��-�-�.>�.I�2�s�S�S� %�"�f�f���&�&�L���!�!�!�T�T�!����"�j�3�.����{�{�4�(�(� !� �5��*�*�+;�+?��S�I�I� !� �5�!�������������>�>�#�#� ��u� � �?�?�5�)�)� ��u��ts6 �D>