a guest Aug 10th, 2018 54 Never
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])
RAW Paste Data