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 B82BC768A for ; Fri, 11 Nov 2011 07:00:33 +0000 (UTC) Received: (qmail 98448 invoked by uid 500); 11 Nov 2011 07:00:33 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 98417 invoked by uid 500); 11 Nov 2011 07:00:21 -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 98347 invoked by uid 99); 11 Nov 2011 07:00:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 07:00:17 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [77.87.224.105] (HELO m1-bln.bund.de) (77.87.224.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 07:00:11 +0000 Received: from m1.mfw.bln.ivbb.bund.de (localhost [127.0.0.1]) by m1-bln.bund.de (8.14.3/8.14.3) with ESMTP id pAB6xmIA010348 for ; Fri, 11 Nov 2011 07:59:48 +0100 (CET) Received: (from localhost) by m1.mfw.bln.ivbb.bund.de (MSCAN) id 7/m1.mfw.bln.ivbb.bund.de/smtp-gw/mscan; Fri Nov 11 07:59:48 2011 X-P350-Id: 75e63ec910686190 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Common interface for sofa data and sofa reference Date: Fri, 11 Nov 2011 07:59:36 +0100 Message-ID: <9D1B75EABCEEBF40A683AE4A1F9FDFBD044808AA@swmmbx00.bk.bka.bund.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Common interface for sofa data and sofa reference Thread-Index: AcygP3katL2EGQIrR0WBkiSAgewtzQ== From: To: X-OriginalArrivalTime: 11 Nov 2011 06:59:37.0735 (UTC) FILETIME=[7A03B970:01CCA03F] Hi, A text sofa can be included in a CAS or it can be referenced by an URI. Writing an annotator, I do not want to distinguish between these two ways. I would like to have a common interface for both. Does it exist? Or do I have to write two versions of each annotator? For example, I'd like to have one method to get the document text, regardless whether it is included or referenced. Greetings, Armin