Skip to content

Instantly share code, notes, and snippets.

@loretoparisi
Last active July 12, 2017 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loretoparisi/4bba7a9cd00d34e8e211484d454b928c to your computer and use it in GitHub Desktop.
Save loretoparisi/4bba7a9cd00d34e8e211484d454b928c to your computer and use it in GitHub Desktop.
Stanford CoreNLP Sentiment
{
"version": 2,
"build": "2017-07-11 03:44:54.738619",
"trees": [{
"child0": {
"child0": {
"index": 3,
"leaf": true,
"rating": 13.0,
"text": "This",
"scoreDistr": [0.0001, 0.0007, 0.9985, 0.0006, 0.0001],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 26
},
"index": 2,
"leaf": false,
"child1": {
"index": 4,
"leaf": true,
"rating": 13.0,
"text": "movie",
"scoreDistr": [0.0001, 0.0008, 0.9987, 0.0003, 0.0001],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 34
},
"rating": 13.0,
"text": "This movie",
"scoreDistr": [0.0002, 0.0032, 0.9908, 0.0056, 0.0002],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 63
},
"index": 1,
"child2": {
"index": 27,
"leaf": true,
"rating": 13.0,
"text": ".",
"scoreDistr": [0.0004, 0.001, 0.9969, 0.0011, 0.0005],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 4
},
"rating": 8.0,
"child1": {
"child0": {
"index": 6,
"leaf": true,
"rating": 13.0,
"text": "does",
"scoreDistr": [0.0002, 0.0008, 0.998, 0.0007, 0.0002],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 26
},
"index": 5,
"child2": {
"child0": {
"index": 9,
"leaf": true,
"rating": 18.0,
"text": "care",
"scoreDistr": [0.0025, 0.0205, 0.0045, 0.9684, 0.004],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 24
},
"index": 8,
"leaf": false,
"child1": {
"child0": {
"index": 11,
"leaf": true,
"rating": 13.0,
"text": "about",
"scoreDistr": [0.0007, 0.0047, 0.9919, 0.0018, 0.0009],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 32
},
"index": 10,
"leaf": false,
"child1": {
"child0": {
"index": 13,
"leaf": true,
"rating": 18.0,
"text": "cleverness",
"scoreDistr": [0.0174, 0.0588, 0.0423, 0.8123, 0.0693],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 59
},
"index": 12,
"child2": {
"index": 15,
"leaf": true,
"rating": 13.0,
"text": "wit",
"scoreDistr": [0.0003, 0.0015, 0.9871, 0.0098, 0.0013],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 18
},
"child3": {
"index": 16,
"leaf": true,
"rating": 13.0,
"text": "or",
"scoreDistr": [0.001, 0.0036, 0.9921, 0.0023, 0.001],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 12
},
"rating": 18.0,
"child1": {
"index": 14,
"leaf": true,
"rating": 13.0,
"text": ",",
"scoreDistr": [0.0006, 0.0016, 0.9952, 0.0018, 0.0007],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 4
},
"text": "cleverness , wit or any other kind of intelligent humor",
"scoreDistr": [0.0041, 0.0129, 0.108, 0.762, 0.113],
"tokens": 15,
"depth": 5,
"leaf": false,
"numChildren": 5,
"child4": {
"child0": {
"child0": {
"index": 19,
"leaf": true,
"rating": 13.0,
"text": "any",
"scoreDistr": [0.0004, 0.0022, 0.996, 0.0011, 0.0003],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 21
},
"index": 18,
"child2": {
"index": 21,
"leaf": true,
"rating": 18.0,
"text": "kind",
"scoreDistr": [0.0005, 0.0081, 0.0019, 0.9865, 0.0031],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 26
},
"rating": 13.0,
"child1": {
"index": 20,
"leaf": true,
"rating": 13.0,
"text": "other",
"scoreDistr": [0.0001, 0.0011, 0.9982, 0.0004, 0.0001],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 30
},
"text": "any other kind",
"scoreDistr": [0.0012, 0.0182, 0.9672, 0.013, 0.0004],
"tokens": 4,
"depth": 2,
"numChildren": 3,
"leaf": false,
"pixels": 83
},
"index": 17,
"leaf": false,
"child1": {
"child0": {
"index": 23,
"leaf": true,
"rating": 13.0,
"text": "of",
"scoreDistr": [0.0006, 0.0028, 0.9939, 0.0019, 0.0009],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 11
},
"index": 22,
"leaf": false,
"child1": {
"child0": {
"index": 25,
"leaf": true,
"rating": 18.0,
"text": "intelligent",
"scoreDistr": [0.0035, 0.0199, 0.0036, 0.9481, 0.0249],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 59
},
"index": 24,
"leaf": false,
"child1": {
"index": 26,
"leaf": true,
"rating": 23.0,
"text": "humor",
"scoreDistr": [0.025, 0.0337, 0.038, 0.0271, 0.8762],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 38
},
"rating": 18.0,
"text": "intelligent humor",
"scoreDistr": [0.0083, 0.0188, 0.0171, 0.7523, 0.2035],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 100
},
"rating": 18.0,
"text": "of intelligent humor",
"scoreDistr": [0.0062, 0.0176, 0.3268, 0.5309, 0.1185],
"tokens": 5,
"depth": 3,
"numChildren": 2,
"pixels": 114
},
"rating": 18.0,
"text": "any other kind of intelligent humor",
"scoreDistr": [0.0174, 0.0731, 0.2141, 0.6294, 0.0659],
"tokens": 10,
"depth": 4,
"numChildren": 2,
"pixels": 200
},
"pixels": 305
},
"rating": 18.0,
"text": "about cleverness , wit or any other kind of intelligent humor",
"scoreDistr": [0.0046, 0.0161, 0.1943, 0.7285, 0.0565],
"tokens": 17,
"depth": 6,
"numChildren": 2,
"pixels": 340
},
"rating": 13.0,
"text": "care about cleverness , wit or any other kind of intelligent humor",
"scoreDistr": [0.0042, 0.0161, 0.5188, 0.421, 0.04],
"tokens": 19,
"depth": 7,
"numChildren": 2,
"pixels": 367
},
"rating": 8.0,
"child1": {
"index": 7,
"leaf": true,
"rating": 13.0,
"text": "n't",
"scoreDistr": [0.0004, 0.0024, 0.9962, 0.0009, 0.0001],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 21
},
"text": "does n't care about cleverness , wit or any other kind of intelligent humor",
"scoreDistr": [0.0704, 0.768, 0.1115, 0.0454, 0.0047],
"tokens": 22,
"depth": 8,
"numChildren": 3,
"leaf": false,
"pixels": 420
},
"text": "This movie does n't care about cleverness , wit or any other kind of intelligent humor .",
"scoreDistr": [0.1685, 0.7187, 0.0903, 0.0157, 0.0068],
"tokens": 27,
"depth": 9,
"numChildren": 3,
"leaf": false,
"pixels": 493
}, {
"child0": {
"child0": {
"index": 3,
"leaf": true,
"rating": 13.0,
"text": "Those",
"scoreDistr": [0.0002, 0.0018, 0.9958, 0.0019, 0.0003],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 35
},
"index": 2,
"leaf": false,
"child1": {
"child0": {
"index": 5,
"leaf": true,
"rating": 13.0,
"text": "who",
"scoreDistr": [0.0003, 0.0023, 0.995, 0.0021, 0.0002],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 25
},
"index": 4,
"leaf": false,
"child1": {
"child0": {
"index": 7,
"leaf": true,
"rating": 13.0,
"text": "find",
"scoreDistr": [0.0004, 0.0026, 0.9956, 0.001, 0.0003],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 23
},
"index": 6,
"leaf": false,
"child1": {
"child0": {
"child0": {
"index": 10,
"leaf": true,
"rating": 8.0,
"text": "ugly",
"scoreDistr": [0.0777, 0.8753, 0.0088, 0.0299, 0.0083],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 24
},
"index": 9,
"leaf": false,
"child1": {
"index": 11,
"leaf": true,
"rating": 13.0,
"text": "meanings",
"scoreDistr": [0.0286, 0.1441, 0.6307, 0.1541, 0.0425],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 57
},
"rating": 8.0,
"text": "ugly meanings",
"scoreDistr": [0.1756, 0.746, 0.0476, 0.0174, 0.0134],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 84
},
"index": 8,
"leaf": false,
"child1": {
"child0": {
"index": 13,
"leaf": true,
"rating": 13.0,
"text": "in",
"scoreDistr": [0.0006, 0.0029, 0.9937, 0.002, 0.0008],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 12
},
"index": 12,
"leaf": false,
"child1": {
"child0": {
"index": 15,
"leaf": true,
"rating": 23.0,
"text": "beautiful",
"scoreDistr": [0.0241, 0.0114, 0.0018, 0.0255, 0.9371],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 50
},
"index": 14,
"leaf": false,
"child1": {
"index": 16,
"leaf": true,
"rating": 13.0,
"text": "things",
"scoreDistr": [0.0011, 0.0027, 0.9925, 0.0021, 0.0016],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 37
},
"rating": 18.0,
"text": "beautiful things",
"scoreDistr": [0.0158, 0.0295, 0.1739, 0.5637, 0.2171],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 90
},
"rating": 18.0,
"text": "in beautiful things",
"scoreDistr": [0.0085, 0.0332, 0.388, 0.5035, 0.0668],
"tokens": 5,
"depth": 3,
"numChildren": 2,
"pixels": 105
},
"rating": 8.0,
"text": "ugly meanings in beautiful things",
"scoreDistr": [0.2021, 0.6525, 0.0918, 0.0333, 0.0204],
"tokens": 9,
"depth": 4,
"numChildren": 2,
"pixels": 192
},
"rating": 8.0,
"text": "find ugly meanings in beautiful things",
"scoreDistr": [0.2019, 0.6905, 0.084, 0.0129, 0.0106],
"tokens": 11,
"depth": 5,
"numChildren": 2,
"pixels": 218
},
"rating": 8.0,
"text": "who find ugly meanings in beautiful things",
"scoreDistr": [0.1158, 0.699, 0.1692, 0.0117, 0.0043],
"tokens": 13,
"depth": 6,
"numChildren": 2,
"pixels": 246
},
"rating": 13.0,
"text": "Those who find ugly meanings in beautiful things",
"scoreDistr": [0.0287, 0.2693, 0.685, 0.0138, 0.0032],
"tokens": 15,
"depth": 7,
"numChildren": 2,
"pixels": 284
},
"index": 1,
"child2": {
"index": 26,
"leaf": true,
"rating": 13.0,
"text": ".",
"scoreDistr": [0.0004, 0.001, 0.9969, 0.0011, 0.0005],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 4
},
"rating": 8.0,
"child1": {
"child0": {
"index": 18,
"leaf": true,
"rating": 13.0,
"text": "are",
"scoreDistr": [0.0004, 0.0028, 0.9929, 0.0031, 0.0008],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 18
},
"index": 17,
"leaf": false,
"child1": {
"child0": {
"index": 20,
"leaf": true,
"rating": 8.0,
"text": "corrupt",
"scoreDistr": [0.0616, 0.43, 0.368, 0.1073, 0.0331],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 41
},
"index": 19,
"leaf": false,
"child1": {
"child0": {
"index": 22,
"leaf": true,
"rating": 13.0,
"text": "without",
"scoreDistr": [0.0026, 0.0126, 0.9756, 0.0072, 0.002],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 44
},
"index": 21,
"leaf": false,
"child1": {
"child0": {
"index": 24,
"leaf": true,
"rating": 13.0,
"text": "being",
"scoreDistr": [0.0002, 0.0017, 0.9967, 0.0011, 0.0002],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 32
},
"index": 23,
"leaf": false,
"child1": {
"index": 25,
"leaf": true,
"rating": 23.0,
"text": "charming",
"scoreDistr": [0.0306, 0.015, 0.0209, 0.0588, 0.8747],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 56
},
"rating": 13.0,
"text": "being charming",
"scoreDistr": [0.024, 0.0622, 0.4929, 0.35, 0.071],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 91
},
"rating": 13.0,
"text": "without being charming",
"scoreDistr": [0.0176, 0.1189, 0.5803, 0.263, 0.0202],
"tokens": 5,
"depth": 3,
"numChildren": 2,
"pixels": 138
},
"rating": 13.0,
"text": "corrupt without being charming",
"scoreDistr": [0.0236, 0.1813, 0.6439, 0.1336, 0.0177],
"tokens": 7,
"depth": 4,
"numChildren": 2,
"pixels": 182
},
"rating": 13.0,
"text": "are corrupt without being charming",
"scoreDistr": [0.0156, 0.143, 0.7055, 0.1249, 0.0111],
"tokens": 9,
"depth": 5,
"numChildren": 2,
"pixels": 203
},
"text": "Those who find ugly meanings in beautiful things are corrupt without being charming .",
"scoreDistr": [0.0984, 0.5186, 0.2292, 0.136, 0.0178],
"tokens": 26,
"depth": 8,
"numChildren": 3,
"leaf": false,
"pixels": 497
}, {
"child0": {
"child0": {
"index": 3,
"leaf": true,
"rating": 13.0,
"text": "There",
"scoreDistr": [0.0002, 0.0008, 0.9982, 0.0005, 0.0002],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 33
},
"index": 2,
"leaf": false,
"child1": {
"child0": {
"index": 5,
"leaf": true,
"rating": 13.0,
"text": "are",
"scoreDistr": [0.0004, 0.0028, 0.9929, 0.0031, 0.0008],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 18
},
"index": 4,
"leaf": false,
"child1": {
"child0": {
"child0": {
"index": 8,
"leaf": true,
"rating": 8.0,
"text": "slow",
"scoreDistr": [0.0263, 0.9345, 0.0141, 0.0229, 0.0022],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 27
},
"index": 7,
"child2": {
"index": 10,
"leaf": true,
"rating": 8.0,
"text": "repetitive",
"scoreDistr": [0.0433, 0.8948, 0.0133, 0.0399, 0.0086],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 52
},
"rating": 8.0,
"child1": {
"index": 9,
"leaf": true,
"rating": 13.0,
"text": "and",
"scoreDistr": [0.0003, 0.0013, 0.9964, 0.0016, 0.0004],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 22
},
"text": "slow and repetitive",
"scoreDistr": [0.2066, 0.7299, 0.0496, 0.0062, 0.0076],
"tokens": 4,
"depth": 2,
"numChildren": 3,
"leaf": false,
"pixels": 107
},
"index": 6,
"leaf": false,
"child1": {
"index": 11,
"leaf": true,
"rating": 13.0,
"text": "parts",
"scoreDistr": [0.0006, 0.003, 0.9941, 0.0015, 0.0007],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 29
},
"rating": 8.0,
"text": "slow and repetitive parts",
"scoreDistr": [0.2036, 0.6929, 0.0889, 0.0074, 0.0071],
"tokens": 6,
"depth": 3,
"numChildren": 2,
"pixels": 139
},
"rating": 8.0,
"text": "are slow and repetitive parts",
"scoreDistr": [0.1642, 0.6791, 0.1414, 0.0096, 0.0056],
"tokens": 8,
"depth": 4,
"numChildren": 2,
"pixels": 160
},
"rating": 8.0,
"text": "There are slow and repetitive parts",
"scoreDistr": [0.1807, 0.6427, 0.1407, 0.0277, 0.0082],
"tokens": 10,
"depth": 5,
"numChildren": 2,
"pixels": 196
},
"index": 1,
"child2": {
"index": 13,
"leaf": true,
"rating": 13.0,
"text": "but",
"scoreDistr": [0.0016, 0.0046, 0.9908, 0.0013, 0.0016],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 18
},
"child3": {
"child0": {
"index": 15,
"leaf": true,
"rating": 13.0,
"text": "it",
"scoreDistr": [0.0005, 0.0018, 0.9932, 0.0034, 0.0011],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 8
},
"index": 14,
"leaf": false,
"child1": {
"child0": {
"index": 17,
"leaf": true,
"rating": 13.0,
"text": "has",
"scoreDistr": [0.0007, 0.0019, 0.994, 0.0026, 0.0008],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 21
},
"index": 16,
"child2": {
"child0": {
"index": 22,
"leaf": true,
"rating": 18.0,
"text": "spice",
"scoreDistr": [0.0242, 0.0883, 0.1196, 0.7036, 0.0643],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 29
},
"index": 21,
"leaf": false,
"child1": {
"child0": {
"index": 24,
"leaf": true,
"rating": 13.0,
"text": "to",
"scoreDistr": [0.0009, 0.0032, 0.9906, 0.0042, 0.0012],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 11
},
"index": 23,
"leaf": false,
"child1": {
"child0": {
"index": 26,
"leaf": true,
"rating": 13.0,
"text": "keep",
"scoreDistr": [0.0006, 0.0018, 0.9953, 0.0016, 0.0007],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 26
},
"index": 25,
"leaf": false,
"child1": {
"child0": {
"index": 28,
"leaf": true,
"rating": 13.0,
"text": "it",
"scoreDistr": [0.0005, 0.0018, 0.9932, 0.0034, 0.0011],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 8
},
"index": 27,
"leaf": false,
"child1": {
"index": 29,
"leaf": true,
"rating": 18.0,
"text": "interesting",
"scoreDistr": [0.0012, 0.0086, 0.0073, 0.9756, 0.0073],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 62
},
"rating": 18.0,
"text": "it interesting",
"scoreDistr": [0.0074, 0.0386, 0.1756, 0.7247, 0.0537],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 73
},
"rating": 18.0,
"text": "keep it interesting",
"scoreDistr": [0.0047, 0.0177, 0.1022, 0.8118, 0.0636],
"tokens": 5,
"depth": 3,
"numChildren": 2,
"pixels": 102
},
"rating": 18.0,
"text": "to keep it interesting",
"scoreDistr": [0.0058, 0.0232, 0.1703, 0.7458, 0.055],
"tokens": 7,
"depth": 4,
"numChildren": 2,
"pixels": 116
},
"rating": 18.0,
"text": "spice to keep it interesting",
"scoreDistr": [0.0091, 0.0199, 0.1908, 0.5909, 0.1893],
"tokens": 9,
"depth": 5,
"numChildren": 2,
"pixels": 148
},
"rating": 18.0,
"child1": {
"child0": {
"index": 19,
"leaf": true,
"rating": 13.0,
"text": "just",
"scoreDistr": [0.0005, 0.0017, 0.9963, 0.0011, 0.0004],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 21
},
"index": 18,
"leaf": false,
"child1": {
"index": 20,
"leaf": true,
"rating": 13.0,
"text": "enough",
"scoreDistr": [0.0003, 0.0015, 0.9953, 0.0025, 0.0004],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 43
},
"rating": 13.0,
"text": "just enough",
"scoreDistr": [0.0025, 0.0189, 0.9031, 0.0724, 0.003],
"tokens": 3,
"depth": 2,
"numChildren": 2,
"pixels": 67
},
"text": "has just enough spice to keep it interesting",
"scoreDistr": [0.0072, 0.0165, 0.0844, 0.6936, 0.1983],
"tokens": 14,
"depth": 6,
"numChildren": 3,
"leaf": false,
"pixels": 242
},
"rating": 18.0,
"text": "it has just enough spice to keep it interesting",
"scoreDistr": [0.0069, 0.0159, 0.0659, 0.7538, 0.1575],
"tokens": 16,
"depth": 7,
"numChildren": 2,
"pixels": 253
},
"rating": 18.0,
"child1": {
"index": 12,
"leaf": true,
"rating": 13.0,
"text": ",",
"scoreDistr": [0.0006, 0.0016, 0.9952, 0.0018, 0.0007],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 4
},
"text": "There are slow and repetitive parts , but it has just enough spice to keep it interesting .",
"scoreDistr": [0.022, 0.061, 0.1149, 0.6522, 0.15],
"tokens": 30,
"depth": 8,
"leaf": false,
"numChildren": 5,
"child4": {
"index": 30,
"leaf": true,
"rating": 13.0,
"text": ".",
"scoreDistr": [0.0004, 0.001, 0.9969, 0.0011, 0.0005],
"tokens": 1,
"depth": 1,
"numChildren": 0,
"pixels": 4
},
"pixels": 487
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment