Skip to content

Instantly share code, notes, and snippets.

@hackerzhut
Created November 23, 2014 04:37
Show Gist options
  • Save hackerzhut/0edfab8ad2c2563cb588 to your computer and use it in GitHub Desktop.
Save hackerzhut/0edfab8ad2c2563cb588 to your computer and use it in GitHub Desktop.
Stanford NLP Output
{
"annotations": [
{
"annotation": "This is the shit",
"coreMaps": [
{
"sentence": "This is the shit",
"tree": {
"0": {
"value": [
{
"1": {
"value": [
"This"
],
"predictions": [
0.0001,
0.0008,
0.9983,
0.0006,
0.0001
]
}
},
{
"2": {
"value": [
{
"3": {
"value": [
"is"
],
"predictions": [
0.0008,
0.0038,
0.9894,
0.0047,
0.0013
]
}
},
{
"4": {
"value": [
{
"5": {
"value": [
"the"
],
"predictions": [
0.0004,
0.0025,
0.9941,
0.0024,
0.0006
]
}
},
{
"6": {
"value": [
"shit"
],
"predictions": [
0.0286,
0.1441,
0.6307,
0.1541,
0.0425
]
}
}
],
"predictions": [
0.0073,
0.055,
0.8457,
0.0837,
0.0082
]
}
}
],
"predictions": [
0.0144,
0.1106,
0.6837,
0.1745,
0.0168
]
}
}
],
"predictions": [
0.0144,
0.1005,
0.7273,
0.1428,
0.015
]
}
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment