From uima-user-returnmargaretmorrison@example.net Thu Jan 03 11:10:00 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 84064 invoked from network); 3 Jan 2008 11:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Jan 2008 11:10:00 -0000 Received: (qmail 1917 invoked by uid 500); 3 Jan 2008 11:09:49 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 1722 invoked by uid 500); 3 Jan 2008 11:09:48 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 1705 invoked by uid 99); 3 Jan 2008 11:09:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 03:09:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fk-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 11:09:15 +0000 Received: by fk-out-0910.google.com with SMTP id 18so7936639fks.12 for <margaretmorrison@example.net>; Thu, 03 Jan 2008 03:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=Ee7b9kjyfInEakNAGkOGSWP5Uie6+bROC/LOx4g0Btc=; b=tY7oR351RLMDspCkR7+JfJG09+ff6Bsxfn50hza4L6yknkrxrNO4bgM7+gh/7Ut7OCJSTEgumT0U9OvQkCMcgwBuUOf9VEx4Ma+rHFk2MGuXQac5DaML3g57qjEwIOP84FqznFNSd2JubwE+9XiUmLzunUtGRqqstqpF383VTh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=gKoER0/MqZ+1OXVMkyNxpsDkwvJk39Vk+FNsT1t4QPPo+aR6Mspfu2clpyGoFGyrxmhVnSPn2hjZ8SeX+FJfxNyI5/cnLwHdraFTW3rsPJg2CpkZwI8AqayveGdArDxMqR6+whEkiH8HmHlaQwIz3xeELUqtLY87Q8KQ/R0ralU= Received: by 83.161.120.155 with SMTP id s6mr17841349hue.62.1199358558564; Thu, 03 Jan 2008 03:09:18 -0800 (PST) Received: from karkand.frkajo.nephrocare.loc ( [83.161.120.155]) by mx.google.com with ESMTPS id d23sm884242nfh.24.283.161.120.155.09.16 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Jan 2008 03:09:17 -0800 (PST) Message-Id: <margaretmorrison@example.net> From: =?ISO-8859-1?Q?J=F6rn_Kottmann?= <margaretmorrison@example.net> To: margaretmorrison@example.net In-Reply-To: <1198766845.4597.5.camel@macintosh-3> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: CASEditor possible bugs Date: Thu, 3 Jan 2008 12:09:15 +0100 References: <1198766845.4597.5.camel@macintosh-3> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org Hello Jonathan, > When I create an annotation that has primitive typed features, the =20 > docs > say I should be able to edit those values in the editor window, but i > cannot. > > For example, I created Person with title, firstname, middle name, and > lastname features as Strings. I can create the annotation, but when I > double click any of the feature fields in the editor grid, nothing > happens and I can't set the values. I test this and it works fine in my setup. To edit you must do a =20 single click in the value column, after that you will see an embedded text field =20 where you can edit the value. If this still does not work for you please check if there are messages =20= added to the error log while you do this. Feature structures can be linked via drag and drop. For example I have a date feature structure which can be composed of =20 day, month and year annotations. To link them select the date feature structure and then pin it to one =20= edit view (the button with the lock icon), now drag the day annotation from the outline view and drop it over the =20= coresponding feature of the date fs. The drop will only work if the feature type and the type of the =20 dropped fs matches. Hope this helps, J=F6rn From uima-user-returnmargaretmorrison@example.net Fri Jan 04 09:06:30 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 19223 invoked from network); 4 Jan 2008 09:06:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2008 09:06:30 -0000 Received: (qmail 1169 invoked by uid 500); 4 Jan 2008 09:06:19 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 1154 invoked by uid 500); 4 Jan 2008 09:06:19 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Delivered-To: moderator for margaretmorrison@example.net Received: (qmail 888 invoked by uid 99); 4 Jan 2008 09:05:07 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Message-ID: <margaretmorrison@example.net> Date: Fri, 04 Jan 2008 10:04:47 +0100 From: Michael Baessler <margaretmorrison@example.net> Reply-To: margaretmorrison@example.net User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: margaretmorrison@example.net, margaretmorrison@example.net Subject: [ANNOUNCE] Apache UIMA 2.2.1-incubating Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+e2Vo17ID0Cn8r9DDTMs3JtgJA2IxUlIdDJwx MRxEsoKDsGG6P/8Vs+odofYkoxKAgRw/aFngjKceLLFS3NV6Ru I9xZM91niRt+b0e2fIOjQ== X-Virus-Checked: Checked by ClamAV on apache.org The Apache UIMA [1] team is pleased to announce the immediate availability of Apache UIMA 2.2.1-incubating [2]. UIMA is a component framework for the the development, discovery, composition and deployment of multi-modal analytics for the analysis of unstructured information. This release is a bug fix release of Apache UIMA 2.2.0-incubating. The main fixes are: - The CAS heap size augmentation algorithm was improved for large documents. - The resource loading of custom resource bundles was improved so that the message localization works for UIMA components packaged as PEAR. - Memory leak fix for CAS pool - CAS pool can now be garbage collected. The complete list of fixes is available in the release notes [3]. The UIMA Eclipse plugins can now be installed using an Eclipse update site [4]. The Apache UIMA team [1] http://incubator.apache.org/uima [2] http://incubator.apache.org/uima/downloads.html [3] http://incubator.apache.org/uima/downloads/releaseDocs/2.2.1-incubating/RELEASE_NOTES.html [4] http://incubator.apache.org/uima/downloads/releaseDocs/2.2.1-incubating/docs/html/overview_and_setup/overview_and_setup.html#ugr.ovv.eclipse_setup.install_uima_eclipse_plugins INCUBATION DISCLAIMER Apache UIMA is an effort undergoing incubation at The Apache Software Foundation (ASF). Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF. From uima-user-returnmargaretmorrison@example.net Fri Jan 04 19:12:41 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 21939 invoked from network); 4 Jan 2008 19:12:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Jan 2008 19:12:40 -0000 Received: (qmail 62365 invoked by uid 500); 4 Jan 2008 19:12:29 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 62202 invoked by uid 500); 4 Jan 2008 19:12:29 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 62193 invoked by uid 99); 4 Jan 2008 19:12:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 11:12:29 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO exch001.ibsys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 19:12:06 +0000 Received: from 83.161.120.155 ([83.161.120.155]) by exch001.ibsys.com ([83.161.120.155]) with Microsoft Exchange Server HTTP-DAV ; Fri, 4 Jan 2008 19:12:08 +0000 Received: from jd-linux by exch001.ibsys.com; 04 Jan 2008 13:12:08 -0600 Subject: Non-matching filter? From: jonathan doklovic <margaretmorrison@example.net> Reply-To: margaretmorrison@example.net To: UIMA User <margaretmorrison@example.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Internet Braodcasting Date: Fri, 04 Jan 2008 13:12:08 -0600 Message-Id: <margaretmorrison@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have been looking at Contraints and Filters. I understand how to use them to get an iterator that matches a certain type, but I want to do the opposite.... I have annotations for 3 types: City, State, and Location (where location contains a city and a state) Now I want to create a filtered iterator that basically returns any city annotations that are NOT already within a Location annotation. Is there any way to do this? Thanks, - Jonathan From uima-user-returnmargaretmorrison@example.net Sat Jan 05 07:53:48 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 60330 invoked from network); 5 Jan 2008 07:53:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2008 07:53:47 -0000 Received: (qmail 21737 invoked by uid 500); 5 Jan 2008 07:53:36 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 21717 invoked by uid 500); 5 Jan 2008 07:53:36 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 21708 invoked by uid 99); 5 Jan 2008 07:53:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2008 23:53:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Jan 2008 07:53:13 +0000 Received: (qmail invoked by alias); 05 Jan 2008 07:53:16 -0000 Received: from p5B20644F.dip.t-dialin.net (EHLO [83.161.120.155]) [83.161.120.155] by mail.gmx.net (mp036) with SMTP; 05 Jan 2008 08:53:16 +0100 X-Authenticated: #25330878 X-Provags-ID: V01U2FsdGVkX19l4FJZO6dlsMEy2F4qibk0+DXbu197gZ/Yd+HXTy JkIrZSv9WfvFr9 Message-ID: <margaretmorrison@example.net> Date: Sat, 05 Jan 2008 08:53:17 +0100 From: Thilo Goetz <margaretmorrison@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: margaretmorrison@example.net Subject: Re: Non-matching filter? References: <margaretmorrison@example.net> In-Reply-To: <margaretmorrison@example.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/mixed; boundary="------------070007060301000101050801" X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org --------------070007060301000101050801 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit jonathan doklovic wrote: > Hi, > > I have been looking at Contraints and Filters. > I understand how to use them to get an iterator that matches a certain > type, but I want to do the opposite.... > > I have annotations for 3 types: City, State, and Location (where > location contains a city and a state) > > Now I want to create a filtered iterator that basically returns any city > annotations that are NOT already within a Location annotation. > > Is there any way to do this? > > Thanks, > > - Jonathan Jonathan, first, let me make sure I understand what it is that you need. So for example, for a sentence "the exhibition will visit New York, NY, and Paris, France" you would might have city annotations for "New York" and "Paris", a state annotation for "NY", and a location annotation for "New York, NY". You would want to find the city annotation for Paris, but not the one for New York. If this is what you're trying to do, I don't know of an easy answer. The fastest method would involve iterating over locations and cities in parallel, but that gets really messy and there are a ton of boundary cases to consider. So here's something that's a bit less efficient, but still ok performance-wise. Unfortunately, it still involves some relatively advanced use of CAS iterators. Please note: I just typed this in. It compiles, but has never run. If you can't get it to work, I'll need a real example ;-) And if this is not the problem you're trying to solve, also let us know. I'll stick the method here in the text, and the complete file in an attachment. HTH, Thilo public List<AnnotationFS> findOrphanedCities(CAS cas) { // Obtain type system info; replace with correct type names Type cityType = cas.getTypeSystem().getType("city"); Type locationType = cas.getTypeSystem().getType("location"); Feature beginFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_BEGIN); Feature endFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_END); // Create an empty location annotation to position iterator AnnotationFS locationSearch = cas.createAnnotation(cityType, 0, 0); // Obtain city and annotation iterators FSIterator cityIterator = cas.getAnnotationIndex(cityType).iterator(); FSIterator locationIterator = cas.getAnnotationIndex(locationType).iterator(); // Result list List<AnnotationFS> list = new ArrayList<AnnotationFS>(); // Iterate over all cities and collect those that are not covered by a location for (cityIterator.moveToFirst(); cityIterator.isValid(); cityIterator.moveToNext()) { AnnotationFS city = (AnnotationFS) cityIterator.get(); // Set the search location to the position of the current city locationSearch.setIntValue(beginFeat, city.getBegin()); locationSearch.setIntValue(endFeat, city.getEnd()); // Set the location iterator to that location, if it exists locationIterator.moveTo(locationSearch); // Check that the iterator is valid, and that the location it points to covers the city if (locationIterator.isValid()) { AnnotationFS loc = (AnnotationFS) locationIterator.get(); if ((loc.getBegin() <= city.getBegin()) && (loc.getEnd() >= city.getEnd())) { list.add(city); } } } return list; } --------------070007060301000101050801 Content-Type: text/plain; name="CityFinder.java" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="CityFinder.java" /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.uima.test; import java.util.ArrayList; import java.util.List; import org.apache.uima.cas.CAS; import org.apache.uima.cas.FSIterator; import org.apache.uima.cas.Feature; import org.apache.uima.cas.Type; import org.apache.uima.cas.text.AnnotationFS; /** * TODO: Create type commment. */ public class CityFinder { public List<AnnotationFS> findOrphanedCities(CAS cas) { // Obtain type system info; replace with correct type names Type cityType = cas.getTypeSystem().getType("city"); Type locationType = cas.getTypeSystem().getType("location"); Feature beginFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_BEGIN); Feature endFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_END); // Create an empty location annotation to position iterator AnnotationFS locationSearch = cas.createAnnotation(cityType, 0, 0); // Obtain city and annotation iterators FSIterator cityIterator = cas.getAnnotationIndex(cityType).iterator(); FSIterator locationIterator = cas.getAnnotationIndex(locationType).iterator(); // Result list List<AnnotationFS> list = new ArrayList<AnnotationFS>(); // Iterate over all cities and collect those that are not covered by a location for (cityIterator.moveToFirst(); cityIterator.isValid(); cityIterator.moveToNext()) { AnnotationFS city = (AnnotationFS) cityIterator.get(); // Set the search location to the position of the current city locationSearch.setIntValue(beginFeat, city.getBegin()); locationSearch.setIntValue(endFeat, city.getEnd()); // Set the location iterator to that location, if it exists locationIterator.moveTo(locationSearch); // Check that the iterator is valid, and that the location it points to covers the city if (locationIterator.isValid()) { AnnotationFS loc = (AnnotationFS) locationIterator.get(); if ((loc.getBegin() <= city.getBegin()) && (loc.getEnd() >= city.getEnd())) { list.add(city); } } } return list; } } --------------070007060301000101050801-- From uima-user-returnmargaretmorrison@example.net Sat Jan 05 12:56:50 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 26493 invoked from network); 5 Jan 2008 12:56:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Jan 2008 12:56:50 -0000 Received: (qmail 54386 invoked by uid 500); 5 Jan 2008 12:56:39 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 54359 invoked by uid 500); 5 Jan 2008 12:56:38 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 54350 invoked by uid 99); 5 Jan 2008 12:56:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 04:56:38 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jan 2008 12:56:16 +0000 Received: by fg-out-1718.google.com with SMTP id 22so4057085fge.26 for <margaretmorrison@example.net>; Sat, 05 Jan 2008 04:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Cv+JjapaP9NCvxHQ+wJOXv5Vc9vTwXZlkhMkVE3X7+w=; b=ZqjJWnn2nxD6zXqScZRGqfH3l6afSaRzEoXMY4+ly5Gc/po6DAtWOL7PldIn6DOBz0+A+FfVLFqv9kZxYnS2aKHlPUKKhyJnrkbGiSmrzBFCnWHY4JrSbPuqF3ccSBRW0BI3njQ2cP6oeuqz6JmHKBCzolVv8YM75o0wL5iFQS4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=de+MeG8kiF+IIlc2xgBhxcXxrPWax6RQbhFAGt+C3Tc87ijqhn4Zd24bNpk5GkQnSzjWrgsJCOo7a/9LPwHXE//GY2KGzeSiTooke3MYCHh0HMPIN477GqaLkex0SLyWkV8ANuJ1DaVQeFejioeduqVzBr+meeZP5gaodAlutJM= Received: by 83.161.120.155 with SMTP id d7mr31647304buf.4.1199537780200; Sat, 05 Jan 2008 04:56:20 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sat, 5 Jan 2008 04:56:20 -0800 (PST) Message-ID: <margaretmorrison@example.net> Date: Sat, 5 Jan 2008 07:56:20 -0500 From: "Eddie Epstein" <margaretmorrison@example.net> To: margaretmorrison@example.net, margaretmorrison@example.net Subject: Re: Non-matching filter? In-Reply-To: <margaretmorrison@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31714_9515297.1199537780198" References: <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31714_9515297.1199537780198 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline If a city can only be included in a single location, a simple approach would be to add a feature to the city type which indicates if the annotation has been added to a location. If a city can be in multiple locations, and locations can be modified or removed, the feature in city would have to be multivalued, e.g. a linked list. Eddie On Jan 4, 2008 2:12 PM, jonathan doklovic <margaretmorrison@example.net> wrote: > Hi, > > I have been looking at Contraints and Filters. > I understand how to use them to get an iterator that matches a certain > type, but I want to do the opposite.... > > I have annotations for 3 types: City, State, and Location (where > location contains a city and a state) > > Now I want to create a filtered iterator that basically returns any city > annotations that are NOT already within a Location annotation. > > Is there any way to do this? > > Thanks, > > - Jonathan > ------=_Part_31714_9515297.1199537780198-- From uima-user-returnmargaretmorrison@example.net Mon Jan 07 01:06:47 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 30680 invoked from network); 7 Jan 2008 01:06:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Jan 2008 01:06:47 -0000 Received: (qmail 87170 invoked by uid 500); 7 Jan 2008 01:06:36 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 87150 invoked by uid 500); 7 Jan 2008 01:06:36 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 87141 invoked by uid 99); 7 Jan 2008 01:06:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2008 17:06:36 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2008 01:06:12 +0000 Received: by an-out-0708.google.com with SMTP id b33so1304058ana.83 for <margaretmorrison@example.net>; Sun, 06 Jan 2008 17:06:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=2WUNykQdi5hAVD7sHAUTmDSrBB5CVWY4P+8/Ow7MXog=; b=GTvyhzmt9gIyBkKVY4dQiRSvTfmQKnD4FmwKspJbXX7VC6sU5UfrgEox7Ds5ttgWi5Lir+5GkaIF3tOezR0Ln+VHbn4kzW+CbwQ/3OuNzXZ6bJYHBeyGd1RgIGEjKfjQf6anR9spPp6hXdwuaxlUGm85c5GMIxNTqo5Dlg9CLCc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=H1/Ggm+BK2Cxm+lE2yWj6zicVlfsKFsO+4CZIikTxhM3UFsH31/44DMBFXHIHm9jJqiUUChURThxqk5rxhJJdzh2i17BCcFdG+gApQJdeCZnb/4k11qcW6u9ScCdsKbvhIf/8d1aDTgN/ilF+7u9LYwyZeWoi2iOQPC/GY6DXbo= Received: by 83.161.120.155 with SMTP id c9mr41306878ang.62.1199667977174; Sun, 06 Jan 2008 17:06:17 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 6 Jan 2008 17:06:17 -0800 (PST) Message-ID: <margaretmorrison@example.net> Date: Mon, 7 Jan 2008 12:06:17 +1100 From: "James Montgomery" <margaretmorrison@example.net> To: margaretmorrison@example.net Subject: Eclipse update site URL incorrect in documentation MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31035_19629427.1199667977168" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31035_19629427.1199667977168 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi developers et al., I'm pleased the Eclipse plugins can now be installed using an Eclipse update site, but have two issues: 1. The site reported in the (online) documentation is wrong, it should be: http://www.apache.org/dist/incubator/uima/eclipseUpdateSite/ (In the documentation the last directory is given as eclipse-update-site.) 2. When I ask Eclipse to visit the site to install new features it reports an error: Unable to access " http://www.apache.org/dist/incubator/uima/eclipseUpdateSite ". Error accessing site stream. [Invalid byte 1 of 1-byte UTF-8 sequence.] ... When I examine site.xml in a browser it *looks* OK to me. Any ideas? (I should also point out I already have the plugins installed manually, but would like to get the update feature working too, for the future.) TIA, James -------------------------------------------------- Dr James Montgomery Postdoctoral Fellow Faculty of Information & Communication Technologies Swinburne University of Technology Melbourne, Australia ------=_Part_31035_19629427.1199667977168-- From uima-user-returnmargaretmorrison@example.net Mon Jan 07 03:44:27 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 69796 invoked from network); 7 Jan 2008 03:44:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Jan 2008 03:44:27 -0000 Received: (qmail 62241 invoked by uid 500); 7 Jan 2008 03:44:16 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 62222 invoked by uid 500); 7 Jan 2008 03:44:16 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 62213 invoked by uid 99); 7 Jan 2008 03:44:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2008 19:44:16 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO gateway02.websitewelcome.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 Jan 2008 03:44:03 +0000 Received: (qmail 19810 invoked from network); 7 Jan 2008 03:47:04 -0000 Received: from gator74.hostgator.com (83.161.120.155) by gateway02.websitewelcome.com with SMTP; 7 Jan 2008 03:47:04 -0000 Received: from ool-44c6c63b.dyn.optonline.net ([83.161.120.155]:8525 helo=[83.161.120.155]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <margaretmorrison@example.net>) id 1JBiu1-0003th-Mk for margaretmorrison@example.net; Sun, 06 Jan 2008 21:43:53 -0600 Message-ID: <margaretmorrison@example.net> Date: Sun, 06 Jan 2008 22:42:42 -0500 From: Marshall Schor <margaretmorrison@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: margaretmorrison@example.net Subject: Re: Eclipse update site URL incorrect in documentation References: <margaretmorrison@example.net> In-Reply-To: <margaretmorrison@example.net> 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 - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-Virus-Checked: Checked by ClamAV on apache.org Hi James - This is our first try at doing the update site, and we simultaneously were the first project in the incubator to move the distribution point for our project to the new Apache location for incubator distributions and set up "mirroring". I'll take a look (tomorrow) and see if I can figure out what's gone wrong. -Marshall James Montgomery wrote: > Hi developers et al., > > I'm pleased the Eclipse plugins can now be installed using an Eclipse update > site, but have two issues: > > 1. The site reported in the (online) documentation is wrong, it should be: > http://www.apache.org/dist/incubator/uima/eclipseUpdateSite/ > (In the documentation the last directory is given as eclipse-update-site.) > > 2. When I ask Eclipse to visit the site to install new features it reports > an error: > Unable to access " > http://www.apache.org/dist/incubator/uima/eclipseUpdateSite ". Error > accessing site stream. [Invalid byte 1 of 1-byte UTF-8 sequence.] > ... > > When I examine site.xml in a browser it *looks* OK to me. Any ideas? (I > should also point out I already have the plugins installed manually, but > would like to get the update feature working too, for the future.) > > TIA, > James > > -------------------------------------------------- > Dr James Montgomery > Postdoctoral Fellow > Faculty of Information & Communication Technologies > Swinburne University of Technology > Melbourne, Australia > > From uima-user-returnmargaretmorrison@example.net Mon Jan 07 03:48:43 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 76647 invoked from network); 7 Jan 2008 03:48:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Jan 2008 03:48:43 -0000 Received: (qmail 69253 invoked by uid 500); 7 Jan 2008 03:48:32 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 69090 invoked by uid 500); 7 Jan 2008 03:48:32 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 69081 invoked by uid 99); 7 Jan 2008 03:48:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jan 2008 19:48:32 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2008 03:48:21 +0000 Received: by an-out-0708.google.com with SMTP id b33so1313595ana.83 for <margaretmorrison@example.net>; Sun, 06 Jan 2008 19:48:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=Tgbos+FU2xEw7LxUO3UdJnAjXZF7YQ1uFhGcY7vlJ+Q=; b=jXl9YfqRW6kH5Mk8t958JA99QirDIrf2xZEmCb5JxyP/5jhMno7OJ+whB/aJeYOCLGyn+8si61JlkMioxWXHOxsNGq4h6vhuN+Oxx7rfhARFkKGxepLwUp2PnLgSCCZT0QV8j6XPkiRCZGWyHWxZN0Q+X68hWLyjc9pqEq9/+tg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=xSdMl6XOKVF2+Y6Vj0wI0RiOJetADToYtrZ+0DAg+b6ASD3p04p9u0I9heLiXz6o04mvFBmDBtTUvqIbGwCJFje0GMVKjk1Muy9vZmdvxH9NZkZ+G3iE99wMUaCP8+S5Z9AhvIKxrItX+LXJ64/OmhpULFlP1Ynff4bDsyWEm7M= Received: by 83.161.120.155 with SMTP id f7mr23031691anc.108.1199677693315; Sun, 06 Jan 2008 19:48:13 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sun, 6 Jan 2008 19:48:13 -0800 (PST) Message-ID: <margaretmorrison@example.net> Date: Mon, 7 Jan 2008 14:48:13 +1100 From: "James Montgomery" <margaretmorrison@example.net> To: margaretmorrison@example.net Subject: Re: Eclipse update site URL incorrect in documentation In-Reply-To: <margaretmorrison@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31383_25021274.1199677693317" References: <margaretmorrison@example.net> <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31383_25021274.1199677693317 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Marshall. The development team's efforts to improve the project and its distribution are appreciated. On 07/01/2008, Marshall Schor <margaretmorrison@example.net> wrote: > > Hi James - > > This is our first try at doing the update site, and we simultaneously > were the first project in the incubator to move the distribution point > for our project to the new Apache location for incubator distributions > and set up "mirroring". I'll take a look (tomorrow) and see if I can > figure out what's gone wrong. > > -Marshall > > James Montgomery wrote: > > Hi developers et al., > > > > I'm pleased the Eclipse plugins can now be installed using an Eclipse > update > > site, but have two issues: > > > > 1. The site reported in the (online) documentation is wrong, it should > be: > > http://www.apache.org/dist/incubator/uima/eclipseUpdateSite/ > > (In the documentation the last directory is given as > eclipse-update-site.) > > > > 2. When I ask Eclipse to visit the site to install new features it > reports > > an error: > > Unable to access " > > http://www.apache.org/dist/incubator/uima/eclipseUpdateSite ". Error > > accessing site stream. [Invalid byte 1 of 1-byte UTF-8 sequence.] > > ... > > > > When I examine site.xml in a browser it *looks* OK to me. Any ideas? (I > > should also point out I already have the plugins installed manually, but > > would like to get the update feature working too, for the future.) > > > > TIA, > > James > > > > -------------------------------------------------- > > Dr James Montgomery > > Postdoctoral Fellow > > Faculty of Information & Communication Technologies > > Swinburne University of Technology > > Melbourne, Australia > > > > > > ------=_Part_31383_25021274.1199677693317-- From uima-user-returnmargaretmorrison@example.net Tue Jan 08 14:12:57 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 29234 invoked from network); 8 Jan 2008 14:12:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jan 2008 14:12:57 -0000 Received: (qmail 74571 invoked by uid 500); 8 Jan 2008 14:12:46 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 74539 invoked by uid 500); 8 Jan 2008 14:12:46 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 74529 invoked by uid 99); 8 Jan 2008 14:12:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 06:12:46 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO gateway05.websitewelcome.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 Jan 2008 14:12:20 +0000 Received: (qmail 3760 invoked from network); 8 Jan 2008 14:14:37 -0000 Received: from gator74.hostgator.com (83.161.120.155) by gateway05.websitewelcome.com with SMTP; 8 Jan 2008 14:14:37 -0000 Received: from yktgi01e0-s5.watson.ibm.com ([83.161.120.155]:7237 helo=[83.161.120.155]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <margaretmorrison@example.net>) id 1JCFBl-0008Nv-VH for margaretmorrison@example.net; Tue, 08 Jan 2008 08:12:22 -0600 Message-ID: <margaretmorrison@example.net> Date: Tue, 08 Jan 2008 09:11:10 -0500 From: Marshall Schor <margaretmorrison@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: margaretmorrison@example.net Subject: Re: Eclipse update site URL incorrect in documentation References: <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> In-Reply-To: <margaretmorrison@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-Virus-Checked: Checked by ClamAV on apache.org Hi James. I'm having trouble reproducing this problem. This is what I tried: Working on a Windows XP machine: 1) downloaded the current Eclipse version (83.161.120.155) 2) started it up, went to menu Help -> SoftwareUpdates -> Find and Install - added the uima site as a remote - selected that site, plus the "EMF" site (EMF is a pre-req for UIMA) - hit next and waited for the next selection screen. 3) picked uima, expanded the EMF twistie, and pushed "add required plugins" (not sure of the name, typing from memory...) It all downloaded / installed without errors, and seems to have worked. Can you provide details on steps that might reproduce the problem? Thanks. -Marshall James Montgomery wrote: > Thanks Marshall. The development team's efforts to improve the project and > its distribution are appreciated. > > On 07/01/2008, Marshall Schor <margaretmorrison@example.net> wrote: > >> Hi James - >> >> This is our first try at doing the update site, and we simultaneously >> were the first project in the incubator to move the distribution point >> for our project to the new Apache location for incubator distributions >> and set up "mirroring". I'll take a look (tomorrow) and see if I can >> figure out what's gone wrong. >> >> -Marshall >> >> James Montgomery wrote: >> >>> Hi developers et al., >>> >>> I'm pleased the Eclipse plugins can now be installed using an Eclipse >>> >> update >> >>> site, but have two issues: >>> >>> 1. The site reported in the (online) documentation is wrong, it should >>> >> be: >> >>> http://www.apache.org/dist/incubator/uima/eclipseUpdateSite/ >>> (In the documentation the last directory is given as >>> >> eclipse-update-site.) >> >>> 2. When I ask Eclipse to visit the site to install new features it >>> >> reports >> >>> an error: >>> Unable to access " >>> http://www.apache.org/dist/incubator/uima/eclipseUpdateSite ". Error >>> accessing site stream. [Invalid byte 1 of 1-byte UTF-8 sequence.] >>> ... >>> >>> When I examine site.xml in a browser it *looks* OK to me. Any ideas? (I >>> should also point out I already have the plugins installed manually, but >>> would like to get the update feature working too, for the future.) >>> >>> TIA, >>> James >>> >>> -------------------------------------------------- >>> Dr James Montgomery >>> Postdoctoral Fellow >>> Faculty of Information & Communication Technologies >>> Swinburne University of Technology >>> Melbourne, Australia >>> >>> >>> >> > > From uima-user-returnmargaretmorrison@example.net Tue Jan 08 14:21:50 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 32152 invoked from network); 8 Jan 2008 14:21:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jan 2008 14:21:50 -0000 Received: (qmail 90477 invoked by uid 500); 8 Jan 2008 14:21:39 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 90315 invoked by uid 500); 8 Jan 2008 14:21:39 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 90306 invoked by uid 99); 8 Jan 2008 14:21:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 06:21:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO gateway02.websitewelcome.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 08 Jan 2008 14:21:26 +0000 Received: (qmail 30406 invoked from network); 8 Jan 2008 14:24:31 -0000 Received: from gator74.hostgator.com (83.161.120.155) by gateway02.websitewelcome.com with SMTP; 8 Jan 2008 14:24:31 -0000 Received: from yktgi01e0-s5.watson.ibm.com ([83.161.120.155]:18168 helo=[83.161.120.155]) by gator74.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <margaretmorrison@example.net>) id 1JCFKN-0000cR-RU for margaretmorrison@example.net; Tue, 08 Jan 2008 08:21:15 -0600 Message-ID: <margaretmorrison@example.net> Date: Tue, 08 Jan 2008 09:20:04 -0500 From: Marshall Schor <margaretmorrison@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: margaretmorrison@example.net Subject: Re: Eclipse update site URL incorrect in documentation References: <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> In-Reply-To: <margaretmorrison@example.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 - incubator.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-Virus-Checked: Checked by ClamAV on apache.org One other thought: There's a possibility that "proxies" may be interfering. Can you please check this? The UIMA overview & setup book has this note: If your computer is on an internet connection which uses a proxy server, you can configure Eclipse to know about that. Put your proxy settings into Eclipse using the Eclipse preferences by accessing the menus: Window → Preferences... → Install/Update, and Enable HTTP proxy connection under the Proxy Settings with the information about your proxy. -Marshall Marshall Schor wrote: > Hi James. > > I'm having trouble reproducing this problem. This is what I tried: > > Working on a Windows XP machine: > 1) downloaded the current Eclipse version (83.161.120.155) > 2) started it up, went to menu Help -> SoftwareUpdates -> Find and > Install > - added the uima site as a remote > - selected that site, plus the "EMF" site (EMF is a pre-req for UIMA) > - hit next and waited for the next selection screen. > > 3) picked uima, expanded the EMF twistie, and pushed "add required > plugins" (not sure of the name, typing from memory...) > > It all downloaded / installed without errors, and seems to have worked. > > Can you provide details on steps that might reproduce the problem? > > Thanks. -Marshall > > James Montgomery wrote: >> Thanks Marshall. The development team's efforts to improve the >> project and >> its distribution are appreciated. >> >> On 07/01/2008, Marshall Schor <margaretmorrison@example.net> wrote: >> >>> Hi James - >>> >>> This is our first try at doing the update site, and we simultaneously >>> were the first project in the incubator to move the distribution point >>> for our project to the new Apache location for incubator distributions >>> and set up "mirroring". I'll take a look (tomorrow) and see if I can >>> figure out what's gone wrong. >>> >>> -Marshall >>> >>> James Montgomery wrote: >>> >>>> Hi developers et al., >>>> >>>> I'm pleased the Eclipse plugins can now be installed using an Eclipse >>>> >>> update >>> >>>> site, but have two issues: >>>> >>>> 1. The site reported in the (online) documentation is wrong, it should >>>> >>> be: >>> >>>> http://www.apache.org/dist/incubator/uima/eclipseUpdateSite/ >>>> (In the documentation the last directory is given as >>>> >>> eclipse-update-site.) >>> >>>> 2. When I ask Eclipse to visit the site to install new features it >>>> >>> reports >>> >>>> an error: >>>> Unable to access " >>>> http://www.apache.org/dist/incubator/uima/eclipseUpdateSite ". Error >>>> accessing site stream. [Invalid byte 1 of 1-byte UTF-8 sequence.] >>>> ... >>>> >>>> When I examine site.xml in a browser it *looks* OK to me. Any >>>> ideas? (I >>>> should also point out I already have the plugins installed >>>> manually, but >>>> would like to get the update feature working too, for the future.) >>>> >>>> TIA, >>>> James >>>> >>>> -------------------------------------------------- >>>> Dr James Montgomery >>>> Postdoctoral Fellow >>>> Faculty of Information & Communication Technologies >>>> Swinburne University of Technology >>>> Melbourne, Australia >>>> >>>> >>>> >>> >> >> > > > From uima-user-returnmargaretmorrison@example.net Tue Jan 08 17:16:31 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 85610 invoked from network); 8 Jan 2008 17:16:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jan 2008 17:16:31 -0000 Received: (qmail 72506 invoked by uid 500); 8 Jan 2008 17:16:20 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 72345 invoked by uid 500); 8 Jan 2008 17:16:20 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 72336 invoked by uid 99); 8 Jan 2008 17:16:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 09:16:20 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO exch001.ibsys.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 17:16:09 +0000 Received: from 83.161.120.155 ([83.161.120.155]) by exch001.ibsys.com ([83.161.120.155]) with Microsoft Exchange Server HTTP-DAV ; Tue, 8 Jan 2008 17:15:59 +0000 Received: from jd-linux by exch001.ibsys.com; 08 Jan 2008 11:15:59 -0600 Subject: Re: Non-matching filter? From: jonathan doklovic <margaretmorrison@example.net> Reply-To: margaretmorrison@example.net To: margaretmorrison@example.net In-Reply-To: <margaretmorrison@example.net> References: <margaretmorrison@example.net> <margaretmorrison@example.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Internet Braodcasting Date: Tue, 08 Jan 2008 11:15:59 -0600 Message-Id: <margaretmorrison@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 X-Virus-Checked: Checked by ClamAV on apache.org This is what I needed, thanks! - Jonathan On Sat, 2008-01-05 at 08:53 +0100, Thilo Goetz wrote: > jonathan doklovic wrote: > > Hi, > > > > I have been looking at Contraints and Filters. > > I understand how to use them to get an iterator that matches a certain > > type, but I want to do the opposite.... > > > > I have annotations for 3 types: City, State, and Location (where > > location contains a city and a state) > > > > Now I want to create a filtered iterator that basically returns any city > > annotations that are NOT already within a Location annotation. > > > > Is there any way to do this? > > > > Thanks, > > > > - Jonathan > > Jonathan, > > first, let me make sure I understand what it is that you need. So for example, > for a sentence "the exhibition will visit New York, NY, and Paris, France" you > would might have city annotations for "New York" and "Paris", a state annotation > for "NY", and a location annotation for "New York, NY". You would want to find > the city annotation for Paris, but not the one for New York. > > If this is what you're trying to do, I don't know of an easy answer. The fastest > method would involve iterating over locations and cities in parallel, but that > gets really messy and there are a ton of boundary cases to consider. So here's > something that's a bit less efficient, but still ok performance-wise. > Unfortunately, it still involves some relatively advanced use of CAS iterators. > > Please note: I just typed this in. It compiles, but has never run. If you > can't get it to work, I'll need a real example ;-) And if this is not the > problem you're trying to solve, also let us know. I'll stick the method here > in the text, and the complete file in an attachment. > > HTH, > Thilo > > public List<AnnotationFS> findOrphanedCities(CAS cas) { > // Obtain type system info; replace with correct type names > Type cityType = cas.getTypeSystem().getType("city"); > Type locationType = cas.getTypeSystem().getType("location"); > Feature beginFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_BEGIN); > Feature endFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_END); > // Create an empty location annotation to position iterator > AnnotationFS locationSearch = cas.createAnnotation(cityType, 0, 0); > // Obtain city and annotation iterators > FSIterator cityIterator = cas.getAnnotationIndex(cityType).iterator(); > FSIterator locationIterator = cas.getAnnotationIndex(locationType).iterator(); > // Result list > List<AnnotationFS> list = new ArrayList<AnnotationFS>(); > // Iterate over all cities and collect those that are not covered by a location > for (cityIterator.moveToFirst(); cityIterator.isValid(); cityIterator.moveToNext()) { > AnnotationFS city = (AnnotationFS) cityIterator.get(); > // Set the search location to the position of the current city > locationSearch.setIntValue(beginFeat, city.getBegin()); > locationSearch.setIntValue(endFeat, city.getEnd()); > // Set the location iterator to that location, if it exists > locationIterator.moveTo(locationSearch); > // Check that the iterator is valid, and that the location it points to covers the city > if (locationIterator.isValid()) { > AnnotationFS loc = (AnnotationFS) locationIterator.get(); > if ((loc.getBegin() <= city.getBegin()) && (loc.getEnd() >= city.getEnd())) { > list.add(city); > } > } > } > return list; > } > > plain text document attachment (CityFinder.java) > /* > * Licensed to the Apache Software Foundation (ASF) under one > * or more contributor license agreements. See the NOTICE file > * distributed with this work for additional information > * regarding copyright ownership. The ASF licenses this file > * to you under the Apache License, Version 2.0 (the > * "License"); you may not use this file except in compliance > * with the License. You may obtain a copy of the License at > * > * http://www.apache.org/licenses/LICENSE-2.0 > * > * Unless required by applicable law or agreed to in writing, > * software distributed under the License is distributed on an > * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > * KIND, either express or implied. See the License for the > * specific language governing permissions and limitations > * under the License. > */ > > > package org.apache.uima.test; > > import java.util.ArrayList; > import java.util.List; > > import org.apache.uima.cas.CAS; > import org.apache.uima.cas.FSIterator; > import org.apache.uima.cas.Feature; > import org.apache.uima.cas.Type; > import org.apache.uima.cas.text.AnnotationFS; > > /** > * TODO: Create type commment. > */ > public class CityFinder { > > public List<AnnotationFS> findOrphanedCities(CAS cas) { > // Obtain type system info; replace with correct type names > Type cityType = cas.getTypeSystem().getType("city"); > Type locationType = cas.getTypeSystem().getType("location"); > Feature beginFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_BEGIN); > Feature endFeat = cas.getTypeSystem().getFeatureByFullName(CAS.FEATURE_FULL_NAME_END); > // Create an empty location annotation to position iterator > AnnotationFS locationSearch = cas.createAnnotation(cityType, 0, 0); > // Obtain city and annotation iterators > FSIterator cityIterator = cas.getAnnotationIndex(cityType).iterator(); > FSIterator locationIterator = cas.getAnnotationIndex(locationType).iterator(); > // Result list > List<AnnotationFS> list = new ArrayList<AnnotationFS>(); > // Iterate over all cities and collect those that are not covered by a location > for (cityIterator.moveToFirst(); cityIterator.isValid(); cityIterator.moveToNext()) { > AnnotationFS city = (AnnotationFS) cityIterator.get(); > // Set the search location to the position of the current city > locationSearch.setIntValue(beginFeat, city.getBegin()); > locationSearch.setIntValue(endFeat, city.getEnd()); > // Set the location iterator to that location, if it exists > locationIterator.moveTo(locationSearch); > // Check that the iterator is valid, and that the location it points to covers the city > if (locationIterator.isValid()) { > AnnotationFS loc = (AnnotationFS) locationIterator.get(); > if ((loc.getBegin() <= city.getBegin()) && (loc.getEnd() >= city.getEnd())) { > list.add(city); > } > } > } > return list; > } > > } From uima-user-returnmargaretmorrison@example.net Tue Jan 08 23:50:41 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 56369 invoked from network); 8 Jan 2008 23:50:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 8 Jan 2008 23:50:41 -0000 Received: (qmail 28681 invoked by uid 500); 8 Jan 2008 23:50:29 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 28662 invoked by uid 500); 8 Jan 2008 23:50:29 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 28653 invoked by uid 99); 8 Jan 2008 23:50:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 15:50:29 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jan 2008 23:50:06 +0000 Received: by an-out-0708.google.com with SMTP id b33so2864ana.83 for <margaretmorrison@example.net>; Tue, 08 Jan 2008 15:50:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=nWhac2qWgyy44Hz1Q+GZqoK2OUpkgldxQp2xjIs6dbk=; b=pMrWCLW3OGDDrp/wURAiCse/LYhDUrnn7cXlUijfCM6T7ry8fYlhvcMFA5uIgsJgWxURJpTt9kYVS1o3Ged/0W5fYKg+t//KDcweleAqZ+kK+uwisGOzzxwVdPFmBi0lSfnBIFTFBB85mv1GFeQi50wTg17Ax6UZzafyVCOHv/Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=JJLRgj5ZPULKonPqLfNjzi+k4ZwgF90g9nR+awA2Pq5ld5mHWITyc1rkwtxWgR/VZ9b53e6G/hgeqwU+YbqaPs+xUTdGW75qKwt1pZb5HzXrXtQuFEF3bi9Z6uSCfAWYhdLX3+S4vbnmSyMDSWTuvCP1c/46oYDTpnqk2/zZCZU= Received: by 83.161.120.155 with SMTP id z9mr64649anf.42.1199836210998; Tue, 08 Jan 2008 15:50:10 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 8 Jan 2008 15:50:10 -0800 (PST) Message-ID: <margaretmorrison@example.net> Date: Wed, 9 Jan 2008 10:50:10 +1100 From: "James Montgomery" <margaretmorrison@example.net> To: margaretmorrison@example.net Subject: Re: Eclipse update site URL incorrect in documentation In-Reply-To: <margaretmorrison@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9068_15609078.1199836211001" References: <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> <margaretmorrison@example.net> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9068_15609078.1199836211001 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Mashall, I've just tried it again (no reboot since last attempt) and this time it worked fine. (Previously it wouldn't even show the update site because of difficulties reading the site.xml file.) Whatever the gremlins were before they appear to have gone now. By the way, the currently available version of the Overview & Setup doc book still gives the incorrect update site address (eclipse-update-site instead of eclipseUpdateSite). Thanks for your help, James. On 09/01/2008, Marshall Schor <margaretmorrison@example.net> wrote: > > Hi James. > > I'm having trouble reproducing this problem. This is what I tried: > > Working on a Windows XP machine: > 1) downloaded the current Eclipse version (83.161.120.155) > 2) started it up, went to menu Help -> SoftwareUpdates -> Find and Install > - added the uima site as a remote > - selected that site, plus the "EMF" site (EMF is a pre-req for UIMA) > - hit next and waited for the next selection screen. > > 3) picked uima, expanded the EMF twistie, and pushed "add required > plugins" (not sure of the name, typing from memory...) > > It all downloaded / installed without errors, and seems to have worked. > > Can you provide details on steps that might reproduce the problem? > > Thanks. -Marshall > > James Montgomery wrote: > > Thanks Marshall. The development team's efforts to improve the project > and > > its distribution are appreciated. > > > > On 07/01/2008, Marshall Schor <margaretmorrison@example.net> wrote: > > > >> Hi James - > >> > >> This is our first try at doing the update site, and we simultaneously > >> were the first project in the incubator to move the distribution point > >> for our project to the new Apache location for incubator distributions > >> and set up "mirroring". I'll take a look (tomorrow) and see if I can > >> figure out what's gone wrong. > >> > >> -Marshall > >> > >> James Montgomery wrote: > >> > >>> Hi developers et al., > >>> > >>> I'm pleased the Eclipse plugins can now be installed using an Eclipse > >>> > >> update > >> > >>> site, but have two issues: > >>> > >>> 1. The site reported in the (online) documentation is wrong, it should > >>> > >> be: > >> > >>> http://www.apache.org/dist/incubator/uima/eclipseUpdateSite/ > >>> (In the documentation the last directory is given as > >>> > >> eclipse-update-site.) > >> > >>> 2. When I ask Eclipse to visit the site to install new features it > >>> > >> reports > >> > >>> an error: > >>> Unable to access " > >>> http://www.apache.org/dist/incubator/uima/eclipseUpdateSite ". Error > >>> accessing site stream. [Invalid byte 1 of 1-byte UTF-8 sequence.] > >>> ... > >>> > >>> When I examine site.xml in a browser it *looks* OK to me. Any ideas? > (I > >>> should also point out I already have the plugins installed manually, > but > >>> would like to get the update feature working too, for the future.) > >>> > >>> TIA, > >>> James > >>> > >>> -------------------------------------------------- > >>> Dr James Montgomery > >>> Postdoctoral Fellow > >>> Faculty of Information & Communication Technologies > >>> Swinburne University of Technology > >>> Melbourne, Australia > >>> > >>> > >>> > >> > > > > > > ------=_Part_9068_15609078.1199836211001-- From uima-user-returnmargaretmorrison@example.net Tue Jan 15 01:18:22 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 38933 invoked from network); 15 Jan 2008 01:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Jan 2008 01:18:22 -0000 Received: (qmail 57861 invoked by uid 500); 15 Jan 2008 01:18:12 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 57836 invoked by uid 500); 15 Jan 2008 01:18:11 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 57827 invoked by uid 99); 15 Jan 2008 01:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jan 2008 17:18:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of margaretmorrison@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 01:17:47 +0000 Received: by fg-out-1718.google.com with SMTP id 22so2663676fge.26 for <margaretmorrison@example.net>; Mon, 14 Jan 2008 17:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=2GW/UngghX0JSeHABBLwk8zDWnncQvOXQ+KeivETuaE=; b=ZrCIgQ/6MjYb8TGYh8ZicBPCcYjOD+p4wmQNusuF9wq3cnK7V3XGxEsK8knTGa/GMtS5zoTp3bexiXahZTHZ8Ykk081xj7E3gwJ19Bh2wew/vNbOPlL4vIqRCX1y6d64UDaxz3WXVRMqPSudDLvkM+OnFma5Mc/e+cut3EwzRK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=lN0MB1RtfpDF6ttF0siaTgSrI7AqEDKa9MbgXQC9k9JuTcDv+z9FtmtVWlrukKBwbWjg1bKLTqdBpj2oxF5yZ+Za5C0EQLDaGoVdKWuMkD7D9l+O0d9AvKouHwCrXCq7RmoCXC3ZpG5JWKhfzbg6HUHL7KwNgu+KI9b+4N/HuqM= Received: by 83.161.120.155 with SMTP id t20mr8356188hue.41.1200359871671; Mon, 14 Jan 2008 17:17:51 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 14 Jan 2008 17:17:51 -0800 (PST) Message-ID: <margaretmorrison@example.net> Date: Tue, 15 Jan 2008 10:17:51 +0900 From: "SAITO, Isao Isaac" <margaretmorrison@example.net> Sender: margaretmorrison@example.net To: margaretmorrison@example.net Subject: question: how to get order of annotations created by previous annotators? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: f0cbaf6613b9780b X-Virus-Checked: Checked by ClamAV on apache.org hi all, I am trying to develop an aggregate analysis engine. The annotator run at the end (called annotator-end) wants to get all annotations created by the previous annotators(annotators-prev), as same order in given document(data that can be acquired by JCas#getDocumentText()). Could anyone tell me how to do this? For example of what I want, - 2 types of Annotation(PrefixAnnot, SuffixAnnot) are in use - by annotators-prev, more than 1 annotations are created using Annotation above - annotator-end wants to get a SuffixAnnot everytime after any PrefixAnnot comes In <code a> shown below, annotation instances can be acquired only with respect to the class and the order is not available as far as I know. Thanks, Isaac <code a> FSIndex prefixIndex = aJCas.getAnnotationIndex(PrefixAnnot.type); Iterator prefixIter = prefixIndex.iterator(); while (prefixIter.hasNext()) { PrefixAnnot prefix = (PrefixAnnot)prefixIter.next(); } FSIndex suffixIndex = aJCas.getAnnotationIndex(SuffixAnnot.type); Iterator suffixIter = suffixIndex.iterator(); while (suffixIter.hasNext()) { SuffixAnnot suffix = (SuffixAnnot)suffixIter.next(); } </code a> From uima-user-returnmargaretmorrison@example.net Tue Jan 15 12:38:29 2008 Return-Path: <uima-user-returnmargaretmorrison@example.net> Delivered-To: margaretmorrison@example.net Received: (qmail 80257 invoked from network); 15 Jan 2008 12:38:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 15 Jan 2008 12:38:28 -0000 Received: (qmail 33971 invoked by uid 500); 15 Jan 2008 12:38:18 -0000 Delivered-To: margaretmorrison@example.net Received: (qmail 33946 invoked by uid 500); 15 Jan 2008 12:38:17 -0000 Mailing-List: contact margaretmorrison@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:margaretmorrison@example.net> List-Unsubscribe: <mailto:margaretmorrison@example.net> List-Post: <mailto:margaretmorrison@example.net> List-Id: <uima-user.incubator.apache.org> Reply-To: margaretmorrison@example.net Delivered-To: mailing list margaretmorrison@example.net Received: (qmail 33937 invoked by uid 99); 15 Jan 2008 12:38:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 04:38:17 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO thelpusa.erlm.siemens.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 12:38:03 +0000 Received: from thelpusa.erlm.siemens.de (localhost.localdomain [83.161.120.155]) by thelpusa.erlm.siemens.de (Postfix) with ESMTP id 37C23DB8D80 for <margaretmorrison@example.net>; Tue, 15 Jan 2008 13:37:56 +0100 (CET) Received: from thelpusa (localhost.localdomain [83.161.120.155]) by thelpusa.erlm.siemens.de (Postfix) with ESMTP id 2A2FBDB8CDC for <margaretmorrison@example.net>; Tue, 15 Jan 2008 13:37:56 +0100 (CET) Received: from medeon.erlm.siemens.de (medeon.erlm.siemens.de [83.161.120.155]) by thelpusa.erlm.siemens.de (Postfix) with ESMTP for <margaretmorrison@example.net>; Tue, 15 Jan 2008 13:37:56 +0100 (CET) Received: from
{'source': 'Apache Software Foundation Public Mail Archives'}