mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Remove the nested quote
This commit is contained in:
parent
aa53ce6996
commit
ae1c179f3a
|
@ -2211,7 +2211,7 @@
|
||||||
"",
|
"",
|
||||||
"nlp = spacy.load('en_core_web_sm')",
|
"nlp = spacy.load('en_core_web_sm')",
|
||||||
"nlp.add_pipe(LanguageDetector())",
|
"nlp.add_pipe(LanguageDetector())",
|
||||||
"doc = nlp('Life is like a box of chocolates. You never know what you're gonna get.')",
|
"doc = nlp('Life is like a box of chocolates. You never know what you are gonna get.')",
|
||||||
"",
|
"",
|
||||||
"assert doc._.language == 'en'",
|
"assert doc._.language == 'en'",
|
||||||
"assert doc._.language_score >= 0.8"
|
"assert doc._.language_score >= 0.8"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user