if (Server.getTokenizer() == null && disambiguatorName.equals(SpotlightConfiguration.DisambiguationPolicy.Default.name())
&& textString.length() > maxLengthForOccurrenceCentric) {
disambiguatorName = SpotlightConfiguration.DisambiguationPolicy.Document.name();
LOG.info(String.format("Text length > %d. Using %s to disambiguate.",maxLengthForOccurrenceCentric,disambiguatorName));
}
ParagraphDisambiguatorJ disambiguator = Server.getDisambiguator(disambiguatorName);
List<DBpediaResourceOccurrence> occList = disambiguate(spots, disambiguator);
FilterElement filter = new OccsFilter(confidence, support, ontologyTypesString, sparqlQuery, blacklist, coreferenceResolution, Server.getSimilarityThresholds(), Server.getSparqlExecute());
occList = filter.accept(new FilterOccsImpl() ,occList);