mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Update universe.json
This commit is contained in:
parent
75a40f56fc
commit
5dd39d8697
|
@ -1121,7 +1121,7 @@
|
|||
"nlp = spacy.load('en')",
|
||||
"nlp.add_pipe(LanguageDetector(), name='language_detector', last=True)",
|
||||
"text = 'This is an english text.'",
|
||||
"doc = nlp(text)"
|
||||
"doc = nlp(text)",
|
||||
"# document level language detection. Think of it like average language of the document!",
|
||||
"print(doc._.language)",
|
||||
"# sentence level language detection",
|
||||
|
|
Loading…
Reference in New Issue
Block a user