mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
Merge pull request #8072 from medianeuroscience/master
Added eMFDscore to universe.json
This commit is contained in:
commit
2dc6db53fd
|
@ -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": "eMFDscore is a library for the fast and flexible extraction of various moral information metrics from textual input data. eMFDscore is built on spaCy for faster execution and performs minimal preprocessing consisting of tokenization, syntactic dependency parsing, lower-casing, and stopword/punctuation/whitespace removal. eMFDscore lets users score documents with multiple Moral Foundations Dictionaries, provides various metrics for analyzing moral information, and extracts moral patient, agent, and attribute words related to entities.",
|
||||
"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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user