
    =wg-                     &    d dl mZ  G d de      Zy)    )uc                      e Zd ZdZ ed      ZdZdZdZg  ed       ed       ed       ed	       ed
       ed      dddddd ed       ed       ed       ed       ed       ed      dd ed       ed       ed       ed      ddd d!d"d#d$d%d& ed'      d( ed)       ed*       ed+      d,d-d. ed/      d0d1Z	 ed2       ed3       ed4      fZ
d5 ed6       ed7       ed8      d9 ed:      fZ ed;       ed<      fZ ed=       ed>       ed?       ed@       edA       edB       edC       edD       edE       edF       edG       ed<      fZg  edH       edI       edJ      dKdL edM       edN       edO      dPdQ edR      dSdTdUdVdWdX edY      dZd[ ed\       ed]       ed^       ed_      d`dadbdcdd ed;       ed<      Zg dedfdgdhdidj edk       edl      dmdndodpdqdrdsdtdu edv       edw      dxdydzd{d|d}d~dd ed       ed       ed       ed       ed       ed      ddddd ed       edF      dZ ed       ed       ed      ddddfZd Zd Zy)HungarianStemmera  
    The Hungarian Snowball stemmer.

    :cvar __vowels: The Hungarian vowels.
    :type __vowels: unicode
    :cvar __digraphs: The Hungarian digraphs.
    :type __digraphs: tuple
    :cvar __double_consonants: The Hungarian double consonants.
    :type __double_consonants: tuple
    :cvar __step1_suffixes: Suffixes to be deleted in step 1 of the algorithm.
    :type __step1_suffixes: tuple
    :cvar __step2_suffixes: Suffixes to be deleted in step 2 of the algorithm.
    :type __step2_suffixes: tuple
    :cvar __step3_suffixes: Suffixes to be deleted in step 3 of the algorithm.
    :type __step3_suffixes: tuple
    :cvar __step4_suffixes: Suffixes to be deleted in step 4 of the algorithm.
    :type __step4_suffixes: tuple
    :cvar __step5_suffixes: Suffixes to be deleted in step 5 of the algorithm.
    :type __step5_suffixes: tuple
    :cvar __step6_suffixes: Suffixes to be deleted in step 6 of the algorithm.
    :type __step6_suffixes: tuple
    :cvar __step7_suffixes: Suffixes to be deleted in step 7 of the algorithm.
    :type __step7_suffixes: tuple
    :cvar __step8_suffixes: Suffixes to be deleted in step 8 of the algorithm.
    :type __step8_suffixes: tuple
    :cvar __step9_suffixes: Suffixes to be deleted in step 9 of the algorithm.
    :type __step9_suffixes: tuple
    :note: A detailed description of the Hungarian
           stemming algorithm can be found under
           http://snowball.tartarus.org/algorithms/hungarian/stemmer.html

    u   aeiouöüáéíóõúû)csdzdzsgylynytyzs)bbccccsddffggggyjjkkllllymmnnnnypprrsssszttttyvvzzzzs)alelu   képpenu   onkéntu   enkéntu   ankéntu   képpu   kéntbanbennaknekvalvelu   tólu   tõlu   rólu   rõlu   bólu   bõlhozhezu   hözu   nálu   nélu   értkorbaberareigatetotu   ötulu   ülu   váu   véenonanu   önntu   ánkéntu   án   énastulu   estül   ástul   éstülstulu   stül   á   éu   okéu   ökéu   akéu   eké   áké   áéi   éké   ééiu   ké   éi   éé   ájuk   éjüku   ünkunkjuku   jük   ánk   énknkuku   ükemomamodedadu   ödjaje   ám   ád   ém   édmdaeojaitokjeitekjainkjeinkaitokeitek   áitok   éitekjaimjeimjaidjeideinkainkitekjeikjaik   áink   éinkaimeimaideidjaijeiinkaikeik   áim   áid   áik   éim   éid   éikimidaieiik   áii   ák   éku   ökokekakkc           
      @   |j                         }| j                  || j                  | j                        }|j	                  | j
                        rm| j                  D ]^  }|dt        |      z
  d |k(  sdj                  |dd |d   f      }|dt        |      z
  d |k(  rdj                  |dd |d   f      } n | j                  D ]  }|j	                  |      s|j	                  |      r|dt        |        }|dt        |        }|j	                  t        d            r-dj                  |dd df      }dj                  |dd df      }nF|j	                  t        d	            r,dj                  |dd d
f      }dj                  |dd d
f      } n | j                  D ]  }|j	                  |      s|t        d      k(  r-dj                  |dd d
f      }dj                  |dd d
f      }n@dj                  |dt        |        df      }dj                  |dt        |        df      } n | j                  D ]  }|j	                  |      s|t        d      k(  r-dj                  |dd df      }dj                  |dd df      }nY|t        d      k(  r-dj                  |dd d
f      }dj                  |dd d
f      }n|dt        |        }|dt        |        } n | j                  D ]  }|j	                  |      s| j                  D ]^  }|dt        |      z
  d |k(  sdj                  |dd |d   f      }|dt        |      z
  d |k(  rdj                  |dd |d   f      }   | j                  D ]  }|j	                  |      s|t        d      t        d      fv r-dj                  |dd df      }dj                  |dd df      }n|t        d      t        d      t        d      fv rAdj                  |dt        |        d
f      }dj                  |dt        |        d
f      }n|dt        |        }|dt        |        } n | j                  D ]3  }|j	                  |      s|j	                  |      r|t        d      t        d      t        d      t        d      t        d      fv rAdj                  |dt        |        df      }dj                  |dt        |        df      }n|t        d      t        d      t        d      t        d      t        d	      fv rAdj                  |dt        |        d
f      }dj                  |dt        |        d
f      }n|dt        |        }|dt        |        } n | j                   D ]G  }|j	                  |      s|j	                  |      r |t        d      t        d      t        d      t        d      t        d       t        d!      fv rAdj                  |dt        |        df      }dj                  |dt        |        df      }n|t        d"      t        d#      t        d$      t        d%      t        d&      t        d'      fv rAdj                  |dt        |        d
f      }dj                  |dt        |        d
f      }n|dt        |        }|dt        |        } n | j"                  D ]  }|j	                  |      s|j	                  |      r]|t        d(      k(  rdj                  |dd df      } |S |t        d)      k(  rdj                  |dd d
f      } |S |dt        |        } |S  |S )*z
        Stem an Hungarian word and return the stemmed form.

        :param word: The word that is stemmed.
        :type word: str or unicode
        :return: The stemmed form.
        :rtype: unicode

         NrC   ra   rD   rb   r>   r@   rA   rE   rF   rG   rH   rJ   rO   rK   r[   r\   rP   rL   r]   r^   r   r   r   ru   rj   r   r   r   rI   rv   rk   r   r   r   )lower_HungarianStemmer__r1_hungarian_HungarianStemmer__vowels_HungarianStemmer__digraphsendswith!_HungarianStemmer__step1_suffixes$_HungarianStemmer__double_consonantslenjoin!_HungarianStemmer__step2_suffixesr   !_HungarianStemmer__step3_suffixes!_HungarianStemmer__step4_suffixes!_HungarianStemmer__step5_suffixes!_HungarianStemmer__step6_suffixes!_HungarianStemmer__step7_suffixes!_HungarianStemmer__step8_suffixes!_HungarianStemmer__step9_suffixes)selfwordr1double_conssuffixs        U/var/www/horilla/myenv/lib/python3.12/site-packages/whoosh/lang/snowball/hungarian.pystemzHungarianStemmer.stemS   s    zz|  t}}dooF ;;t,,-#77 S--b1[@77D"ItBx#89D"s;//3{BWWb"gr"v%67 ++ 	F}}V$;;v&#f+.DMc&k\*B{{1V9-!wwSb	3'78WWb"gs^4QvY/!wwSb	3'78WWb"gs^4	  ++ 	F{{6"QwZ'77D"Is#34D"Sb'30B77D3v;,$7#=>D"]s6{l"3S!9:B	 ++ 	F{{6"Qz]*77D"Is#34D"Sb'30Bq//77D"Is#34D"Sb'30B#f+.DMc&k\*B	 ++ 	F{{6"#'#;#; KB[!11"5D!wwSb	48'<=b3{#33B7;F!#"Sb'2b6):!;B	 ++ 	F{{6"anan==77D"Is#34D"Sb'30B++ !* / /77D3v;,$7#=>D"]s6{l"3S!9:B#f+.DMc&k\*B	  ++ 	F}}V$;;v&!H+q|QwZ"#G*ai"9 9!ww]s6{l(;S'ABWWb3v;,&7%=>AhK<$%gJ'
AfI$G G!ww]s6{l(;S'ABWWb3v;,&7%=>#Mc&k\2#f+.	$ ++ 	F}}V$;;v&!H+q{AgJ"#I,*q{"L L!ww]s6{l(;S'ABWWb3v;,&7%=>AhK8aj$%iL!J-8$N N!ww]s6{l(;S'ABWWb3v;,&7%=>#Mc&k\2#f+.	$ ++ 		F}}V$;;v&7+!wwSb	3'78
   1W:-!wwSb	3'78   $Mc&k\2		     c                 $   d}|d   |v rZ|D ]'  }||dd v s||j                  |d         dz   d }|c S  t        dt        |            D ]  }||   |vs||dz   d } |S  |S t        dt        |            D ]  }||   |v s||dz   d } |S  |S )a?  
        Return the region R1 that is used by the Hungarian stemmer.

        If the word begins with a vowel, R1 is defined as the region
        after the first consonant or digraph (= two letters stand for
        one phoneme) in the word. If the word begins with a consonant,
        it is defined as the region after the first vowel in the word.
        If the word does not contain both a vowel and consonant, R1
        is the null region at the end of the word.

        :param word: The Hungarian word whose region R1 is determined.
        :type word: str or unicode
        :param vowels: The Hungarian vowels that are used to determine
                       the region R1.
        :type vowels: unicode
        :param digraphs: The digraphs that are used to determine the
                         region R1.
        :type digraphs: tuple
        :return: the region R1 for the respective word.
        :rtype: unicode
        :note: This helper method is invoked by the stem method of the subclass
               HungarianStemmer. It is not to be invoked directly!

        r   r      Nr   )indexranger   )r   r   vowelsdigraphsr   digraphr   s          r   __r1_hungarianzHungarianStemmer.__r1_hungarian   s    2 7f# d12h&djj59:;BI
 1c$i( 7&(a!efB 	 	 1c$i( 7f$a!efB	
 	r   N)__name__
__module____qualname____doc__r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r   r   r   r      sI   B <=HBJ=
 $	"+ 	"+ 	"+ 	"+	"())	"67	l	"DI	"	"$	"&+	"-2	"49	";<X;	" (	" &'x[	" 34H+	" @A{	" (		" &+		" -2		" 45X;		"
 (	"
 &'x[	"
 34H+	"
 @E	" 	" #	" %)	" +/	" 15	" 7;	" =A	" 	"  j	" +/	" 12'
	" =>gJ	" '
	" %)	" +/	" 15	" 78j	" 	" !	" .)1W:qzB:*-(&!I,@&	1V9-(Q{^Qx[(Q{^Q{^++'
'
AjM1V9>.) .ao .q{ ..$.&'k.34X;.(.%).+/.127.=A. . #. %). +/. 15. 78j. 	. #	. %&gJ	. 12'
	. =>gJ	.
 '
.
 %(.
 *-.
 /2.
 47.
 9<. &	. $%V9.A A( AG AW Ag AA!":A01*A?EAA &A(.A06A8>A A !'A )/A 12)A )	A ',	A .3	A 5:	A <A	A
 A
  %A
 ',A
 .3A
 5:A (A &'x[A 34H+A @A{A (A &'x[A 37A 9=A ?CA A #A %&gJA 12'
A =@A '
AgJ'
DdC)M^*r   r   N)whoosh.compatr   objectr   r   r   r   <module>r      s    Iv Ir   