Add 'ent' to node matching key

This commit is contained in:
Raphaël Bournhonesque 2017-06-11 18:30:53 +02:00
parent d010f5a123
commit 4289a21703

View File

@ -280,6 +280,7 @@ def match_token(token,
bind_map = {
'word': lambda t: t.orth_,
'lemma': lambda t: t.lemma_,
'ent': lambda t: t.ent_type_,
}
for target_key, target_value in target_attributes.items():