





"""simple docstring"""




from __future__ import annotations






def lowerCamelCase__   (							snake_case_     :  list[int | float]	,				snake_case_     :  int	,				snake_case_     :  int	)				->    List[str]:
   if len(__a	) == 0:
      raise ValueError('''find_max() arg is an empty sequence'''	)
   if (
       left >= len(__a	)
       or left < -len(__a	)
       or right >= len(__a	)
       or right < -len(__a	)
   ):
      raise IndexError('''list index out of range'''	)
   if left == right:
      return nums[left]
   __snake_case								=       (left + right) >> 1  # the middle
   __snake_case								=       find_max(__a	,				__a	,				__a	)  # find max in range[left, mid]
   __snake_case								=       find_max(__a	,				mid + 1	,				__a	)  # find max in range[mid + 1, right]

   return left_max if left_max >= right_max else right_max


if __name__ == "__main__":
    import doctest

    doctest.testmod(verbose=True)








from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_sentencepiece_available,
    is_tokenizers_available,
    is_torch_available,
)


snake_case_           =      {}

try:
    if not is_sentencepiece_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    snake_case_           =      ['NllbTokenizer']

try:
    if not is_tokenizers_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    snake_case_           =      ['NllbTokenizerFast']


if TYPE_CHECKING:
    try:
        if not is_sentencepiece_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .tokenization_nllb import NllbTokenizer

    try:
        if not is_tokenizers_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .tokenization_nllb_fast import NllbTokenizerFast

else:
    import sys

    snake_case_           =      _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)

