Factory.createResource("gate.corpora.DocumentImpl", parms);
AnnotationSet lookups = doc.getAnnotations().get("OutType");
assertEquals(0,lookups.size());
// run the gazetteer on the document
eg.setDocument(doc);
eg.execute();
// check if we got the correct annotations
AnnotationSet tokens = doc.getAnnotations().get("Token");
assertEquals(46,tokens.size());
AnnotationSet sentences = doc.getAnnotations().get("Sentence");
assertEquals(4,sentences.size());