mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 16:12:29 +00:00
c090501534
* Add parameters as an entity in the schema * Update examples to include parameters * Change the API for processing plugins, params is a parameter again, instead of only adding the request. * Update tests
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"@context": [
|
|
"http://mixedemotions-project.eu/ns/context.jsonld",
|
|
{
|
|
"emovoc": "http://www.gsi.dit.upm.es/ontologies/onyx/vocabularies/emotionml/ns#"
|
|
}
|
|
],
|
|
"@id": "me:Result1",
|
|
"@type": "results",
|
|
"analysis": [
|
|
{
|
|
"@id": "me:HesamsAnalysis_Activity",
|
|
"@type": "onyx:EmotionAnalysis",
|
|
"prov:wasAssociatedWith": "me:HesamsAnalysis",
|
|
"prov:used": [
|
|
{
|
|
"name": "emotion-model",
|
|
"prov:value": "emovoc:pad-dimensions"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"@id": "Entry1",
|
|
"@type": [
|
|
"nif:RFC5147String",
|
|
"nif:Context"
|
|
],
|
|
"nif:isString": "This is a test string",
|
|
"entities": [
|
|
],
|
|
"suggestions": [
|
|
],
|
|
"sentiments": [
|
|
],
|
|
"emotions": [
|
|
{
|
|
"@id": "Entry1#char=0,21",
|
|
"nif:anchorOf": "This is a test string",
|
|
"prov:wasGeneratedBy": "_:HesamAnalysis_Activity",
|
|
"onyx:hasEmotion": [
|
|
{
|
|
"emovoc:pleasure": 0.5,
|
|
"emovoc:arousal": 0.7
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|