
    i                     2    d dl mZmZ d Zd Zd Zd Zd Zy)    )RegexBuildersymbolsc                  N    t        t        j                  d       j                  S )zKeep tone-modifying punctuation by matching following character.

    Assumes the `tone_marks` pre-processor was run for cases where there might
    not be any space after a tone-modifying punctuation mark.
    c                 $    dj                  |       S )Nz(?<={}).formatxs    \/var/www/auto_recruiter/arenv/lib/python3.12/site-packages/gtts/tokenizer/tokenizer_cases.py<lambda>ztone_marks.<locals>.<lambda>   s    @R@RST@U     pattern_argspattern_func)r   r   
TONE_MARKSregex r   r   
tone_marksr      s"     ''6Uer   c                  N    t        t        j                  d       j                  S )aJ  Period and comma case.

    Match if not preceded by ".<letter>" and only if followed by space.
    Won't cut in the middle/after dotted abbreviations; won't cut numbers.

    Note:
        Won't match if a dotted abbreviation ends a sentence.

    Note:
        Won't match the end of a sentence if not followed by a space.

    c                 $    dj                  |       S )Nz(?<!\.[a-z]){} r   r	   s    r   r   zperiod_comma.<locals>.<lambda>   s    188; r   r   )r   r   PERIOD_COMMAr   r   r   r   period_commar      s$     )); er   c                  N    t        t        j                  d       j                  S )zColon case.

    Match a colon ":" only if not preceded by a digit.
    Mainly to prevent a cut in the middle of time notations e.g. 10:01

    c                 $    dj                  |       S )Nz	(?<!\d){}r   r	   s    r   r   zcolon.<locals>.<lambda>+   s    <;N;Nq;Q r   r   )r   r   COLONr   r   r   r   colonr   #   s      ]]1Qer   c                     dj                  t        t        j                        t        t        j                        z
  t        t        j
                        z
  t        t        j                        z
        } t        | d       j                  S )zMatch other punctuation.

    Match other punctuation to split on; punctuation that naturally
    inserts a break in speech.

     c                 $    dj                  |       S Nz{}r   r	   s    r   r   z#other_punctuation.<locals>.<lambda><       %,,q/ r   r   )	joinsetr   ALL_PUNCr   r   r   r   r   puncs    r   other_punctuationr'   /   so     77G
g  
!	"
g""
#	$ gmm
	D T8QRXXXr   c                  R    t         j                  } t        | d       j                  S )z[Match all punctuation.

    Use as only tokenizer case to mimic gTTS 1.x tokenization.
    c                 $    dj                  |       S r    r   r	   s    r   r   z(legacy_all_punctuation.<locals>.<lambda>E   r!   r   r   )r   r$   r   r   r%   s    r   legacy_all_punctuationr*   ?   s#    
 DT8QRXXXr   N)gtts.tokenizerr   r   r   r   r   r'   r*   r   r   r   <module>r,      s#    0&	Y Yr   