Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nlp = spacy.load('xx')
- doc = Doc(nlp.vocab, text2)
- gold = GoldParse(doc, result1c)
- ner = EntityRecognizer(nlp.vocab, entity_types=['PERSON', 'PLACE'])
- ner.update([doc], [gold])
- nlp.entity.move_names
Add Comment
Please, Sign In to add comment