§
    'ê[fé  ã                   ó   — dd„Z d S )Nc                 óä   — |€| }n|                       |¦  «        sJ ‚dt          || z  ¦  «        t          ||z  ¦  «        z   t          t          |¦  «        t          | ¦  «        z   ¦  «        z  z
  S )aF  
    Return the Alignment Error Rate (AER) of an alignment
    with respect to a "gold standard" reference alignment.
    Return an error rate between 0.0 (perfect alignment) and 1.0 (no
    alignment).

        >>> from nltk.translate import Alignment
        >>> ref = Alignment([(0, 0), (1, 1), (2, 2)])
        >>> test = Alignment([(0, 0), (1, 2), (2, 1)])
        >>> alignment_error_rate(ref, test) # doctest: +ELLIPSIS
        0.6666666666666667

    :type reference: Alignment
    :param reference: A gold standard alignment (sure alignments)
    :type hypothesis: Alignment
    :param hypothesis: A hypothesis alignment (aka. candidate alignments)
    :type possible: Alignment or None
    :param possible: A gold standard reference of possible alignments
        (defaults to *reference* if None)
    :rtype: float or None
    Ng      ð?)ÚissubsetÚlenÚfloat)Ú	referenceÚ
hypothesisÚpossibles      úJ/var/www/piapp/venv/lib/python3.11/site-packages/nltk/translate/metrics.pyÚalignment_error_rater
      s€   € ð. ÐØˆˆà×!Ò! (Ñ+Ô+Ð+Ð+Ð+à•#�j 9Ñ,Ñ-Ô-µ°JÀÑ4IÑ0JÔ0JÑJÍeÝˆJ‰Œ�#˜i™.œ.Ñ(ñOô Oñ ñ ð ó    )N)r
   © r   r	   ú<module>r      s#   ððð ð ð ð ð r   