Closed jgazelle closed 3 years ago
If i use 'tokenize' and ssplit it is not returning null.When I add 'pos' then sentences above is giving null
Sample is fixed and updated in docs
var sentencesAnnotationClass = GetAnnotationClass<CoreAnnotations.SentencesAnnotation>();
var sentences = sentencesAnnotationClass.getClasses().Select(document.get).ToList();
I used the code from the below link https://sergey-tihon.github.io/Stanford.NLP.NET//samples/CoreNLP.Server.html Here sentences returns null var sentences = document.get(sentencesAnnotationClass) as java.util.AbstractList;