public void computeEnhancements(ContentItem ci) throws EngineException {
AnalysedText at = initAnalysedText(this,analysedTextFactory,ci);
String language = getLanguage(this, ci, true);
SentenceDetector sentenceDetector = getSentenceDetector(language);
if(sentenceDetector != null){
for(opennlp.tools.util.Span sentSpan : sentenceDetector.sentPosDetect(at.getSpan())) {
//detect sentences and add it to the AnalyzedText.
Sentence sentence = at.addSentence(sentSpan.getStart(), sentSpan.getEnd());
log.trace(" > add {}",sentence);
}
} else {