
def 							a		(				snake_case__:   str		,  snake_case__:   str = " "   ):


				'''simple docstring'''
				lowercase_	    =   []

				lowercase_	    =   0
				for index, char in enumerate(snake_case__   ):
								if char == separator:
												split_words.append(string[last_index:index]   )
												lowercase_	    =   index + 1
								elif index + 1 == len(snake_case__   ):
												split_words.append(string[last_index : index + 1]   )
				return split_words


if __name__ == "__main__":
						from doctest import testmod

						testmod()







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_UpperCAmelCase						:  int									=			{
    """configuration_lilt""": ["""LILT_PRETRAINED_CONFIG_ARCHIVE_MAP""", """LiltConfig"""],
}

try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					_UpperCAmelCase						:  str									=			[
					    """LILT_PRETRAINED_MODEL_ARCHIVE_LIST""",
					    """LiltForQuestionAnswering""",
					    """LiltForSequenceClassification""",
					    """LiltForTokenClassification""",
					    """LiltModel""",
					    """LiltPreTrainedModel""",
					]

if TYPE_CHECKING:
					from .configuration_lilt import LILT_PRETRAINED_CONFIG_ARCHIVE_MAP, LiltConfig

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_lilt import (
										    LILT_PRETRAINED_MODEL_ARCHIVE_LIST,
										    LiltForQuestionAnswering,
										    LiltForSequenceClassification,
										    LiltForTokenClassification,
										    LiltModel,
										    LiltPreTrainedModel,
										)

else:
					import sys

					_UpperCAmelCase						:  Dict									=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)




