mirror of https://github.com/explosion/spaCy.git
Merge pull request #874 from badbye/patch-1
**Documentation**: Edit example code
This commit is contained in:
commit
3a5f726208
|
@ -138,7 +138,9 @@ p
|
|||
|
||||
+code.
|
||||
import spacy
|
||||
import random
|
||||
from spacy.gold import GoldParse
|
||||
from spacy.language import EntityRecognizer
|
||||
|
||||
train_data = [
|
||||
('Who is Chaka Khan?', [(7, 17, 'PERSON')]),
|
||||
|
|
Loading…
Reference in New Issue