def validate_args(args):
<EOL>for dataset_name in args.similarity_datasets:<EOL><INDENT>if dataset_name.lower() not in map(<EOL>str.lower,<EOL>nlp.data.word_embedding_evaluation.word_similarity_datasets):<EOL><INDENT>print('<STR_LIT>'.format(dataset_name))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT><DEDENT>for dataset_name in args.analogy_datasets:<EOL><INDENT>if dataset_name.lower() not in map(<EOL>str.lower,<EOL>nlp.data.word_embedding_evaluation.word_analogy_datasets):<EOL><INDENT>print('<STR_LIT>'.format(dataset_name))<EOL>sys.exit(<NUM_LIT:1>)<EOL><DEDENT><DEDENT>
Validate provided arguments and act on --help.