def   _UpperCamelCase   (			snake_case__,    snake_case__							)						->   int:
							assert isinstance(lowercase_,    lowercase_							), f'''The input value of [set_a={set_a}] is not a set'''
							assert isinstance(lowercase_,    lowercase_							), f'''The input value of [set_b={set_b}] is not a set'''

							return {a + b for a in set_a for b in set_b}


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

	testmod()





import io
import json
import subprocess


_snake_case			=						[
    ['''en''', '''ru'''],
    ['''ru''', '''en'''],
    ['''en''', '''de'''],
    ['''de''', '''en'''],
]

_snake_case			=						8




def   _UpperCamelCase   (			snake_case__,    snake_case__							)						->   List[Any]:
							__UpperCAmelCase						:			int         =   {}
							for src, tgt in pairs:
														__UpperCAmelCase						:			Optional[Any]         =   f'''{src}-{tgt}'''
														__UpperCAmelCase						:			Union[str, Any]         =   f'''sacrebleu -t wmt19 -l {pair} --echo src'''.split()
														__UpperCAmelCase						:			Any         =   subprocess.run(snake_case__,    stdout=subprocess.PIPE							).stdout.decode("utf-8"							).splitlines()
														__UpperCAmelCase						:			Tuple         =   f'''sacrebleu -t wmt19 -l {pair} --echo ref'''.split()
														__UpperCAmelCase						:			List[Any]         =   subprocess.run(snake_case__,    stdout=subprocess.PIPE							).stdout.decode("utf-8"							).splitlines()
														__UpperCAmelCase						:			str         =   {"src": src_lines[:n_objs], "tgt": tgt_lines[:n_objs]}
							return text


_snake_case			=						get_all_data(pairs, n_objs)
_snake_case			=						'''./fsmt_val_data.json'''
with io.open(filename, '''w''', encoding='''utf-8''') as f:
	_snake_case			=						json.dump(text, f, indent=2, ensure_ascii=False)




