* Fix train command in fabfile

This commit is contained in:
Matthew Honnibal 2015-11-18 18:28:28 +01:00
parent 1e166eb9cd
commit 7b8a921a80

2
fabfile.py vendored
View File

@ -132,7 +132,7 @@ def train(json_dir=None, dev_loc=None, model_dir=None):
model_dir = 'models/en/' model_dir = 'models/en/'
with virtualenv(VENV_DIR): with virtualenv(VENV_DIR):
with lcd(path.dirname(__file__)): with lcd(path.dirname(__file__)):
local('python bin/init_model.py lang_data/en/ corpora/en/ ' + model_dir) local('python bin/init_model.py en lang_data/ corpora/ ' + model_dir)
local('python bin/parser/train.py %s %s' % (json_dir, model_dir)) local('python bin/parser/train.py %s %s' % (json_dir, model_dir))