if(cache.contains(url.toString())){
text = cache.get(url.toString());
logger.debug(" Fetched from cache:"+url.toString());
} else {
HTMLDocument htmlDoc = HTMLFetcher.fetch(url);
TextDocument doc = new BoilerpipeSAXInput(htmlDoc.toInputSource()).getTextDocument();
text = ArticleExtractor.INSTANCE.getText(doc);
cache.put(url.toString(), text);
logger.debug("Fetched from web:"+url.toString());
}
if(text.length()<100){