* Add support for debug feature set. Just use unigrams for this.

This commit is contained in:
Matthew Honnibal 2015-03-24 04:29:01 +01:00
parent 3b70b304b2
commit 71648205d9

View File

@ -62,6 +62,8 @@ def get_templates(name):
return pf.arc_eager
elif name == 'ner':
return pf.ner
elif name == 'debug':
return pf.unigrams
else:
return (pf.unigrams + pf.s0_n0 + pf.s1_n0 + pf.s0_n1 + pf.n0_n1 + \
pf.tree_shape + pf.trigrams)