Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 29309 invoked from network); 18 Feb 2011 18:10:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2011 18:10:47 -0000 Received: (qmail 24500 invoked by uid 500); 18 Feb 2011 18:10:47 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 24288 invoked by uid 500); 18 Feb 2011 18:10:44 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 24276 invoked by uid 99); 18 Feb 2011 18:10:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Feb 2011 18:10:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of msa@schor.com designates 69.56.239.11 as permitted sender) Received: from [69.56.239.11] (HELO gateway16.websitewelcome.com) (69.56.239.11) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 18 Feb 2011 18:10:32 +0000 Received: (qmail 25701 invoked from network); 18 Feb 2011 18:09:29 -0000 Received: from gator74.hostgator.com (67.18.27.130) by gateway16.websitewelcome.com with SMTP; 18 Feb 2011 18:09:29 -0000 Received: from [24.235.145.1] (port=4018 helo=[192.168.1.104]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PqUmT-0007Bf-78 for user@uima.apache.org; Fri, 18 Feb 2011 12:10:13 -0600 Message-ID: <4D5EB605.7040500@schor.com> Date: Fri, 18 Feb 2011 13:10:13 -0500 From: Marshall Schor User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: printing out the annotations in a document References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator74.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org See if this code might help: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-examples/src/main/java/org/apache/uima/examples/PrintAnnotations.java?view=markup -Marshall On 2/14/2011 3:04 AM, Abhik Lahiri wrote: > Hi, > I am newbie to UIMA, and I want to know how I can print out all the > annotations that my Aggregate Engine detects (on a text document), into a > text file. Specifically, I have an aggregate engine that processes a > document and annotates it using different annotation types. I want to print > out all these annotations.... currently I am viewing them using CVD. > > Additionally, I want to automate this process of annotating and printing the > results to a file for a bunch a bunch of text documents. Can anyone help me > out with this too? > > Thanks for all your help, > Abhik Lahiri >