mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-15 04:42:30 +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
40 lines
1013 B
JSON
40 lines
1013 B
JSON
{
|
|
"@context": "http://mixedemotions-project.eu/ns/context.jsonld",
|
|
"@id": "me:Result1",
|
|
"@type": "results",
|
|
"analysis": [
|
|
{
|
|
"@id": "_:SAnalysis1_Activity",
|
|
"@type": "marl:SentimentAnalysis",
|
|
"prov:wasAssociatedWith": "me:SAnalysis1"
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"@id": "http://micro.blog/status1#char=80,97",
|
|
"nif:beginIndex": 80,
|
|
"nif:endIndex": 97,
|
|
"nif:anchorOf": "You'll be awesome.",
|
|
"marl:hasPolarity": "marl:Positive",
|
|
"marl:polarityValue": 0.9,
|
|
"prov:wasGeneratedBy": "_:SAnalysis1_Activity"
|
|
}
|
|
],
|
|
"emotionSets": [
|
|
]
|
|
}
|
|
]
|
|
}
|