uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Schaff├Âner <the.sha...@googlemail.com>
Subject RE: Convert Text to UIMA CAS
Date Mon, 04 Oct 2010 21:14:06 GMT
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: Armin.Wegner@bka.bund.de [mailto:Armin.Wegner@bka.bund.de]
> Sent: Monday, September 27, 2010 3:34 PM
> To: user@uima.apache.org
> 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: user-return-3209-Armin.Wegner=bka.bund.de@uima.apache.org
> [mailto:user-return-3209-Armin.Wegner=bka.bund.de@uima.apache.org] Im
> Auftrag von Diman Karagiozov
> Gesendet: Montag, 27. September 2010 15:26
> An: user@uima.apache.org
> 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, Armin.Wegner@bka.bund.de 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



Mime
View raw message