Span[] sentSpans = sentenceDetector.sentPosDetect(intext);
for (Span sentSpan : sentSpans) {
String sentence = sentSpan.getCoveredText(intext).toString();
int start = sentSpan.getStart();
Span[] tokSpans = tokenizer.tokenizePos(sentence);
String[] tokens = new String[tokSpans.length];
// System.out.println("\n\nTokens:");
for (int i = 0; i < tokens.length; i++) {
tokens[i] = tokSpans[i].getCoveredText(sentence).toString();
// System.out.println(tokens[i]);