catch (Exception e) {
logger.warn("Can't use textrank as entity extractor: " + e.getMessage());
}
try {
ExtractorAlchemyAPI both = new ExtractorAlchemyAPI();
entity_extractor_mappings.put("alchemyapi", both);
text_extractor_mappings.put("alchemyapi", both);
ExtractorAlchemyAPI_Metadata both_metadata = new ExtractorAlchemyAPI_Metadata();
entity_extractor_mappings.put("alchemyapi-metadata", both_metadata);
text_extractor_mappings.put("alchemyapi-metadata", both_metadata);