mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
* Add support for debug feature set. Just use unigrams for this.
This commit is contained in:
parent
3b70b304b2
commit
71648205d9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user