def iterate_similarity_datasets(args):
for dataset_name in args.similarity_datasets:<EOL><INDENT>parameters = nlp.data.list_datasets(dataset_name)<EOL>for key_values in itertools.product(*parameters.values()):<EOL><INDENT>kwargs = dict(zip(parameters.keys(), key_values))<EOL>yield dataset_name, kwargs, nlp.data.create(dataset_name, **kwargs)<EOL><DEDENT><DEDENT>
Generator over all similarity evaluation datasets.

    Iterates over dataset names, keyword arguments for their creation and the
    created dataset.