mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 01:16:28 +03:00
* Upd fabfile for experiments
This commit is contained in:
parent
f37d896a42
commit
10a33ec725
7
fabfile.py
vendored
7
fabfile.py
vendored
|
@ -29,6 +29,7 @@ def sbclean():
|
|||
|
||||
|
||||
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/tag.py ~/work_data/docparse/wsj22.raw /tmp/tmp')
|
||||
local('python tools/eval_pos.py ~/work_data/docparse/wsj22.conll /tmp/tmp')
|
||||
|
@ -36,6 +37,6 @@ def pos():
|
|||
|
||||
def ner():
|
||||
local('rm -rf data/en/ner')
|
||||
local('python tools/train.py ner ~/work_data/ner/muc7.train data/en/ner')
|
||||
local('python tools/tag.py ~/work_data/ner/muc7.raw /tmp/ner')
|
||||
local('python tools/eval_ner.py ~/work_data/ner/muc7.dev /tmp/ner')
|
||||
local('python tools/train.py ner ~/work_data/docparse/wsj02-21.conll data/en/ner')
|
||||
local('python tools/tag.py ~/work_data/docparse/wsj22.raw /tmp/tmp')
|
||||
local('python tools/eval_ner.py ~/work_data/docparse/wsj22.conll /tmp/tmp | tail')
|
||||
|
|
Loading…
Reference in New Issue
Block a user