public void processCas(CAS aCAS) throws ResourceProcessException {
		if(null == answer)
			return;
		
		JCas jcas;
		try {
			jcas = aCAS.getJCas();
		} catch (CASException e) {
			throw new ResourceProcessException(e);
		}

		String docKey = null;
		FSIterator<Annotation> it2 = jcas.getAnnotationIndex(DocumentKey.type).iterator();
		if (it2.hasNext()) {
			DocumentKey key = (DocumentKey) it2.next();
			docKey = key.getKey();
		}

		FSIterator<Annotation> it = jcas.getAnnotationIndex(GeneName.type).iterator();
		// System.out.println("[consumer]" + jcas.getDocumentText());
		while (it.hasNext()) {
			GeneName np = (GeneName) it.next();
			// System.out.println(String.format("%s|%d %d|%s", docKey,
			// np.getBegin(), np.getEnd(), np.getName()));
			// writer.println(String.format("%s|%d %d|%s", docKey,
			// np.getBegin(), np.getEnd(), np.getName()));
			Set<String> answerSet = answer.get(docKey);
			if (answerSet.contains(np.getName())) {
				correctHit++;
			} else
				wrongHit++;
		}
	}