The TutorialDateTime sample annotator makes use of something called "results specifications" to control what types are output. Some problems with this mechanism were identified recently which may be affecting your scenario. See https://issues.apache.org/jira/browse/UIMA-1840
As a test of this theory, try changing the language specification in the descriptor to match the language put into the CAS, possibly en_us? On Thu, Sep 9, 2010 at 5:14 AM, William Song <[email protected]> wrote: > Hi, > > I'm new to UIMA and I encountered some difficulty when trying to implement > my application. > > So I'm trying to build a CPE that takes descriptors as its arguments to > analyze a set of documents and eventually print out the result. Based on the > SimpleCPM class provided in the sample code, I'm able to get most of things > working. However, it won't be able to properly handle a analysis engine that > has multiple types in there. For instance, if I put in the descriptor > ex3/TutorialDateTime.xml, nothing will be printed by the AnnotationPrinter. > Could someone please explain why this won't work and how this can be fixed? > > Best Regards, > > William >
