* Upd fabfile for experiments

This commit is contained in:
Matthew Honnibal 2014-11-07 04:44:14 +11:00
parent f37d896a42
commit 10a33ec725

7
fabfile.py vendored
View File

@ -29,6 +29,7 @@ def sbclean():
def pos(): def pos():
local('rm -rf data/en/pos')
local('python tools/train.py pos ~/work_data/docparse/wsj02-21.conll data/en/pos') local('python tools/train.py pos ~/work_data/docparse/wsj02-21.conll data/en/pos')
local('python tools/tag.py ~/work_data/docparse/wsj22.raw /tmp/tmp') 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') local('python tools/eval_pos.py ~/work_data/docparse/wsj22.conll /tmp/tmp')
@ -36,6 +37,6 @@ def pos():
def ner(): def ner():
local('rm -rf data/en/ner') local('rm -rf data/en/ner')
local('python tools/train.py ner ~/work_data/ner/muc7.train data/en/ner') local('python tools/train.py ner ~/work_data/docparse/wsj02-21.conll data/en/ner')
local('python tools/tag.py ~/work_data/ner/muc7.raw /tmp/ner') local('python tools/tag.py ~/work_data/docparse/wsj22.raw /tmp/tmp')
local('python tools/eval_ner.py ~/work_data/ner/muc7.dev /tmp/ner') local('python tools/eval_ner.py ~/work_data/docparse/wsj22.conll /tmp/tmp | tail')