updateRequestCount();
//Hacky key rotation scheme to hopefully bypass the time and rate limits...
keyIndex++;
if(keyIndex >= keys.length) keyIndex = 0;
calais = new CalaisJavaIf(keys[keyIndex]);
CalaisClassification result = new CalaisClassification();
String xmlResponse = StringUtils.unescapeHTML(calais.callEnlighten(text));
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();