Apply Prettier

This commit is contained in:
Marcus Blättermann 2022-12-20 22:30:43 +01:00
parent df6c4416f8
commit 95443133f6
No known key found for this signature in database
GPG Key ID: A1E1F04008AC450D
2 changed files with 31 additions and 26 deletions

View File

@ -51,31 +51,31 @@ use a linter to verify that your markup is correct.
```json ```json
{ {
"id": "unique-project-id", "id": "unique-project-id",
"title": "Project title", "title": "Project title",
"slogan": "A short summary", "slogan": "A short summary",
"description": "A longer description *Markdown allowed!*", "description": "A longer description *Markdown allowed!*",
"github": "user/repo", "github": "user/repo",
"pip": "package-name", "pip": "package-name",
"code_example": [ "code_example": [
"import spacy", "import spacy",
"import package_name", "import package_name",
"", "",
"nlp = spacy.load('en')", "nlp = spacy.load('en')",
"nlp.add_pipe(package_name)" "nlp.add_pipe(package_name)"
], ],
"code_language": "python", "code_language": "python",
"url": "https://example.com", "url": "https://example.com",
"thumb": "https://example.com/thumb.jpg", "thumb": "https://example.com/thumb.jpg",
"image": "https://example.com/image.jpg", "image": "https://example.com/image.jpg",
"author": "Your Name", "author": "Your Name",
"author_links": { "author_links": {
"twitter": "username", "twitter": "username",
"github": "username", "github": "username",
"website": "https://example.com" "website": "https://example.com"
}, },
"category": ["pipeline", "standalone"], "category": ["pipeline", "standalone"],
"tags": ["some-tag", "etc"] "tags": ["some-tag", "etc"]
} }
``` ```

View File

@ -798,7 +798,12 @@ doesn't, the pipeline analysis won't catch that.
}, },
"problems": { "problems": {
"tagger": [], "tagger": [],
"entity_linker": ["doc.ents", "doc.sents", "token.ent_iob", "token.ent_type"] "entity_linker": [
"doc.ents",
"doc.sents",
"token.ent_iob",
"token.ent_type"
]
}, },
"attrs": { "attrs": {
"token.ent_iob": { "assigns": [], "requires": ["entity_linker"] }, "token.ent_iob": { "assigns": [], "requires": ["entity_linker"] },