From 1df8db51be3981f704a4035f5035e1a9c42aaaa3 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 17 Jan 2015 16:20:03 +1100 Subject: [PATCH] * Upd fabfile --- fabfile.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fabfile.py b/fabfile.py index 4fdb28d71..2520693c0 100644 --- a/fabfile.py +++ b/fabfile.py @@ -61,10 +61,10 @@ def travis(): def pos(): - local('rm -rf data/en/pos') - local('python tools/train.py ~/work_data/docparse/wsj02-21.conll ~/work_data/docparse/wsj22.conll spacy/en/data') - local('python tools/tag.py ~/work_data/docparse/wsj22.raw /tmp/tmp') - local('python tools/eval_pos.py ~/work_data/docparse/wsj22.conll /tmp/tmp') + with virtualenv(VENV_DIR): + local('python tools/train.py ~/work_data/docparse/wsj02-21.conll ~/work_data/docparse/wsj22.conll spacy/en/data') + local('python tools/tag.py ~/work_data/docparse/wsj22.raw /tmp/tmp') + local('python tools/eval_pos.py ~/work_data/docparse/wsj22.conll /tmp/tmp') def ner():