From 2d684c9e3f5478d1aec7374824f94a5d6a761d07 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Fri, 28 Nov 2014 14:06:33 -0500 Subject: conll example in cdec --- tests/system_tests/conll/cdec.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/system_tests/conll/cdec.ini (limited to 'tests/system_tests/conll/cdec.ini') diff --git a/tests/system_tests/conll/cdec.ini b/tests/system_tests/conll/cdec.ini new file mode 100644 index 00000000..f214857a --- /dev/null +++ b/tests/system_tests/conll/cdec.ini @@ -0,0 +1,13 @@ +formalism=tagger +tagger_tagset=tagset.txt + +# grab the second feature column from the conll input (-w 2) and +# create a feature of i-1,i-2 conjoined with y_i +feature_function=CoNLLFeatures -w 2 -t xxy:%x[-1]_%x[0]:%y[0] + +# grab the second feature column from the conll input (-w 2) and +# create a feature of i-1,i-2 conjoined with y_i +feature_function=CoNLLFeatures -w 1 -t xy:%x[0]:%y[0] + +intersection_strategy=full + -- cgit v1.2.3