@cli.command()<EOL>@click.argument('<STR_LIT>', type=click.File('<STR_LIT:rb>'))<EOL>def check_format(inputfile):
t = word_embedding.classify_format(inputfile)<EOL>if t == word_embedding._glove:<EOL><INDENT>_echo_format_result('<STR_LIT>')<EOL><DEDENT>elif t == word_embedding._word2vec_bin:<EOL><INDENT>_echo_format_result('<STR_LIT>')<EOL><DEDENT>elif t == word_embedding._word2vec_text:<EOL><INDENT>_echo_format_result('<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>assert not "<STR_LIT>"<EOL><DEDENT>
Check format of inputfile.