


import warnings

from ...utils import logging
from .image_processing_flava import FlavaImageProcessor


__lowerCAmelCase      :					int    							=logging.get_logger(__name__)
class 			_lowercase (     _a			):






				'''simple docstring'''



				def __init__(			self     :Any     ,     *lowerCAmelCase__     :int     ,     **lowerCAmelCase__     :Dict      )						->     None:
										warnings.warn(
										    '''The class FlavaFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
										    ''' use FlavaImageProcessor instead.'''     ,     _SCREAMING_SNAKE_CASE     ,     )
										super().__init__(*_SCREAMING_SNAKE_CASE     ,     **_SCREAMING_SNAKE_CASE      )






from typing import TYPE_CHECKING

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


__a							     =					{}

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

try:
     if not is_tokenizers_available():
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     pass
else:
     __a							     =					['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

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