Hi Armin, it is just another frontend to the same data.
Cheers, -- Richard Am 28.11.2011 um 07:30 schrieb [email protected]: > Hi Richard, > > thank you. I did it the hard way using CAS. JCas works fine as well. In both > cases SourceDocumentInformation.xml has to be included as a type system. > > For the latter case, I derived a JCas from a CAS with getJCas() local to the > process method as in > org.apache.uima.examples.cpe.FileSystemCollectionReader.java and used the > SourceDocumentInformation class to fill that annotation attributes in. What > happens if I make a JCas from a CAS that way? Is it just another frontend for > the same data or is the whole CAS data copied/duplicated to a new JCas > instance? > > Regards, > > Armin -- ------------------------------------------------------------------- Richard Eckart de Castilho Technical Lead Ubiquitous Knowledge Processing Lab FB 20 Computer Science Department Technische Universität Darmstadt Hochschulstr. 10, D-64289 Darmstadt, Germany phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117 [email protected] www.ukp.tu-darmstadt.de Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de -------------------------------------------------------------------
