Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6FBF291DD for ; Fri, 16 Dec 2011 10:37:59 +0000 (UTC) Received: (qmail 6528 invoked by uid 500); 16 Dec 2011 10:37:59 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 6494 invoked by uid 500); 16 Dec 2011 10:37:59 -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 6486 invoked by uid 99); 16 Dec 2011 10:37:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 10:37:59 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kottmann@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 10:37:49 +0000 Received: by werm13 with SMTP id m13so384736wer.6 for ; Fri, 16 Dec 2011 02:37:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=P7EWhZL25wNEeEX/jI0B2tcjVGKuaWqcDaZZYOxlz+8=; b=I17kCp2sjpsCZZo8unpxEdfdCqfdWwX6VEvm/hXgTs4pZ2Npe0RgnxYe3kH1WoL+ur b/mPJIJyyLhepF9zU6RN6SVc6DSHCgtfRQj0YzuWTTDv4iLEjnCXzI3p+lEMr7HWnKaw NlfPwyusmdJlrfZxjWp9syXOsZ0zYHxHFL580= Received: by 10.216.139.156 with SMTP id c28mr374206wej.34.1324031849064; Fri, 16 Dec 2011 02:37:29 -0800 (PST) Received: from karkand.infopaq.net (dkcphfw01.infopaq.dk. [213.150.59.2]) by mx.google.com with ESMTPS id ff1sm13945286wbb.5.2011.12.16.02.37.27 (version=SSLv3 cipher=OTHER); Fri, 16 Dec 2011 02:37:27 -0800 (PST) Message-ID: <4EEB1F66.3020105@gmail.com> Date: Fri, 16 Dec 2011 11:37:26 +0100 From: =?ISO-8859-1?Q?J=F6rn_Kottmann?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Merging CASes References: <9D1B75EABCEEBF40A683AE4A1F9FDFBD046264DD@swmmbx00.bk.bka.bund.de> In-Reply-To: <9D1B75EABCEEBF40A683AE4A1F9FDFBD046264DD@swmmbx00.bk.bka.bund.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org At OpenNLP we take the gold data, extract the text, run it through a one of our components and compute the scores on the fly. In your case I would do it similar. I would take the XMI files generated from the gold standard corpus, copy the text and other input data from the initial view to a second view. Now you can run the tagger over the second view, after you did this an additional analysis engine could compute your performance scores. J�rn On 12/16/11 7:18 AM, Armin.Wegner@bka.bund.de wrote: > Hi, > > I have got an XMI-file with the gold-standard as initial view and > another XMI-file with tagger output as inital view. Now I would like to > combine both into one CAS, such that the gold-standard is in the gold > view and the tagger ouput in the tagger view. Than, I can easly compute > the F-values. Any ideas how to do that? Is it possible to deserialze two > CASes in such a way? > > The problem is that I have to use the two files. With one file and some > annotators one could do it like this: Use an collection reader to read > the gold-standard from the XMI-file. Create a new view for the tagger. > Copy the sofa from the gold view to the new tagger view. Use an > annotator to tag the tagger view sofa. You could repeat the last three > steps for different taggers. Than you would have all annotations for all > taggers in one huge CAS. What do you think about this? > > Greetings, > > Armin