Ë
    T^(h�Â  ã                   óî   — d Z ddlZddlmZ ddlmZmZmZmZm	Z	 ddl
mZmZmZmZmZmZ ddlmZ ddlmZmZmZmZmZ  e«       rd	d
lmZ ndZdddœZ ej8                  e«      ZdZ G d„ de«      Z dgZ!y)z$Tokenization classes for UDOP model.é    N)Úcopyfile)ÚDictÚListÚOptionalÚTupleÚUnioné   )ÚBatchEncodingÚEncodedInputÚPreTokenizedInputÚ	TextInputÚTextInputPairÚTruncationStrategy)ÚPreTrainedTokenizerFast)ÚPaddingStrategyÚ
TensorTypeÚadd_end_docstringsÚis_sentencepiece_availableÚloggingé   )ÚUdopTokenizerzspiece.modelztokenizer.json)Ú
vocab_fileÚtokenizer_fileaê  
            add_special_tokens (`bool`, *optional*, defaults to `True`):
                Whether or not to encode the sequences with the special tokens relative to their model.
            padding (`bool`, `str` or [`~file_utils.PaddingStrategy`], *optional*, defaults to `False`):
                Activates and controls padding. Accepts the following values:

                - `True` or `'longest'`: Pad to the longest sequence in the batch (or no padding if only a single
                  sequence if provided).
                - `'max_length'`: Pad to a maximum length specified with the argument `max_length` or to the maximum
                  acceptable input length for the model if that argument is not provided.
                - `False` or `'do_not_pad'` (default): No padding (i.e., can output a batch with sequences of different
                  lengths).
            truncation (`bool`, `str` or [`~tokenization_utils_base.TruncationStrategy`], *optional*, defaults to `False`):
                Activates and controls truncation. Accepts the following values:

                - `True` or `'longest_first'`: Truncate to a maximum length specified with the argument `max_length` or
                  to the maximum acceptable input length for the model if that argument is not provided. This will
                  truncate token by token, removing a token from the longest sequence in the pair if a pair of
                  sequences (or a batch of pairs) is provided.
                - `'only_first'`: Truncate to a maximum length specified with the argument `max_length` or to the
                  maximum acceptable input length for the model if that argument is not provided. This will only
                  truncate the first sequence of a pair if a pair of sequences (or a batch of pairs) is provided.
                - `'only_second'`: Truncate to a maximum length specified with the argument `max_length` or to the
                  maximum acceptable input length for the model if that argument is not provided. This will only
                  truncate the second sequence of a pair if a pair of sequences (or a batch of pairs) is provided.
                - `False` or `'do_not_truncate'` (default): No truncation (i.e., can output batch with sequence lengths
                  greater than the model maximum admissible input size).
            max_length (`int`, *optional*):
                Controls the maximum length to use by one of the truncation/padding parameters.

                If left unset or set to `None`, this will use the predefined model maximum length if a maximum length
                is required by one of the truncation/padding parameters. If the model has no specific maximum input
                length (like XLNet) truncation/padding to a maximum length will be deactivated.
            stride (`int`, *optional*, defaults to 0):
                If set to a number along with `max_length`, the overflowing tokens returned when
                `return_overflowing_tokens=True` will contain some tokens from the end of the truncated sequence
                returned to provide some overlap between truncated and overflowing sequences. The value of this
                argument defines the number of overlapping tokens.
            pad_to_multiple_of (`int`, *optional*):
                If set will pad the sequence to a multiple of the provided value. This is especially useful to enable
                the use of Tensor Cores on NVIDIA hardware with compute capability `>= 7.5` (Volta).
            return_tensors (`str` or [`~file_utils.TensorType`], *optional*):
                If set, will return tensors instead of list of python integers. Acceptable values are:

                - `'tf'`: Return TensorFlow `tf.constant` objects.
                - `'pt'`: Return PyTorch `torch.Tensor` objects.
                - `'np'`: Return Numpy `np.ndarray` objects.
            return_token_type_ids (`bool`, *optional*):
                Whether to return token type IDs. If left to the default, will return the token type IDs according to
                the specific tokenizer's default, defined by the `return_outputs` attribute.

                [What are token type IDs?](../glossary#token-type-ids)
            return_attention_mask (`bool`, *optional*):
                Whether to return the attention mask. If left to the default, will return the attention mask according
                to the specific tokenizer's default, defined by the `return_outputs` attribute.

                [What are attention masks?](../glossary#attention-mask)
            return_overflowing_tokens (`bool`, *optional*, defaults to `False`):
                Whether or not to return overflowing token sequences. If a pair of sequences of input ids (or a batch
                of pairs) is provided with `truncation_strategy = longest_first` or `True`, an error is raised instead
                of returning overflowing tokens.
            return_special_tokens_mask (`bool`, *optional*, defaults to `False`):
                Whether or not to return special tokens mask information.
            return_offsets_mapping (`bool`, *optional*, defaults to `False`):
                Whether or not to return `(char_start, char_end)` for each token.

                This is only available on fast tokenizers inheriting from [`PreTrainedTokenizerFast`], if using
                Python's tokenizer, this method will raise `NotImplementedError`.
            return_length  (`bool`, *optional*, defaults to `False`):
                Whether or not to return the lengths of the encoded inputs.
            verbose (`bool`, *optional*, defaults to `True`):
                Whether or not to print more information and warnings.
            **kwargs: passed to the `self.tokenize()` method

        Return:
            [`BatchEncoding`]: A [`BatchEncoding`] with the following fields:

            - **input_ids** -- List of token ids to be fed to a model.

              [What are input IDs?](../glossary#input-ids)

            - **bbox** -- List of bounding boxes to be fed to a model.

            - **token_type_ids** -- List of token type ids to be fed to a model (when `return_token_type_ids=True` or
              if *"token_type_ids"* is in `self.model_input_names`).

              [What are token type IDs?](../glossary#token-type-ids)

            - **attention_mask** -- List of indices specifying which tokens should be attended to by the model (when
              `return_attention_mask=True` or if *"attention_mask"* is in `self.model_input_names`).

              [What are attention masks?](../glossary#attention-mask)

            - **labels** -- List of labels to be fed to a model. (when `word_labels` is specified).
            - **overflowing_tokens** -- List of overflowing tokens sequences (when a `max_length` is specified and
              `return_overflowing_tokens=True`).
            - **num_truncated_tokens** -- Number of tokens truncated (when a `max_length` is specified and
              `return_overflowing_tokens=True`).
            - **special_tokens_mask** -- List of 0s and 1s, with 1 specifying added special tokens and 0 specifying
              regular sequence tokens (when `add_special_tokens=True` and `return_special_tokens_mask=True`).
            - **length** -- The length of the inputs (when `return_length=True`).
c            +       ó´  ‡ — e Zd ZdZeZddgZeZddddddg d¢g d	¢d
ddfˆ fd„	Z	e
defd„«       Z ee«      	 	 	 	 	 	 d=deeeee   ee   f   deeeee   f      deeee      eeee         f   deeee   eee      f      deeeee   ee   f   deeeeee   ee   f      defd„«       Z ee«      	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d>deeeee   ee   f   deeeee   f      deeee      eeee         f   deeee   eee      f      dedeeeef   deeeef   dee   dedee   dee   deeeef      d ee   d!ee   d"ed#ed$ed%ed&edef(d'„«       Zd?ded(ee   dedee   fd)„Z	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d@d*eee   ee   ee   f   d+ee   deeeee            deeee         dedeeeef   deeeef   dee   ded,edee   dee   deeeef      d ee   d!ee   d"ed#ed$ed%ed&edef*d-„Zddddej>                  ej@                  ddddddddddddfd*eee   ee   ee   f   d+ee   deeeee            deeee         ded.ed/edee   dedee   dee   dee   d ee   d!ee   d"ed#ed$ed%ed&edef(d0„Z!ddddej>                  ej@                  ddddddddddddfdeeef   dee   deeee         deee      ded.ed/edee   dedee   dee   dee   d ee   d!ee   d"ed#ed$ed%ed&edef(d1„Z"	 	 	 	 	 	 	 	 	 dAdeeee#f   deeeee#f      deeee         deeee         dedeeeef   deeeef   dee   dedeeeef      dee   fd2„Z$	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d@deeef   dee   deeee         deeee         dedeeeef   deeeef   dee   ded,edee   dee   deeeef      d ee   d!ee   d"ed#ed$ed%ed&edef*d3„Z%dej>                  dddfd4ee&ee#f   ef   dee   d.edee   dee   d!ee   de'fd5„Z(	 dBd6ee   d7eee      dee   fd8„Z)	 dBd6ee   d7eee      dee   fd9„Z*dBd:ed;ee   de+e   fd<„Z,ˆ xZ-S )CÚUdopTokenizerFastaÁ	  
    Construct a "fast" UDOP tokenizer (backed by HuggingFace's *tokenizers* library). Adapted from
    [`LayoutXLMTokenizer`] and [`T5Tokenizer`]. Based on
    [BPE](https://huggingface.co/docs/tokenizers/python/latest/components.html?highlight=BPE#models).

    This tokenizer inherits from [`PreTrainedTokenizerFast`] which contains most of the main methods. Users should
    refer to this superclass for more information regarding those methods.

    Args:
        vocab_file (`str`, *optional*):
            Path to the vocabulary file.

        tokenizer_file (`str`, *optional*):
            Path to the tokenizer file.
        eos_token (`str`, *optional*, defaults to `"</s>"`):
            The end of sequence token.

            <Tip>

            When building a sequence using special tokens, this is not the token that is used for the end of sequence.
            The token used is the `sep_token`.

            </Tip>

        sep_token (`str`, *optional*, defaults to `"</s>"`):
            The separator token, which is used when building a sequence from multiple sequences, e.g. two sequences for
            sequence classification or for a text and a question for question answering. It is also used as the last
            token of a sequence built with special tokens.
        unk_token (`str`, *optional*, defaults to `"<unk>"`):
            The unknown token. A token that is not in the vocabulary cannot be converted to an ID and is set to be this
            token instead.
        pad_token (`str`, *optional*, defaults to `"<pad>"`):
            The token used for padding, for example when batching sequences of different lengths.
        sep_token_box (`List[int]`, *optional*, defaults to `[1000, 1000, 1000, 1000]`):
            The bounding box to use for the special [SEP] token.
        pad_token_box (`List[int]`, *optional*, defaults to `[0, 0, 0, 0]`):
            The bounding box to use for the special [PAD] token.
        pad_token_label (`int`, *optional*, defaults to -100):
            The label to use for padding tokens. Defaults to -100, which is the `ignore_index` of PyTorch's
            CrossEntropyLoss.
        only_label_first_subword (`bool`, *optional*, defaults to `True`):
            Whether or not to only label the first subword, in case word labels are provided.
        additional_special_tokens (`List[str]`, *optional*, defaults to `["<s>NOTUSED", "</s>NOTUSED"]`):
            Additional special tokens used by the tokenizer.
    Ú	input_idsÚattention_maskNz</s>z<unk>z<pad>)éè  r   r   r   )r   r   r   r   iœÿÿÿTc                 ó‚   •— t        ‰| �  |f||||||||	|
|dœ
|¤Ž || _        || _        || _        |	| _        |
| _        y )N)
r   Ú	eos_tokenÚ	sep_tokenÚ	unk_tokenÚ	pad_tokenÚsep_token_boxÚpad_token_boxÚpad_token_labelÚonly_label_first_subwordÚadditional_special_tokens)ÚsuperÚ__init__r   r$   r%   r&   r'   )Úselfr   r   r    r!   r"   r#   r$   r%   r&   r'   r(   ÚkwargsÚ	__class__s                €úm/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/transformers/models/udop/tokenization_udop_fast.pyr*   zUdopTokenizerFast.__init__Ç   sm   ø€ ô 	‰ÑØð	
à)ØØØØØ'Ø'Ø+Ø%=Ø&?ñ	
ð ò	
ð %ˆŒð +ˆÔØ*ˆÔØ.ˆÔØ(@ˆÕ%ó    Úreturnc                 óp   — | j                   r)t        j                  j                  | j                   «      S dS ©NF)r   ÚosÚpathÚisfile)r+   s    r.   Úcan_save_slow_tokenizerz)UdopTokenizerFast.can_save_slow_tokenizerí   s$   € à26·/²/Œr�w‰w�~‰~˜dŸo™oÓ.ÐLÀuÐLr/   ÚtextÚ	text_pairÚboxesÚword_labelsÚtext_targetÚtext_pair_targetc                 ó  — |€|€t        d«      ‚|�3| j                  s| j                  «         | j                  d||||dœ|¤Ž}|�%| j	                  «         | j
                  d||dœ|¤Ž}	| j                  «        |€S |€	S 	d   d<   |S )Nz3You need to specify either `text` or `text_target`.)r7   r8   r9   r:   )r7   r8   r   Úlabels© )Ú
ValueErrorÚ_in_target_context_managerÚ_switch_to_input_modeÚ
call_boxesÚ_switch_to_target_modeÚ	_call_one)
r+   r7   r8   r9   r:   r;   r<   r,   Ú	encodingsÚtarget_encodingss
             r.   Ú__call__zUdopTokenizerFast.__call__ñ   s¾   € ð ˆ<˜KÐ/ÜÐRÓSÐSØÐð ×2Ò2Ø×*Ñ*Ô,Ø'˜Ÿ™Ðw¨T¸YÈeÐalÑwÐpvÑwˆIØÐ"Ø×'Ñ'Ô)Ø-˜tŸ~™~Ðe°;ÐJZÑeÐ^dÑeÐà×"Ñ"Ô$àÐØÐØˆ\Ø#Ð#à"2°;Ñ"?ˆI�hÑØÐr/   Fr   Úadd_special_tokensÚpaddingÚ
truncationÚ
max_lengthÚstrideÚpad_to_multiple_ofÚpadding_sideÚreturn_tensorsÚreturn_token_type_idsÚreturn_attention_maskÚreturn_overflowing_tokensÚreturn_special_tokens_maskÚreturn_offsets_mappingÚreturn_lengthÚverbosec                 óh  — d„ }|�4 ||«      st        d«      ‚t        |t        t        f«      s,t        d«      ‚t        |t        t        f«      st        d«      ‚|�t        |t        t        f«      }n5t        |t        t        f«      xr |xr t        |d   t        t        f«      }|€|n|}|€t        d«      ‚|rYt	        |«      t	        |«      k7  rt        d«      ‚t        ||«      D ]'  \  }}t	        |«      t	        |«      k7  sŒt        d	«      ‚ n"t	        |«      t	        |«      k7  rt        d	«      ‚|r®|�;t	        |«      t	        |«      k7  r$t        d
t	        |«      › dt	        |«      › d�«      ‚|�t        t        ||«      «      n|}t        |du«      } | j                  d"i d|“d|“d|“d|“d|“d|“d|“d|“d|	“d|
“d|“d|“d|“d|“d|“d|“d|“d|“d|“|¤ŽS  | j                  d"i d |“d!|“d|“d|“d|“d|“d|“d|“d|	“d|
“d|“d|“d|“d|“d|“d|“d|“d|“d|“|¤ŽS )#a3  
        Main method to tokenize and prepare for the model one or several sequence(s) or one or several pair(s) of
        sequences with word-level normalized bounding boxes and optional labels.

        Args:
            text (`str`, `List[str]`, `List[List[str]]`):
                The sequence or batch of sequences to be encoded. Each sequence can be a string, a list of strings
                (words of a single example or questions of a batch of examples) or a list of list of strings (batch of
                words).
            text_pair (`List[str]`, `List[List[str]]`):
                The sequence or batch of sequences to be encoded. Each sequence should be a list of strings
                (pretokenized string).
            boxes (`List[List[int]]`, `List[List[List[int]]]`):
                Word-level bounding boxes. Each bounding box should be normalized to be on a 0-1000 scale.
            word_labels (`List[int]`, `List[List[int]]`, *optional*):
                Word-level integer labels (for token classification tasks such as FUNSD, CORD).
        c                 ó  — t        | t        «      ryt        | t        t        f«      rft	        | «      dk(  ryt        | d   t        «      ryt        | d   t        t        f«      r)t	        | d   «      dk(  xs t        | d   d   t        «      S yy)NTr   F)Ú
isinstanceÚstrÚlistÚtupleÚlen)Úts    r.   Ú_is_valid_text_inputz:UdopTokenizerFast.call_boxes.<locals>._is_valid_text_input?  sz   € Ü˜!œSÔ!àÜ˜A¤¤e˜}Ô-ä�q“6˜Q’;àÜ  !¡¤cÔ*àÜ  !¡¤t¬U mÔ4ä˜q ™t›9¨™>ÒE¬Z¸¸!¹¸Q¹ÄÓ-EÐEà àr/   NzStext input must of type `str` (single example) or `List[str]` (batch of examples). ztwords must of type `List[str]` (single pretokenized example), or `List[List[str]]` (batch of pretokenized examples).ztWords must of type `List[str]` (single pretokenized example), or `List[List[str]]` (batch of pretokenized examples).r   z-You must provide corresponding bounding boxesz@You must provide words and boxes for an equal amount of examplesz:You must provide as many words as there are bounding boxeszbatch length of `text`: z- does not match batch length of `text_pair`: ú.Úbatch_text_or_text_pairsÚis_pairr9   r:   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r7   r8   r?   )	r@   rZ   r\   r]   r^   ÚzipÚboolÚbatch_encode_plus_boxesÚencode_plus_boxes)r+   r7   r8   r9   r:   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r,   r`   Ú
is_batchedÚwordsÚwords_exampleÚboxes_examplerb   rc   s                               r.   rC   zUdopTokenizerFast.call_boxes  sa  € òV	ð( Ð á'¨Ô-Ü Ð!vÓwÐwÜ˜i¬$´¨Ô7Ü ðMóð ô ˜d¤T¬5 MÔ2Ü ðMóð ð
 Ð Ü# D¬4´¨-Ó8‰Jä# D¬4´¨-Ó8Òh¸TÒhÄjÐQUÐVWÑQXÔ[_ÔafÐZgÓFhˆJà!Ð)‘¨yˆØˆ=ÜÐLÓMÐMÙÜ�5‹zœS ›ZÒ'Ü Ð!cÓdÐdÜ03°E¸5Ó0Aò cÑ,�˜}Ü�}Ó%¬¨]Ó);Ó;Ü$Ð%aÓbÐbñcô �5‹zœS ›ZÒ'Ü Ð!]Ó^Ð^áØÐ$¬¨T«´c¸)³nÒ)DÜ Ø.¬s°4«y¨kð :Ü˜I›Ð' qð*óð ð FOÐEZ¤t¬C°°iÓ,@Ô'AÐ`dÐ$Ü˜9¨DÐ0Ó1ˆGØ/�4×/Ñ/ò Ù)Aðáðñ ðñ (ð	ñ
 $6ðñ  ðñ &ðñ &ðñ ðñ $6ðñ *ðñ  .ðñ '<ðñ '<ðñ +Dðñ  ,Fð!ñ" (>ð#ñ$ ,ð%ñ&  Øñ)ð ð. *�4×)Ñ)ò Ùðá#ðñ ðñ (ð	ñ
 $6ðñ  ðñ &ðñ &ðñ ðñ $6ðñ *ðñ  .ðñ '<ðñ '<ðñ +Dðñ  ,Fð!ñ" (>ð#ñ$ ,ð%ñ&  Øñ)ð r/   Úpairc                 óÞ   — |r||fgn|g}|j                  d| j                  j                  «      | j                  _         | j                  j                  |f|ddœ|¤Ž}|d   j                  S )NÚsplit_special_tokensF©rI   Úis_pretokenizedr   )ÚpopÚ
_tokenizerÚencode_special_tokensÚencode_batchÚtokens)r+   r7   rl   rI   r,   Úbatched_inputrF   s          r.   ÚtokenizezUdopTokenizerFast.tokenize­  sw   € Ù*.˜$ ˜™°T°Fˆà06·
±
Ø" D§O¡O×$IÑ$Ió1
ˆ�‰Ô-ð 1�D—O‘O×0Ñ0Øð
Ø.@ÐRWñ
Ø[añ
ˆ	ð ˜‰|×"Ñ"Ð"r/   rb   rc   Úis_split_into_wordsc           	      óØ   —  | j                   d|||||dœ|¤Ž\  }}}} | j                  di d|“d|“d|“d|“d|“d|“d|“d	|“d
|	“d|
“d|“d|“d|“d|“d|“d|“d|“d|“d|“d|“|¤ŽS )aÉ  
        Tokenize and prepare for the model a list of sequences or a list of pairs of sequences.

        <Tip warning={true}>

        This method is deprecated, `__call__` should be used instead.

        </Tip>

        Args:
            batch_text_or_text_pairs (`List[str]`, `List[Tuple[str, str]]`, `List[List[str]]`, `List[Tuple[List[str], List[str]]]`, and for not-fast tokenizers, also `List[List[int]]`, `List[Tuple[List[int], List[int]]]`):
                Batch of sequences or pair of sequences to be encoded. This can be a list of
                string/string-sequences/int-sequences or a list of pair of string/string-sequences/int-sequence (see
                details in `encode_plus`).
        ©rJ   rK   rL   rN   rW   rb   rc   r9   r:   rI   Úpadding_strategyÚtruncation_strategyrL   rM   rx   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r?   )Ú"_get_padding_truncation_strategiesÚ_batch_encode_plus_boxes)r+   rb   rc   r9   r:   rI   rJ   rK   rL   rM   rx   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r,   r{   r|   s                           r.   rf   z)UdopTokenizerFast.batch_encode_plus_boxesº  s%  € ðZ ElÀD×DkÑDkð E
ØØ!Ø!Ø1ØñE
ð ñE
ÑAÐÐ-¨z¸6ð -ˆt×,Ñ,ò 
Ù%=ð
áð
ñ ð
ñ $ð	
ñ
  2ð
ñ .ð
ñ !4ð
ñ "ð
ñ ð
ñ !4ð
ñ  2ð
ñ &ð
ñ *ð
ñ #8ð
ñ #8ð
ñ  '@ð!
ñ" (Bð#
ñ$ $:ð%
ñ& (ð'
ñ( Øñ+
ð 	
r/   r{   r|   c                 ó^  — t        |t        «      st        dt        |«      › d�«      ‚| j	                  ||||	|
|¬«       |r$|D ��cg c]  \  }}|j                  «       |f‘Œ }}}| j                  j                  ||d¬«      }|D �cg c]  }| j                  ||||||�dn|||¬«      ‘Œ! }}i }|d   d   j                  «       D ]'  }|D ���cg c]  \  }}||   D ]  }|‘Œ Œ }}}}|||<   Œ) |D ���cg c]  \  }}|D ]  }|‘Œ Œ } }}}|r2g }!t        |«      D ]  \  }"\  }#}|!|"gt        |#d   «      z  z  }!Œ |!|d	<   |d   D ]  }$| j                  |$||«       Œ g }%t        t        |d   «      «      D ]õ  }&|r	|d	   |&   }'n|&}'g }(t        |d   |&   | |&   j                  | |&   j                   «      D ]£  \  })}*}+|+�;|r!|*dk(  r|(j#                  | j$                  «       Œ,|(j#                  ||'   |+   «       ŒD|)| j&                  k(  r|(j#                  | j(                  «       Œo|)| j*                  k(  r|(j#                  | j$                  «       Œšt-        d
«      ‚ |%j#                  |(«       Œ÷ |%|d<   |��g },t        t        |d   «      «      D ]ë  }&|r	|d	   |&   }'n|&}'g }-d}.t        |d   |&   |d   |&   | |&   j                   «      D ]ž  \  })}/}+|+�{| j.                  r>|/d   dk(  r|.s|-j#                  ||'   |+   «       n3|-j#                  | j0                  «       n|-j#                  ||'   |+   «       | j3                  |)«      dk(  rd}.Œ�d}.Œ„|-j#                  | j0                  «       Œ  |,j#                  |-«       Œí |,|d<   |s|d= t5        || |¬«      S c c}}w c c}w c c}}}w c c}}}w )Nz/batch_text_or_text_pairs has to be a list (got ú))r{   r|   rL   rM   rN   rO   Tro   )ÚencodingrQ   rR   rS   rT   rU   rV   rW   r   r   Úoverflow_to_sample_mappingzId not recognizedÚbboxFÚoffset_mappingÚ r>   )Útensor_type)rZ   r\   Ú	TypeErrorÚtypeÚset_truncation_and_paddingÚsplitrr   rt   Ú_convert_encodingÚkeysÚ	enumerater^   Ú&_eventual_warn_about_too_long_sequenceÚrangerd   Úsequence_idsÚword_idsÚappendr%   Úsep_token_idr$   Úpad_token_idr@   r'   r&   Údecoder
   )0r+   rb   rc   r9   r:   rI   r{   r|   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r,   r7   r8   rF   r�   Útokens_and_encodingsÚsanitized_tokensÚkeyÚitemÚ_ÚeÚstackÚsanitized_encodingsr‚   ÚiÚtoksr   Útoken_boxesÚbatch_indexÚoriginal_indexÚtoken_boxes_exampleÚidÚsequence_idÚword_idr>   Úlabels_exampleÚprevious_token_emptyÚoffsets0                                                   r.   r~   z*UdopTokenizerFast._batch_encode_plus_boxes  s¢  € ô6 Ð2´DÔ9ÜÐMÌdÐSkÓNlÐMmÐmnÐoÓpÐpð 	×'Ñ'Ø-Ø 3Ø!ØØ1Ø%ð 	(ô 	
ñ ØYq×'rÁoÀdÈI¨¯©«°yÒ(AÐ'rÐ$Ñ'rà—O‘O×0Ñ0Ø$Ø1Ø ð 1ó 
ˆ	ð2 &ö 
ð ð ×"Ñ"Ø!Ø&;Ø&;Ø*CØ+EàÐ*ñ (,à+Ø+Øð #õ ð 
Ðð  
ð, ÐØ'¨Ñ*¨1Ñ-×2Ñ2Ó4ò 	*ˆCØ&:×NÐN™7˜4 ÀDÈÁIÒN¸q’QÐN�QÐNˆEÒNØ$)Ð˜SÒ!ð	*ð 1E×SÐS¡W Q¨ÈdÒSÈšqÐS˜qÐSÐÒSñ %Ø)+Ð&Ü )Ð*>Ó ?ò K‘�‘9�D˜!Ø*¨q¨c´C¸¸[Ñ8IÓ4JÑ.JÑJÑ*ðKà=WÐÐ9Ñ:à)¨+Ñ6ò 	XˆIØ×7Ñ7¸	À:ÈwÕWð	Xð ˆÜ ¤Ð%5°kÑ%BÓ!CÓDò 	4ˆKÙ(Ø!1Ð2NÑ!OÐP[Ñ!\‘à!,�Ø"$ÐÜ,/Ø  Ñ-¨kÑ:Ø# KÑ0×=Ñ=Ø# KÑ0×9Ñ9ó-ò >Ñ(��K ð
 Ð&Ù ;°!Ò#3Ø+×2Ñ2°4×3EÑ3EÕFà+×2Ñ2°5¸Ñ3HÈÑ3QÕRà˜T×.Ñ.Ò.Ø+×2Ñ2°4×3EÑ3EÕFØ˜t×0Ñ0Ò0Ø+×2Ñ2°4×3EÑ3EÕFä(Ð)<Ó=Ð=ð!>ð" ×ÑÐ2Õ3ð/	4ð2 $/Ð˜Ñ ð Ñ"ØˆFÜ$¤SÐ)9¸+Ñ)FÓ%GÓHò .�Ù,Ø%5Ð6RÑ%SÐT_Ñ%`‘Nà%0�NØ!#�Ø',Ð$Ü+.Ø$ [Ñ1°+Ñ>Ø$Ð%5Ñ6°{ÑCØ'¨Ñ4×=Ñ=ó,ò DÑ'�B˜ ð
 Ð*Ø×8Ò8Ø% a™y¨Aš~Ñ6Jà .× 5Ñ 5°kÀ.Ñ6QÐRYÑ6ZÕ [à .× 5Ñ 5°d×6JÑ6JÕ Kà*×1Ñ1°+¸nÑ2MÈgÑ2VÔWØŸ;™; r›?¨bÒ0Ø37Ñ0à38Ñ0à&×-Ñ-¨d×.BÑ.BÕCð'Dð( —‘˜nÕ-ð7.ð: *0Ð˜XÑ&á)Ø$Ð%5Ð6äÐ-Ð/BÐP^Ô_Ð_ùóo (sùò 
ùô0 OùäSs   ÁNÂ$NÃN!
Ã6N(c                 óÒ  — |r||fgn|g}|g}|�|gnd } | j                   |fi dt        |d u«      “d|“d|“d|“d|“d|“d|“d|	“d	|
“d
|“d|“d|“d|“d|“d|“d|“d|“d|“|¤Ž}|€`|s^t        |j                  «       D ��ci c].  \  }}|t	        |«      dkD  rt        |d   t        «      r|d   n|“Œ0 c}}|j                  «      }| j                  |d   ||«       |S c c}}w )Nrc   r9   r:   rI   r{   r|   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r   r   )	r~   re   r
   Úitemsr^   rZ   r\   rF   rŽ   )r+   r7   r8   r9   r:   rI   r{   r|   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r,   rv   Úbatched_boxesÚbatched_word_labelsÚbatched_outputr˜   Úvalues                              r.   Ú_encode_plus_boxesz$UdopTokenizerFast._encode_plus_boxesª  s‘  € ñ6 09˜$ 	Ð*Ñ+¸t¸fˆØ˜ˆØ/:Ð/F˜{™mÈDÐØ6˜×6Ñ6Øò
ä˜¨$Ð.Ô/ð
ñ  ð
ñ ,ð	
ñ
  2ð
ñ .ð
ñ !4ð
ñ "ð
ñ ð
ñ  2ð
ñ &ð
ñ *ð
ñ #8ð
ñ #8ð
ñ '@ð
ñ  (Bð!
ñ" $:ð#
ñ$ (ð%
ñ& Øñ)
ˆð2 Ð!Ñ*CÜ*ð '5×&:Ñ&:Ó&<÷á"˜˜Uð ¤S¨£Z°!¢^¼
À5ÈÁ8ÌTÔ8R˜˜qšÐX]Ñ]óð ×(Ñ(óˆNð 	×3Ñ3°NÀ;Ñ4OÐQ[Ð]dÔeàÐùós   Â3C#
c                 óF   —  | j                   |f||||||||	|
dœ	|¤Ž}|d   S )aA  
        Args:
        Converts a string to a sequence of ids (integer), using the tokenizer and vocabulary. Same as doing
        `self.convert_tokens_to_ids(self.tokenize(text))`.
            text (`str`, `List[str]` or `List[int]`):
                The first sequence to be encoded. This can be a string, a list of strings (tokenized string using the
                `tokenize` method) or a list of integers (tokenized string ids using the `convert_tokens_to_ids`
                method).
            text_pair (`str`, `List[str]` or `List[int]`, *optional*):
                Optional second sequence to be encoded. This can be a string, a list of strings (tokenized string using
                the `tokenize` method) or a list of integers (tokenized string ids using the `convert_tokens_to_ids`
                method).
        )	r8   r9   r:   rI   rJ   rK   rL   rM   rP   r   )rg   )r+   r7   r8   r9   r:   rI   rJ   rK   rL   rM   rP   r,   Úencoded_inputss                r.   Úencode_boxeszUdopTokenizerFast.encode_boxesî  sP   € ð6 0˜×/Ñ/Øð
àØØ#Ø1ØØ!Ø!ØØ)ñ
ð ñ
ˆð ˜kÑ*Ð*r/   c           	      óØ   —  | j                   d|||||dœ|¤Ž\  }}}} | j                  di d|“d|“d|“d|“d|“d|“d|“d	|“d
|	“d|
“d|“d|“d|“d|“d|“d|“d|“d|“d|“d|“|¤ŽS )ax  
        Tokenize and prepare for the model a sequence or a pair of sequences.

        <Tip warning={true}>

        This method is deprecated, `__call__` should be used instead.

        </Tip>

        Args:
            text (`str`, `List[str]` or (for non-fast tokenizers) `List[int]`):
                The first sequence to be encoded. This can be a string, a list of strings (tokenized string using the
                `tokenize` method) or a list of integers (tokenized string ids using the `convert_tokens_to_ids`
                method).
            text_pair (`str`, `List[str]` or `List[int]`, *optional*):
                Optional second sequence to be encoded. This can be a string, a list of strings (tokenized string using
                the `tokenize` method) or a list of integers (tokenized string ids using the `convert_tokens_to_ids`
                method).
        rz   r7   r8   r9   r:   rI   r{   r|   rL   rM   rx   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r?   )r}   r°   )r+   r7   r8   r9   r:   rI   rJ   rK   rL   rM   rx   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   r,   r{   r|   s                           r.   rg   z#UdopTokenizerFast.encode_plus_boxes  s%  € ðZ ElÀD×DkÑDkð E
ØØ!Ø!Ø1ØñE
ð ñE
ÑAÐÐ-¨z¸6ð 'ˆt×&Ñ&ò 
Ùð
áð
ñ ð
ñ $ð	
ñ
  2ð
ñ .ð
ñ !4ð
ñ "ð
ñ ð
ñ !4ð
ñ  2ð
ñ &ð
ñ *ð
ñ #8ð
ñ #8ð
ñ  '@ð!
ñ" (Bð#
ñ$ $:ð%
ñ& (ð'
ñ( Øñ+
ð 	
r/   r²   c                 ó.  — |€d| j                   v }|| j                   d      }|t        j                  k(  rt        |«      }|�|�||z  dk7  r||z  dz   |z  }|t        j                  k7  xr t        |«      |k7  }|rd|vrdgt        |«      z  |d<   |�r|t        |«      z
  }	|�|n| j
                  }|dk(  r |r|d   dg|	z  z   |d<   d|v r|d   | j                  g|	z  z   |d<   d|v r|d   | j                  g|	z  z   |d<   d|v r|d   | j                  g|	z  z   |d<   d|v r|d   dg|	z  z   |d<   || j                  g|	z  z   || j                   d   <   |S |d	k(  r |rdg|	z  |d   z   |d<   d|v r| j                  g|	z  |d   z   |d<   d|v r| j                  g|	z  |d   z   |d<   d|v r| j                  g|	z  |d   z   |d<   d|v rdg|	z  |d   z   |d<   | j                  g|	z  |z   || j                   d   <   |S t        d
t        |«      z   «      ‚|S )a7  
        Pad encoded inputs (on left/right and up to predefined length or max length in the batch)

        Args:
            encoded_inputs:
                Dictionary of tokenized inputs (`List[int]`) or batch of tokenized inputs (`List[List[int]]`).
            max_length: maximum length of the returned list and optionally padding length (see below).
                Will truncate by taking into account the special tokens.
            padding_strategy: PaddingStrategy to use for padding.

                - PaddingStrategy.LONGEST Pad to the longest sequence in the batch
                - PaddingStrategy.MAX_LENGTH: Pad to the max length (default)
                - PaddingStrategy.DO_NOT_PAD: Do not pad
                The tokenizer padding sides are defined in self.padding_side:

                    - 'left': pads on the left of the sequences
                    - 'right': pads on the right of the sequences
            pad_to_multiple_of: (optional) Integer if set will pad the sequence to a multiple of the provided value.
                This is especially useful to enable the use of Tensor Core on NVIDIA hardware with compute capability
                `>= 7.5` (Volta).
            padding_side (`str`, *optional*):
                The side on which the model should have padding applied. Should be selected between ['right', 'left'].
                Default value is picked from the class attribute of the same name.
            return_attention_mask:
                (optional) Set to False to avoid returning attention mask (default: set to model specifics)
        r   r   r   ÚrightÚtoken_type_idsrƒ   r>   Úspecial_tokens_maskÚleftzInvalid padding strategy:)Úmodel_input_namesr   ÚLONGESTr^   Ú
DO_NOT_PADrO   Úpad_token_type_idr%   r&   r”   r@   r[   )
r+   r²   rL   r{   rN   rO   rR   Úrequired_inputÚneeds_to_be_paddedÚ
differences
             r.   Ú_padzUdopTokenizerFast._padh  s  € ðH !Ð(Ø$4¸×8NÑ8NÐ$NÐ!à'¨×(>Ñ(>¸qÑ(AÑBˆàœ×6Ñ6Ò6Ü˜^Ó,ˆJàÐ!Ð&8Ð&DÈ*ÐWiÑJiÐmnÒJnØ%Ð);Ñ;¸qÑ@ÐDVÑVˆJà-´×1KÑ1KÑKÒqÔPSÐTbÓPcÐgqÑPqÐñ !Ð%5¸^Ñ%KØ01¨s´S¸Ó5HÑ/HˆNÐ+Ñ,âØ#¤c¨.Ó&9Ñ9ˆJØ+7Ð+C™<È×IZÑIZˆLØ˜wÒ&Ù(Ø7EÐFVÑ7WÐ[\ÐZ]Ð`jÑZjÑ7j�NÐ#3Ñ4Ø# ~Ñ5à&Ð'7Ñ8¸D×<RÑ<RÐ;SÐV`Ñ;`Ñ`ð #Ð#3Ñ4ð ˜^Ñ+Ø-;¸FÑ-CÀt×GYÑGYÐFZÐ]gÑFgÑ-g�N 6Ñ*Ø˜~Ñ-Ø/=¸hÑ/GÈ4×K_ÑK_ÐJ`ÐcmÑJmÑ/m�N 8Ñ,Ø(¨NÑ:Ø<JÐK`Ñ<aÐefÐdgÐjtÑdtÑ<t�NÐ#8Ñ9Ø<JÈd×N_ÑN_ÐM`ÐcmÑMmÑ<m�˜t×5Ñ5°aÑ8Ñ9ð$ Ðð#  Ò'Ù(Ø89°s¸ZÑ7GÈ.ÐYiÑJjÑ7j�NÐ#3Ñ4Ø# ~Ñ5Ø8<×8NÑ8NÐ7OÐR\Ñ7\Ð_mØ(ñ`ñ 8�NÐ#3Ñ4ð ˜^Ñ+Ø.2×.@Ñ.@Ð-AÀJÑ-NÐQ_Ð`fÑQgÑ-g�N 6Ñ*Ø˜~Ñ-Ø04×0DÑ0DÐ/EÈ
Ñ/RÐUcÐdlÑUmÑ/m�N 8Ñ,Ø(¨NÑ:Ø=>¸CÀ*Ñ<LÈ~Ð^sÑOtÑ<t�NÐ#8Ñ9Ø=A×=NÑ=NÐ<OÐR\Ñ<\Ð_mÑ<m�˜t×5Ñ5°aÑ8Ñ9ð Ðô !Ð!<¼sÀ<Ó?PÑ!PÓQÐQàÐr/   Útoken_ids_0Útoken_ids_1c                 óV   — |€|| j                   gz   S | j                   g}||z   |z   |z   S )a›  
        Build model inputs from a sequence or a pair of sequence for sequence classification tasks by concatenating and
        adding special tokens. An XLM-RoBERTa sequence has the following format:

        - single sequence: `<s> X </s>`
        - pair of sequences: `<s> A </s></s> B </s>`

        Args:
            token_ids_0 (`List[int]`):
                List of IDs to which the special tokens will be added.
            token_ids_1 (`List[int]`, *optional*):
                Optional second list of IDs for sequence pairs.

        Returns:
            `List[int]`: List of [input IDs](../glossary#input-ids) with the appropriate special tokens.
        )r“   ©r+   rÂ   rÃ   Úseps       r.   Ú build_inputs_with_special_tokensz2UdopTokenizerFast.build_inputs_with_special_tokensÁ  sA   € ð( ÐØ $×"3Ñ"3Ð!4Ñ4Ð4Ø× Ñ Ð!ˆØ˜SÑ  ;Ñ.°Ñ4Ð4r/   c                 ót   — | j                   g}|€t        ||z   «      dgz  S t        ||z   |z   |z   «      dgz  S )aÑ  
        Create a mask from the two sequences passed to be used in a sequence-pair classification task. XLM-RoBERTa does
        not make use of token type ids, therefore a list of zeros is returned.

        Args:
            token_ids_0 (`List[int]`):
                List of IDs.
            token_ids_1 (`List[int]`, *optional*):
                Optional second list of IDs for sequence pairs.

        Returns:
            `List[int]`: List of zeros.

        r   )r“   r^   rÅ   s       r.   Ú$create_token_type_ids_from_sequencesz6UdopTokenizerFast.create_token_type_ids_from_sequencesÚ  sP   € ð$ × Ñ Ð!ˆàÐÜ�{ SÑ(Ó)¨Q¨CÑ/Ð/Ü�; Ñ$ {Ñ2°SÑ8Ó9¸Q¸CÑ?Ð?r/   Úsave_directoryÚfilename_prefixc                 óÈ  — | j                   st        d«      ‚t        j                  j	                  |«      st
        j                  d|› d�«       y t        j                  j                  ||r|dz   ndt        d   z   «      }t        j                  j                  | j                  «      t        j                  j                  |«      k7  rt        | j                  |«       |fS )NzhYour fast tokenizer does not have the necessary information to save the vocabulary for a slow tokenizer.zVocabulary path (z) should be a directory.ú-r…   r   )r6   r@   r3   r4   ÚisdirÚloggerÚerrorÚjoinÚVOCAB_FILES_NAMESÚabspathr   r   )r+   rÊ   rË   Úout_vocab_files       r.   Úsave_vocabularyz!UdopTokenizerFast.save_vocabularyó  sµ   € Ø×+Ò+Üðóð ô
 �w‰w�}‰}˜^Ô,Ü�L‰LÐ,¨^Ð,<Ð<TÐUÔVØÜŸ™Ÿ™Ø±o˜_¨sÒ2È2ÔQbÐcoÑQpÑpó
ˆô �7‰7�?‰?˜4Ÿ?™?Ó+¬r¯w©w¯©¸~Ó/NÒNÜ�T—_‘_ nÔ5àÐ Ð r/   )NNNNNN)NNNTFNNr   NNNNNFFFFTr2   )NNNTFNNr   FNNNNNFFFFT)	NNNTFNNr   N)N).Ú__name__Ú
__module__Ú__qualname__Ú__doc__rÒ   Úvocab_files_namesrº   r   Úslow_tokenizer_classr*   Úpropertyre   r6   r   ÚUDOP_ENCODE_KWARGS_DOCSTRINGr   r   r   r   r   Úintr
   rH   r[   r   r   r   rC   rw   r   rf   r¼   ÚDO_NOT_TRUNCATEr~   r°   r   r³   rg   r   ÚdictrÁ   rÇ   rÉ   r   rÕ   Ú__classcell__)r-   s   @r.   r   r   ”   sÏ  ø„ ñ,ð\ *ÐØ$Ð&6Ð7ÐØ(Ðð ØØØØØÚ.Ú"ØØ!%Ø"&õ$AðL ðM¨ò Mó ðMñ Ð4Ó5ð _cØQUØ?CØCGØeið ñ à�IÐ0°$°y±/À4ÐHYÑCZÐZÑ[ð ð ˜EÐ"3°TÐ:KÑ5LÐ"LÑMÑNð ð �T˜$˜s™)‘_ d¨4°°S±	©?Ñ&;Ð;Ñ<ð	 ð
 ˜e D¨¡I¨t°D¸±I©Ð$>Ñ?Ñ@ð ð ˜9Ð&7¸¸i¹È$ÐO`ÑJaÐaÑbð ð #Ø�)Ð.°°Y±ÀÐFWÑAXÐXÑYñ
ð ð 
ò ó 6ð ñD Ð4Ó5ð RVØ?CØCGØ#'Ø5:Ø;?Ø$(ØØ,0Ø&*Ø;?Ø04Ø04Ø*/Ø+0Ø',Ø#Øñ)Uà�IÐ0°$°y±/À4ÐHYÑCZÐZÑ[ðUð ˜EÐ"3°TÐ:KÑ5LÐ"LÑMÑNðUð �T˜$˜s™)‘_ d¨4°°S±	©?Ñ&;Ð;Ñ<ð	Uð
 ˜e D¨¡I¨t°D¸±I©Ð$>Ñ?Ñ@ðUð !ðUð �t˜S /Ð1Ñ2ðUð ˜$ Ð%7Ð7Ñ8ðUð ˜S‘MðUð ðUð % S™MðUð ˜s‘mðUð !  s¨J Ñ!7Ñ8ðUð  (¨™~ðUð  (¨™~ðUð  $(ð!Uð" %)ð#Uð$ !%ð%Uð& ð'Uð( ð)Uð, 
ò-Uó 6ðUñp#˜Sð #¨°©ð #ÐRVð #ÐmqÐruÑmvó #ð( #'Ø15Ø15Ø#'Ø5:Ø;?Ø$(ØØ$)Ø,0Ø&*Ø;?Ø04Ø04Ø*/Ø+0Ø',Ø#Øñ3L
à"'Ø�‰OØ�ÑØÐ"Ñ#ð%ñ#
ðL
ð ˜$‘ðL
ð ˜˜T $ s¡)™_Ñ-Ñ.ðL
ð ˜d 4¨¡9™oÑ.ðL
ð !ðL
ð �t˜S /Ð1Ñ2ðL
ð ˜$ Ð%7Ð7Ñ8ðL
ð ˜S‘MðL
ð ðL
ð "ðL
ð  % S™Mð!L
ð" ˜s‘mð#L
ð$ !  s¨J Ñ!7Ñ8ð%L
ð&  (¨™~ð'L
ð(  (¨™~ð)L
ð* $(ð+L
ð, %)ð-L
ð. !%ð/L
ð0 ð1L
ð2 ð3L
ð6 
ó7L
ðj #'Ø15Ø15Ø#'Ø,;×,FÑ,FØ2D×2TÑ2TØ$(ØØ,0Ø&*Ø(,Ø04Ø04Ø*/Ø+0Ø',Ø#Øñ1``à"'Ø�‰OØ�ÑØÐ"Ñ#ð%ñ#
ð``ð ˜$‘ð``ð ˜˜T $ s¡)™_Ñ-Ñ.ð``ð ˜d 4¨¡9™oÑ.ð``ð !ð``ð *ð``ð 0ð``ð ˜S‘Mð``ð ð``ð % S™Mð``ð  ˜s‘mð!``ð" ! ™ð#``ð$  (¨™~ð%``ð&  (¨™~ð'``ð( $(ð)``ð* %)ð+``ð, !%ð-``ð. ð/``ð0 ð1``ð4 
ó5``ðJ 26Ø+/Ø+/Ø#'Ø,;×,FÑ,FØ2D×2TÑ2TØ$(ØØ,0Ø&*Ø)-Ø04Ø04Ø*/Ø+0Ø',Ø#Øñ)Bà�IÐ0Ð0Ñ1ðBð Ð-Ñ.ðBð ˜˜T #™Y™Ñ(ð	Bð
 ˜d 3™iÑ(ðBð !ðBð *ðBð 0ðBð ˜S‘MðBð ðBð % S™MðBð ˜s‘mðBð ! ™ðBð  (¨™~ðBð  (¨™~ðBð  $(ð!Bð" %)ð#Bð$ !%ð%Bð& ð'Bð( ð)Bð, 
ó-BðN RVØ+/Ø15Ø#'Ø5:Ø;?Ø$(ØØ;?ñ)+à�IÐ0°,Ð>Ñ?ð)+ð ˜E )Ð->ÀÐ"LÑMÑNð)+ð ˜˜T #™Y™Ñ(ð	)+ð
 ˜d 4¨¡9™oÑ.ð)+ð !ð)+ð �t˜S /Ð1Ñ2ð)+ð ˜$ Ð%7Ð7Ñ8ð)+ð ˜S‘Mð)+ð ð)+ð !  s¨J Ñ!7Ñ8ð)+ð 
ˆc‰ó)+ð\ 26Ø+/Ø15Ø#'Ø5:Ø;?Ø$(ØØ$)Ø,0Ø&*Ø;?Ø04Ø04Ø*/Ø+0Ø',Ø#Øñ+L
à�IÐ0Ð0Ñ1ðL
ð Ð-Ñ.ðL
ð ˜˜T #™Y™Ñ(ð	L
ð
 ˜d 4¨¡9™oÑ.ðL
ð !ðL
ð �t˜S /Ð1Ñ2ðL
ð ˜$ Ð%7Ð7Ñ8ðL
ð ˜S‘MðL
ð ðL
ð "ðL
ð % S™MðL
ð ˜s‘mðL
ð !  s¨J Ñ!7Ñ8ðL
ð  (¨™~ðL
ð   (¨™~ð!L
ð" $(ð#L
ð$ %)ð%L
ð& !%ð'L
ð( ð)L
ð* ð+L
ð. 
ó/L
ðd %)Ø,;×,FÑ,FØ,0Ø&*Ø04ñWà˜d 3¨Ð#4Ñ5°}ÐDÑEðWð ˜S‘MðWð *ð	Wð
 % S™MðWð ˜s‘mðWð  (¨™~ðWð 
óWðt JNñ5Ø ™9ð5Ø3;¸DÀ¹IÑ3Fð5à	ˆc‰ó5ð4 JNñ@Ø ™9ð@Ø3;¸DÀ¹IÑ3Fð@à	ˆc‰ó@ñ2!¨cð !ÀHÈSÁMð !Ð]bÐcfÑ]g÷ !r/   r   )"rÙ   r3   Úshutilr   Útypingr   r   r   r   r   Útokenization_utils_baser
   r   r   r   r   r   Útokenization_utils_fastr   Úutilsr   r   r   r   r   Útokenization_udopr   rÒ   Ú
get_loggerrÖ   rÏ   rÝ   r   Ú__all__r?   r/   r.   ú<module>rê      s�   ðñ +ã 	Ý ß 5Õ 5÷÷ õ ?ß iÕ iñ ÔÞ0à€Mð $2ÐEUÑVÐ ð 
ˆ×	Ñ	˜HÓ	%€ðe Ð ôPp!Ð/ô p!ðf Ð
�r/   