Fix formatting

This commit is contained in:
ines 2017-12-07 10:23:09 +01:00
parent 24e80c51b8
commit 5eaa61c2b8
1 changed files with 4 additions and 2 deletions

View File

@ -27,8 +27,10 @@ from ..util import prints, ensure_path, get_lang_class
"option", "V", int)
)
def init_model(lang, output_dir, freqs_loc, clusters_loc=None, vectors_loc=None, prune_vectors=-1):
"""Create a new model from raw data, like word frequencies, Brown clusters
and word vectors."""
"""
Create a new model from raw data, like word frequencies, Brown clusters
and word vectors.
"""
if not freqs_loc.exists():
prints(freqs_loc, title="Can't find words frequencies file", exits=1)
clusters_loc = ensure_path(clusters_loc)