diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-11-28 14:06:33 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-11-28 14:06:33 -0500 |
commit | 414e902ea252a77cd7d4f48132d3bd194e507cfd (patch) | |
tree | 9c493eba349d4576ea4f1417c2c26dbc332ee1c7 /tests/system_tests/conll/cdec.ini | |
parent | 41e89b46b19fedfae33637383dd3f055d0f356b5 (diff) |
conll example in cdec
Diffstat (limited to 'tests/system_tests/conll/cdec.ini')
-rw-r--r-- | tests/system_tests/conll/cdec.ini | 13 |
1 files changed, 13 insertions, 0 deletions
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 + |