


'''simple docstring'''
def      a (     __a					,   __a  )    ->      str:



					'''simple docstring'''






					if not (isinstance(__a					,   __a  ) and isinstance(__a					,   __a  )):
										raise ValueError('''longest_common_substring() takes two strings for inputs'''  )

					UpperCamelCase__  :str				   =					len(__a  )
					UpperCamelCase__  :Any				   =					len(__a  )

					UpperCamelCase__  :Union[str, Any]				   =					[[0] * (texta_length + 1) for _ in range(texta_length + 1  )]
					UpperCamelCase__  :List[str]				   =					0
					UpperCamelCase__  :List[Any]				   =					0

					for i in range(1					,   texta_length + 1  ):
										for j in range(1					,   texta_length + 1  ):
															if texta[i - 1] == texta[j - 1]:
																				UpperCamelCase__  :Optional[int]				   =					1 + dp[i - 1][j - 1]
																				if dp[i][j] > ans_length:
																									UpperCamelCase__  :Any				   =					i
																									UpperCamelCase__  :int				   =					dp[i][j]

					return texta[ans_index - ans_length : ans_index]


if __name__ == "__main__":
		import doctest

		doctest.testmod()



'''simple docstring'''
from .glue import glue_convert_examples_to_features, glue_output_modes, glue_processors, glue_tasks_num_labels
from .squad import SquadExample, SquadFeatures, SquadVaProcessor, SquadVaProcessor, squad_convert_examples_to_features
from .utils import DataProcessor, InputExample, InputFeatures, SingleSentenceClassificationProcessor
from .xnli import xnli_output_modes, xnli_processors, xnli_tasks_num_labels