pres-lg-analysis-result
- JavaScript
- Python
- Python SDK
{
version: '3.2.1',
id: '1234',
language: { detected: 'en' },
entities: [
{ id: 'e0', gkbId: 'G57305', stdForm: 'salon', type: 'general' },
{ id: 'e1', gkbId: 'G183', stdForm: 'Allemagne', type: 'location' },
{ id: 'e2', gkbId: 'G1726', stdForm: 'Munich', type: 'location' },
{ id: 'e3', gkbId: 'G3052772', stdForm: 'Emmanuel Macron', type: 'person' },
{ id: 'e4', gkbId: 'G183', stdForm: 'Allemagne', type: 'country', feats: {derivedBy: 'gkb2:[gkbp:adminCountry]'} },
{ id: 'e5', gkbId: 'G980', stdForm: 'Bavière', type: 'region', feats: { derivedBy: 'gkb2:[gkbp:region]' } }
],
tags: [
{ id: 't0', gkbId: 'G3052772', stdForm: 'Emmanuel Macron', type: 'media', relevance: 22.605, feats: { wikidataId: 'Q3052772' } },
{ id: 't1', gkbId: 'G183', stdForm: 'Allemagne', type: 'media', relevance: 18.365, feats: { wikidataId: 'Q183' } },
{ id: 't2', gkbId: 'G1726', stdForm: 'Munich', type: 'media', relevance: 7.57, feats: { wikidataId: 'Q1726' } }
],
relations: [..],
docSentiment: { mean: 0.0, label: 'neutral', positive: 0.0, negative: 0.0 },
usedChars: 100
}
{
'version': '3.2.1',
'id': '1234',
'language': { 'detected': 'en' },
'entities': [
{ 'id': 'e0', 'gkbId': 'G57305', 'stdForm': 'salon', 'type': 'general' },
{ 'id': 'e1', 'gkbId': 'G183', 'stdForm': 'Allemagne', 'type': 'location' },
{ 'id': 'e2', 'gkbId': 'G1726', 'stdForm': 'Munich', 'type': 'location' },
{ 'id': 'e3', 'gkbId': 'G3052772', 'stdForm': 'Emmanuel Macron', 'type': 'person' },
{ 'id': 'e4', 'gkbId': 'G183', 'stdForm': 'Allemagne', 'type': 'country', 'feats': {'derivedBy': 'gkb2:[gkbp:adminCountry]'} },
{ 'id': 'e5', 'gkbId': 'G980', 'stdForm': 'Bavière', 'type': 'region', 'feats': { 'derivedBy': 'gkb2:[gkbp:region]' } }
],
'tags': [
{ 'id': 't0', 'gkbId': 'G3052772', 'stdForm': 'Emmanuel Macron', 'type': 'media', 'relevance': 22.605, 'feats': { 'wikidataId': 'Q3052772' } },
{ 'id': 't1', 'gkbId': 'G183', 'stdForm': 'Allemagne', 'type': 'media', 'relevance': 18.365, 'feats': { 'wikidataId': 'Q183' } },
{ 'id': 't2', 'gkbId': 'G1726', 'stdForm': 'Munich', 'type': 'media', 'relevance': 7.57, 'feats': { 'wikidataId': 'Q1726' } }
],
'relations': [..],
'docSentiment': { 'mean': 0.0, 'label': 'neutral', 'positive': 0.0, 'negative': 0.0 },
'usedChars': 100
}
Entities:
general: salon (G57305)
location: Allemagne (G183)
location: Munich (G1726)
person: Emmanuel Macron (G3052772)
country: Allemagne (G183)
region: Bavière (G980)
Tags:
media: Emmanuel Macron (G3052772) relevance: 22.605
media: Allemagne (G183) relevance: 18.365
media: Munich (G1726) relevance: 7.57