
'''simple docstring'''







from typing import TYPE_CHECKING

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


lowercase					:							int   =      {'processing_layoutxlm': ['LayoutXLMProcessor']}

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

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

if TYPE_CHECKING:
					from .processing_layoutxlm import LayoutXLMProcessor

					try:
										if not is_sentencepiece_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .tokenization_layoutxlm import LayoutXLMTokenizer

					try:
										if not is_tokenizers_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .tokenization_layoutxlm_fast import LayoutXLMTokenizerFast

else:
					import sys

					lowercase					:							List[str]   =      _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)



'''simple docstring'''







from abc import ABC, abstractmethod
from argparse import ArgumentParser


class 		__UpperCAmelCase   (      _lowerCamelCase		):


							@staticmethod
							@abstractmethod
							def 				lowerCamelCase       ( lowerCAmelCase_						):





								"""simple docstring"""






								raise NotImplementedError()




							@abstractmethod
							def 				lowerCamelCase       ( self						):





								"""simple docstring"""






								raise NotImplementedError()

