+
    ÖÇÜhN  ã                   ó:   € ^ RI Ht ^ RIt^ RIHt  ! R R4      tR# )é    )ÚTupleN)Úedit_distancec                   ót   a € ] tR t^t o ]P
                  P                  R. RO4      V 3R lR l4       tRtV t	R# )ÚTestEditDistancez&left,right,substitution_cost,expectedsc          
      óH   <€ V ^8„  d   QhRS[ RS[ RS[RS[S[S[3,          /# )é   ÚleftÚrightÚsubstitution_costÚ	expecteds)ÚstrÚintr   )ÚformatÚ__classdict__s   "€Ú>/usr/lib/python3/dist-packages/nltk/test/unit/test_distance.pyÚ__annotate__ÚTestEditDistance.__annotate__i   s6   ø€ ÷ -ñ -Ùð-Ù #ð-Ù8;ð-ÙHMÉcÑSVÈhÍñ-ó    c           	     ó€   € W3W!33 F3  w  rV\        VRR.4       F  w  rx\        VVVVR7      p	W—8X  d   K  Q h	  K5  	  R# )a  
Test `edit_distance` between two strings, given some `substitution_cost`,
and whether transpositions are allowed.

:param str left: First input string to `edit_distance`.
:param str right: Second input string to `edit_distance`.
:param int substitution_cost: The cost of a substitution action in `edit_distance`.
:param Tuple[int, int] expecteds: A tuple of expected outputs, such that `expecteds[0]` is
    the expected output with `transpositions=True`, and `expecteds[1]` is
    the expected output with `transpositions=False`.
TF)r   ÚtranspositionsN)Úzipr   )
Úselfr	   r
   r   r   Ús1Ús2Úexpectedr   Ú	predicteds
   &&&&&     r   Útest_with_transpositionsÚ)TestEditDistance.test_with_transpositions	   sW   € ð^ �} u mÓ4‰FˆBä,/°	¸DÀ%¸=Ö,IÑ(�Ü)ØØØ&7Ø#1ô	�	ð !Ö,Ð,Ð,ó -Jó 5r   © N))ÚabcÚcaé   ©r   é   )r    r!   é   r#   )ÚwantsÚwaspr"   ©r$   r$   )r&   r'   r%   r(   )ÚrainÚshiner"   r(   )r)   r*   r   ©r%   r%   )ÚacbdefÚabcdefr"   ©r"   r   )r,   r-   r   r.   )ÚlnaguaegÚlanguager"   ©r   é   )r/   r0   r   r1   )Úlnaugager0   r"   r#   )r3   r0   r   r1   )Úlngauager0   r"   ©r   r   )r4   r0   r   r5   )r&   Úswimr"   r+   )r&   r6   r   )é   é   )ÚkittenÚsittingr"   r(   )r9   r:   r   r+   )Ú
duplicatedÚduuplicatedr"   ©r"   r"   )r;   r<   r   r=   )zvery duplicatedzvery duuplicateedr   r5   )
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚpytestÚmarkÚparametrizer   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r      s4   ø‡ € Ø‡[�[×ÑØ0ò\	
ó_÷@-óA_ö@-r   r   )Útypingr   rB   Únltk.metrics.distancer   r   r   r   r   Ú<module>rI      s   ðÝ ã å /÷y-ó y-r   