Update universe.json

removed displacy from hobbit-spacy and added a default text.
This commit is contained in:
William Mattingly 2023-08-11 17:07:18 +03:00 committed by GitHub
parent 73dd1e69e7
commit 78277f263a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4454,10 +4454,9 @@
"pip": "en-hobbit",
"code_example": [
"import spacy",
"from spacy import displacy",
"",
"nlp = spacy.load('en_hobbit')",
"doc = nlp(text)"
"doc = nlp('Frodo saw Glorfindel and Glóin; and in a corner alone Strider was sitting, clad in his old travel - worn clothes again')"
],
"code_language": "python",
"thumb": "https://github.com/wjbmattingly/hobbit-spacy/blob/main/images/hobbit-thumbnail.png?raw=true",