From 7bba9cdc143ddefb0a6047c2573f022396024936 Mon Sep 17 00:00:00 2001 From: "Frederic R. Hopp" Date: Tue, 11 May 2021 19:18:19 -0700 Subject: [PATCH] Update universe.json --- website/meta/universe.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/website/meta/universe.json b/website/meta/universe.json index 721de1eb5..5b14b54be 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -25,6 +25,32 @@ }, "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", + "description": "Fast, flexible extraction of moral information from textual input data.", + "github": "https://github.com/medianeuroscience/emfdscore", + "code_example": [ + "from emfdscore.scoring import score_docs", + "import pandas as pd", + "template_input = pd.read_csv('emfdscore/template_input.csv', header=None)", + "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)", + ], + "code_language": "python", + "author": "Media Neuroscience Lab", + "author_links": { + "github": "medianeuroscience", + "twitter": "medianeuro" + }, + "category": ["research", "teaching"], + "tags": ["morality", "dictionary", "sentiment"] }, { "id": "skweak",