Put the unstructured plain text into a new sofa and set up a sofa name mapping in the aggregate analysis engine. That's how I did for processing XML.
Regards, Martin > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Monday, September 27, 2010 3:34 PM > To: [email protected] > Subject: AW: Convert Text to UIMA CAS > > Hello Diman, > > how to pass the unstructered text to the analysis engine? I can only > set the document text with .setDocumentText(). But it is the ouput > which should go there. > > Greetings > Armin > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im > Auftrag von Diman Karagiozov > Gesendet: Montag, 27. September 2010 15:26 > An: [email protected] > Betreff: Re: Convert Text to UIMA CAS > > > Hi there, > > I suppose that you have to create an UIMA primitive engine and in its > "process" method to implement the two tasks you want: > 1) convert structured data to text; > 2) set it in the CAS; > 3) add the "structural" information (from the CSV) as UIMA annotations > in the CAS; > > greetings > Diman > > On 09/27/2010 04:21 PM, [email protected] wrote: > > Hi, > > > > I would like to convert a structured text (csv) into its raw text and > > a CAS. I have to do it in one run. So the raw text and the CAS a > > generated at the same time. How to accomplish this with UIMA? > > > > Thanks > > > > Armin
