Fix logic in rules+model entity example [ci skip] (#4510)

This commit is contained in:
adrianeboyd 2019-10-23 14:41:21 +02:00 committed by Ines Montani
parent 835498d24f
commit 7fc39f124c
1 changed files with 2 additions and 0 deletions

View File

@ -1137,6 +1137,8 @@ def expand_person_entities(doc):
new_ents.append(new_ent)
else:
new_ents.append(ent)
else:
new_ents.append(ent)
doc.ents = new_ents
return doc
```