node-corenlp icon indicating copy to clipboard operation
node-corenlp copied to clipboard

Using just `Sentence` and `TokenizerAnnotator` fails to parse JSON

Open gerardobort opened this issue 7 years ago • 0 comments

The problem is on Sentence::fromJSON. Particularly the isSentence parameter comes as false for the sentence when the whole CoreNLP JSON output is just a sentence. This last thing happens when not the WordsToSentenceAnnotator is not specified in the pipeline.

gerardobort avatar Sep 09 '17 13:09 gerardobort