tokenSpans,tokens, //the tokens
pos,posProbs, // the pos tags (might be null)
chunkSpans,chunkProps); //the chunks (might be null)
}
} else {
Span[] tokenSpans = tokenizer.tokenizePos(text);
String[] tokens = getTokensForSpans(text, tokenSpans);
enhance(suggestionCache,site,ci,language,0,text,tokenSpans,tokens,
null,null,null,null);
}
//finally write the entity enhancements