Here are some examples of text categorization using MeaningCloud API:
An example of positive reputational change across the Citizenship and Performance dimension.
"Endesa is building the largest photovoltaic project for self-consumption in the Balearic Islands"
txt
parameter to submit the text.lang
, in this case English (en
), is the chosen language.key
parametercurl
curl 'https://api.meaningcloud.com/reputation-2.0' \ -F 'key <<YOUR OWN KEY>>' \ -F 'lang=en' \ -F 'txt=Endesa is building the largest photovoltaic project for self-consumption in the Balearic Islands'
{ "status": { "code": 0, "msg": "OK", "credits": 1 }, "entity_list": [ { "id": "60f9a019a5", "form": "Endesa", "type": "Top>Organization>Company>UtilitiesCompany", "polarity": "P+", "category_list": [ { "code": "Citizenship", "label": "Citizenship", "polarity": "P+", "abs_relevance": 1, "relat_relevance": 100, "sentence_list": [ { "text": "Endesa is building the largest photovoltaic project for self-consumption in the Balearic Islands", "inip": "0", "endp": "95" } ] }, { "code": "Performance", "label": "Performance", "polarity": "P+", "abs_relevance": 1, "relat_relevance": 100, "sentence_list": [ { "text": "Endesa is building the largest photovoltaic project for self-consumption in the Balearic Islands", "inip": "0", "endp": "95" } ] } ] } ] }