"""simple docstring"""







import unittest

from transformers import is_torch_available, load_tool

from .test_tools_common import ToolTesterMixin


if is_torch_available():
	import torch

class 						UpperCamelCase     (       unittest.TestCase ,      lowercase		):



				def    _lowercase	(self							: Any)       ->      Optional[Any]:
					__snake_case     :				Optional[int] 						=					load_tool('speech-to-text')
					self.tool.setup()



				def    _lowercase	(self							: Dict)       ->      Optional[Any]:
					__snake_case     :				List[str] 						=					self.tool(torch.ones(30_00))
					self.assertEqual(_A      ,    ' you')






				def    _lowercase	(self							: Optional[int])       ->      int:
					__snake_case     :				Tuple 						=					self.tool(audio=torch.ones(30_00))
					self.assertEqual(_A      ,    ' you')






"""simple docstring"""







def     __UpperCAmelCase							(       UpperCAmelCase_       :							str    )				->     str:

	'''simple docstring'''





	return " ".join(sorted(set(sentence.split()    )    )    )


if __name__ == "__main__":
	import doctest

	doctest.testmod()





