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
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"@context": "http://mixedemotions-project.eu/ns/context.jsonld",
|
|
"@id": "me:Result1",
|
|
"@type": "results",
|
|
"analysis": [
|
|
{
|
|
"@id": "me:EmotionAnalysis1_Activity",
|
|
"@type": "me:EmotionAnalysis1",
|
|
"prov:wasAssociatedWith": "me:EmotionAnalysis1"
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"@id": "http://micro.blog/status1",
|
|
"@type": [
|
|
"nif:RFC5147String",
|
|
"nif:Context"
|
|
],
|
|
"nif:isString": "Dear Microsoft, put your Windows Phone on your newest #open technology program. You'll be awesome. #opensource",
|
|
"entities": [
|
|
],
|
|
"suggestions": [
|
|
],
|
|
"sentiments": [
|
|
],
|
|
"emotions": [
|
|
{
|
|
"@id": "http://micro.blog/status1#char=0,109",
|
|
"nif:anchorOf": "Dear Microsoft, put your Windows Phone on your newest #open technology program. You'll be awesome. #opensource",
|
|
"prov:wasGeneratedBy": "_:EmotionAnalysis1_Activity",
|
|
"onyx:hasEmotion": [
|
|
{
|
|
"onyx:hasEmotionCategory": "wna:liking"
|
|
},
|
|
{
|
|
"onyx:hasEmotionCategory": "wna:excitement"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|