Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 72595 invoked from network); 6 Dec 2008 03:51:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2008 03:51:22 -0000 Received: (qmail 16776 invoked by uid 500); 6 Dec 2008 03:51:34 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 16742 invoked by uid 500); 6 Dec 2008 03:51:34 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 16731 invoked by uid 99); 6 Dec 2008 03:51:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 19:51:34 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tong.fin@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Dec 2008 03:50:05 +0000 Received: by nf-out-0910.google.com with SMTP id c7so179345nfi.40 for ; Fri, 05 Dec 2008 19:50:42 -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=uRVoMOI/9gibtlZHbpV5snVOHTpLR0hLrYMTl+5RoNs=; b=OQYUJ+JfFTLcJMkLmmqSGAiKn+ovqm2wVtFUnOAkamB97UlxO6FA08rCPmcb13tOdW 3zM55rjMvArObbRl+bjoqLRnGCtRHm+chQwa+wn+MF8xVQQgxZ9LOXJYpTsr/56Xdh70 TI9kFJMsCI76LEZ38DghZzSvZFn+2x3z8G6aA= 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=UdgkKHvmG/39kiZ+ETEB0oyIBKA9eQPI1CdlxmmCet2GEPBoK3y52fOCb7SEzltnND Asz3us9CI9KArtYTQOGn6ccDLnRkPDy/waQsmagVHoc/98cuSSnC3Ba+zI57ZjTCZ5Es V+Klgvlpj8fqWOU1ZQnkxspQQEwZq9rjk4l/U= Received: by 10.210.51.10 with SMTP id y10mr707282eby.30.1228535442298; Fri, 05 Dec 2008 19:50:42 -0800 (PST) Received: by 10.210.40.7 with HTTP; Fri, 5 Dec 2008 19:50:42 -0800 (PST) Message-ID: <991df1420812051950q27cd0aa2jf2ea19b51c9f114c@mail.gmail.com> Date: Fri, 5 Dec 2008 22:50:42 -0500 From: "Tong Fin" To: uima-user@incubator.apache.org Subject: Re: Lucene cas consumer In-Reply-To: <4939E3A2.5010602@tk.informatik.tu-darmstadt.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31543_16407058.1228535442316" References: <63e2e4460812030706n3ece1828i69b411043e710f6@mail.gmail.com> <4938FA30.2090402@tk.informatik.tu-darmstadt.de> <49390503.4030003@gmail.com> <4939491F.3030500@tk.informatik.tu-darmstadt.de> <63e2e4460812051437m4a4f1e22x9f134876d803c53e@mail.gmail.com> <4939E3A2.5010602@tk.informatik.tu-darmstadt.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31543_16407058.1228535442316 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Related to the type mapping's topic: The "Simple Server" in the Sandbox (contributed by Thilo et al.) also has the notion of type mapping. Its main goal is to make UIMA output "easily consumable" by other tools without doing UIMA programming. The mapping is specified in an XML descriptor and, under the cover, it uses xml bean (JSR-173) to do the mapping from user-types to UIMA types. When I did the work to extend this Simple Server to support UIMA-AS, I also investigated the approaches related to "type mapping". >From my investigation and prototyping, I have the following possibilities do the type mapping (with constraints or filters): 1. xml-based descriptor (as Simple Server) 2. Ecore + OCL (Object Constraint Language) - if you like modeling :) 3. Script based on JSR-223 (i.e, JavaScript, Groovy, ...) Tong ------=_Part_31543_16407058.1228535442316--