Merge pull request #874 from badbye/patch-1

**Documentation**: Edit example code
This commit is contained in:
Matthew Honnibal 2017-03-07 15:31:28 +01:00 committed by GitHub
commit 3a5f726208

View File

@ -138,7 +138,9 @@ p
+code. +code.
import spacy import spacy
import random
from spacy.gold import GoldParse from spacy.gold import GoldParse
from spacy.language import EntityRecognizer
train_data = [ train_data = [
('Who is Chaka Khan?', [(7, 17, 'PERSON')]), ('Who is Chaka Khan?', [(7, 17, 'PERSON')]),