mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-15 04:42:30 +00:00
4ba30304a4
* Improve extra requirement handling * New mechanism to handle parameters beforehand in chained calls, and the ability to get help on available parameters in chained calls (through `?help`). * Redefined Analysis, to reflect the new ontology * Add parameters as an entity in the schema * Update examples to include analyses and parameters * Add processing plugins, with an interface similar to analysis plugins * Update tests * Avoid duplication in split plugin Closes #51 Squashed commit of the following: commitd145a852e7
commit6a1069780b
commitca69bddc17
commitaa35e62a27
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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|