node-corenlp
node-corenlp copied to clipboard
Using just `Sentence` and `TokenizerAnnotator` fails to parse JSON
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.