From 9b13392ac7c07b0e3c3b7a347c51e8a014c7cef9 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 12 Nov 2014 23:22:05 +1100 Subject: [PATCH] * Add conll experiments --- fabfile.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fabfile.py b/fabfile.py index 38352b1a6..f5f77a9d8 100644 --- a/fabfile.py +++ b/fabfile.py @@ -40,3 +40,9 @@ def ner(): local('python tools/train_ner.py ~/work_data/docparse/wsj02-21.conll data/en/ner') local('python tools/tag_ner.py ~/work_data/docparse/wsj22.raw /tmp/tmp') local('python tools/eval_ner.py ~/work_data/docparse/wsj22.conll /tmp/tmp | tail') + + +def conll(): + local('rm -rf data/en/ner') + local('python tools/conll03_train.py ~/work_data/ner/conll2003/eng.train data/en/ner/') + local('python tools/conll03_eval.py ~/work_data/ner/conll2003/eng.testa')