From 05a1dd570ec3a0d3e3493c9f183eb74fe57a053a Mon Sep 17 00:00:00 2001 From: Explosion Bot Date: Mon, 30 Oct 2017 16:19:22 +0100 Subject: [PATCH] Fix vocab script --- spacy/cli/vocab.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spacy/cli/vocab.py b/spacy/cli/vocab.py index 3b4d0a0b8..c1bab825c 100644 --- a/spacy/cli/vocab.py +++ b/spacy/cli/vocab.py @@ -18,10 +18,8 @@ from spacy.util import ensure_path vectors_loc=("location of vectors data, as numpy .npz (optional)", "positional", None, str), version=("Model version", "option", "V", str), - meta_path=("Optional path to meta.json. All relevant properties will be " - "overwritten.", "option", "m", Path)) - -def make_vocab(lang, output_dir, lexemes_loc, vectors_loc=None): +) +def make_vocab(lang, output_dir, lexemes_loc, vectors_loc=None, version=None): out_dir = ensure_path(output_dir) jsonl_loc = ensure_path(lexemes_loc) nlp = spacy.blank(lang)