By downloading the CoreNLP server from here and following this instruction when I turn entitymentionson as an annotator:
wget --post-data 'Mark Ronson played a concert in New York.' 'localhost:9000/?properties={"tokenize.whitespace": "true", "annotators": "tokenize,ssplit,pos,entitymentions", "outputFormat": "json"}'
the given json is shown below, and although it has been added to the token ner, there is no list of references.
Any idea why?
(It should be noted that corenlp.run does not seem to return them either - it seems that the main points are the results of post-processing).
{
"sentences": [
{
"index": 0,
"parse": "SENTENCE_SKIPPED_OR_UNPARSABLE",
"tokens": [
{
"index": 1,
"word": "Mark",
"originalText": "Mark",
"lemma": "Mark",
"characterOffsetBegin": 0,
"characterOffsetEnd": 4,
"pos": "NNP",
"ner": "PERSON"
},
{
"index": 2,
"word": "Ronson",
"originalText": "Ronson",
"lemma": "Ronson",
"characterOffsetBegin": 5,
"characterOffsetEnd": 11,
"pos": "NNP",
"ner": "PERSON"
},
{
"index": 3,
"word": "played",
"originalText": "played",
"lemma": "play",
"characterOffsetBegin": 12,
"characterOffsetEnd": 18,
"pos": "VBD",
"ner": "O"
},
{
"index": 4,
"word": "a",
"originalText": "a",
"lemma": "a",
"characterOffsetBegin": 19,
"characterOffsetEnd": 20,
"pos": "DT",
"ner": "O"
},
{
"index": 5,
"word": "concert",
"originalText": "concert",
"lemma": "concert",
"characterOffsetBegin": 21,
"characterOffsetEnd": 28,
"pos": "NN",
"ner": "O"
},
{
"index": 6,
"word": "in",
"originalText": "in",
"lemma": "in",
"characterOffsetBegin": 29,
"characterOffsetEnd": 31,
"pos": "IN",
"ner": "O"
},
{
"index": 7,
"word": "New",
"originalText": "New",
"lemma": "New",
"characterOffsetBegin": 32,
"characterOffsetEnd": 35,
"pos": "NNP",
"ner": "LOCATION"
},
{
"index": 8,
"word": "York.",
"originalText": "York.",
"lemma": "York.",
"characterOffsetBegin": 36,
"characterOffsetEnd": 41,
"pos": "NNP",
"ner": "LOCATION"
}
]
}
]
}