You can leave the types in the type system tab of the new descriptor file, blank. This cas consumer doesn't `
The code in PersonTitleDBWriterCasConsumer.java doesn't use any CAS types other that the built-in types. It iterates over all uima.tcas.Annotation instances - that's the only type it needs, and that one is built-in. Hope this helps. Please ask more questions, if needed. -Marshall Ashutosh Sharma wrote: > Hi Marshall, > > But what and how will we define the types in type system tab of the new > descriptor file for PersonTitleDBWriterCasConsumer.java > > Thanks & Regards, > Ashutosh > >> Date: Tue, 18 Dec 2007 13:34:56 -0500> From: [EMAIL PROTECTED]> To: >> [email protected]> Subject: Re: PersonTitleDBWriterCasConsumer >> descriptor file needed> > Hi Ashutosh -> > I don't think there is such a >> descriptor. Perhaps you could do one> (maybe use the Eclipse Component >> Descriptor Editor, creating a new CAS> Consumer component, with one input >> parameter: OutputDirectory, which is> the path to a directory which will be >> the "System" directory for the> Derby DB) and we could add it to the set of >> example descriptors?> > -Marshall> > Ashutosh Sharma wrote:> > Hi> > > > I >> want to use >> examples\src\org\apache\uima\examples\cpe\PersonTitleDBWriterCasConsumer.java >> to save analysis result in database. > > But I don't get XML descriptor >> file for the same. So, I need the descriptor file for DBWriterCasConsumer. >> Please provide the xml descriptor file or where I can find that one. > > > > >> Thanks & Regards,> > Ashutosh Sharma> > > > > > > > > > >> _________________________________________________________________> > Post >> free property ads on Yello Classifieds now! www.yello.in> > >> http://ss1.richmedia.in/recurl.asp?pid=220> > > >> > _________________________________________________________________ > Post free property ads on Yello Classifieds now! www.yello.in > http://ss1.richmedia.in/recurl.asp?pid=221 >
