uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Götz <twgo...@gmx.de>
Subject Re: pretty print annotations in txt format
Date Thu, 24 Jun 2010 12:36:13 GMT
On 6/24/2010 11:22, Alice Lewnes wrote:
> hi, 
> 
> just wondering if there's any readily available uima component/
> cas consumer that does the above mentioned task? 
> for example, given PersonTitleAnnotator and input text 
> "Mr. Smith loves to play golf.", i want my output to look like 
> "<Person>Mr.Smith</Person> loves to play golf."
> 
> any pointer is very much appreciated.

http://uima.apache.org/downloads/releaseDocs/2.3.0-incubating/docs/api/org/apache/uima/util/CasToInlineXml.html

There's code that is more configurable in the simple server
component, but this here may be all that you need.

--Thilo

> 
> Alice


Mime
View raw message