mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Apply Prettier
This commit is contained in:
parent
df6c4416f8
commit
95443133f6
|
@ -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"]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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"] },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user