Fix universe.json and auto-format [ci skip]

This commit is contained in:
Ines Montani 2021-06-14 10:18:06 +10:00
parent f4008bdb13
commit 7f0f674a1b
1 changed files with 18 additions and 18 deletions

View File

@ -14,14 +14,14 @@
"client.entities('John Doe is a Go Developer at Google')",
"# [{'end': 8, 'start': 0, 'text': 'John Doe', 'type': 'PERSON'}, {'end': 25, 'start': 13, 'text': 'Go Developer', 'type': 'POSITION'}, {'end': 35,'start': 30, 'text': 'Google', 'type': 'ORG'}]"
],
"thumb":"https://avatars.githubusercontent.com/u/77671902",
"image":"https://nlpcloud.io/assets/images/logo.svg",
"thumb": "https://avatars.githubusercontent.com/u/77671902",
"image": "https://nlpcloud.io/assets/images/logo.svg",
"code_language": "python",
"author": "NLPCloud.io",
"author_links": {
"github": "nlpcloud",
"twitter": "cloud_nlp",
"website": "https://nlpcloud.io"
"github": "nlpcloud",
"twitter": "cloud_nlp",
"website": "https://nlpcloud.io"
},
"category": ["apis", "nonpython", "standalone"],
"tags": ["api", "deploy", "production"]
@ -42,17 +42,17 @@
"print(doc._.person_name)",
"# ['Meghana S.R Bhange', 'Asha']"
],
"thumb":"https://i.ibb.co/jwGVWPZ/rainbow-bohemian-logo-removebg-preview.png",
"thumb": "https://i.ibb.co/jwGVWPZ/rainbow-bohemian-logo-removebg-preview.png",
"code_language": "python",
"author": "Meghana Bhange",
"author_links": {
"github": "meghanabhange",
"twitter": "_aspiringcat"
"github": "meghanabhange",
"twitter": "_aspiringcat"
},
"category": ["standalone"],
"tags": ["person-name-detection"]
},
{
{
"id": "eMFDscore",
"title": "eMFDscore : Extended Moral Foundation Dictionary Scoring for Python",
"slogan": "Extended Moral Foundation Dictionary Scoring for Python",
@ -65,20 +65,20 @@
"DICT_TYPE = 'emfd'",
"PROB_MAP = 'single'",
"SCORE_METHOD = 'bow'",
"OUT_METRICS = 'vice-virtue'",
"OUT_CSV_PATH = 'single-vv.csv'",
"df = score_docs(template_input,DICT_TYPE,PROB_MAP,SCORE_METHOD,OUT_METRICS,num_docs)",
"OUT_METRICS = 'vice-virtue'",
"OUT_CSV_PATH = 'single-vv.csv'",
"df = score_docs(template_input,DICT_TYPE,PROB_MAP,SCORE_METHOD,OUT_METRICS,num_docs)"
],
"code_language": "python",
"author": "Media Neuroscience Lab",
"author_links": {
"github": "medianeuroscience",
"twitter": "medianeuro"
"github": "medianeuroscience",
"twitter": "medianeuro"
},
"category": ["research", "teaching"],
"tags": ["morality", "dictionary", "sentiment"]
},
{
{
"id": "skweak",
"title": "skweak",
"slogan": "Weak supervision for NLP",
@ -2087,9 +2087,9 @@
"",
"# Load an spacy model (supported models are \"es\" and \"en\") ",
"nlp = spacy.load('en')",
"# Spacy 3.x",
"nlp.add_pipe(\"spacy_wordnet\", after='tagger', config={'lang': nlp.lang})",
"# Spacy 2.x",
"# Spacy 3.x",
"nlp.add_pipe(\"spacy_wordnet\", after='tagger', config={'lang': nlp.lang})",
"# Spacy 2.x",
"# nlp.add_pipe(WordnetAnnotator(nlp.lang), after='tagger')",
"token = nlp('prices')[0]",
"",