SurfaceFormOccurrence unigramOccurrence = new SurfaceFormOccurrence(new SurfaceForm("Berlin"),
taggedText, 41, Provenance.Undefined(), -1);
try {
unigramClassifier.classify(unigramOccurrence);
ngramClassifier.classify(ngramOccurrence);
} catch (Exception e) {
throw new InitializationException("An error occurred while classifying a test spot using the co-occurrence " +
"based spot selector. This is most probably caused by an outdated spot selector model. Please " +
"check the spot selector models defined 'org.dbpedia.spotlight.spot.cooccurrence.classifier.*'.", e);
}