


'''simple docstring'''






from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available, is_tokenizers_available


lowercase							={}

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

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


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

 try:
  if not is_tokenizers_available():
   raise OptionalDependencyNotAvailable()
 except OptionalDependencyNotAvailable:
  pass
 else:
  from .tokenization_mbartaa_fast import MBartaaTokenizerFast

else:
 import sys

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





import warnings

from ...utils import logging
from .image_processing_vilt import ViltImageProcessor


lowerCAmelCase__       :	int     				=logging.get_logger(__name__)







class      __lowercase  (__SCREAMING_SNAKE_CASE   ):





							"""simple docstring"""







							def __init__(	self       ,		*lowerCAmelCase__       ,		**lowerCAmelCase__    ):





										"""simple docstring"""




										warnings.warn(
										    'The class ViltFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
										    ' use ViltImageProcessor instead.'       ,		lowerCAmelCase__       ,		)
										super().__init__(*lowerCAmelCase__       ,		**lowerCAmelCase__    )





