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
1 changed files with 2 additions and 0 deletions

View File

@ -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')]),