Created
November 7, 2013 22:57
-
-
Save vanatteveldt/7363336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wva@amcatsql2:~/xtas/xtas$ cat /tmp/marines.conll | |
1 The _ DT DT _ 2 det _ _ | |
2 marines _ NNS NNS _ 3 nsubj _ _ | |
3 attacked _ VBN VBN _ 0 root _ _ | |
4 the _ DT DT _ 5 det _ _ | |
5 compound _ NN NN _ 3 dobj _ _ | |
6 . _ . . _ 3 punct _ _ | |
wva@amcatsql2:~/xtas/xtas$ cat /tmp/marines.conll | nc localhost 9888 | python -m json.tool | |
{ | |
"frames": [ | |
{ | |
"annotationSets": [ | |
{ | |
"frameElements": [ | |
{ | |
"name": "Victim", | |
"spans": [ | |
{ | |
"end": 5, | |
"start": 3, | |
"text": "the compound" | |
} | |
] | |
}, | |
{ | |
"name": "Assailant", | |
"spans": [ | |
{ | |
"end": 2, | |
"start": 0, | |
"text": "The marines" | |
} | |
] | |
} | |
], | |
"rank": 0, | |
"score": 97.57311668385962 | |
} | |
], | |
"target": { | |
"name": "Attack", | |
"spans": [ | |
{ | |
"end": 3, | |
"start": 2, | |
"text": "attacked" | |
} | |
] | |
} | |
} | |
], | |
"tokens": [ | |
"The", | |
"marines", | |
"attacked", | |
"the", | |
"compound", | |
"." | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment