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 5494D9557 for ; Sat, 10 Dec 2011 15:27:07 +0000 (UTC) Received: (qmail 46887 invoked by uid 500); 10 Dec 2011 15:27:07 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 46861 invoked by uid 500); 10 Dec 2011 15:27:07 -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 46853 invoked by uid 99); 10 Dec 2011 15:27:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 15:27:06 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [86.36.46.42] (HELO smtp.qatar.cmu.edu) (86.36.46.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Dec 2011 15:26:57 +0000 Received: from webmail.qatar.cmu.edu (webmail1.qatar.cmu.edu [86.36.46.50]) (user=tomasby mech=GSSAPI (56 bits)) by smtp.qatar.cmu.edu (8.14.3/8.14.3) with ESMTP id pBAFQWDe030479 for ; Sat, 10 Dec 2011 18:26:33 +0300 Received: from 86.36.35.156 (SquirrelMail authenticated user tomasby@QATAR.CMU.EDU) by webmail.qatar.cmu.edu with HTTP; Sat, 10 Dec 2011 18:26:33 +0300 Message-ID: In-Reply-To: <10861_1323529141_pBAEwx99014911_57FB5DF44C734F009BB46BE617BF2022@gmail.com> References: <21516ba7bf84195cb943faa07c558b02.squirrel@webmail.qatar.cmu.edu> <14801_1323205502_pB6L50GD024449_4EDE835A.2090909@gmx.de> <3535_1323240316_pB76jEIS004306_9D1B75EABCEEBF40A683AE4A1F9FDFBD045ABD95@swmmbx00.bk.bka.bund.de> <10861_1323529141_pBAEwx99014911_57FB5DF44C734F009BB46BE617BF2022@gmail.com> Date: Sat, 10 Dec 2011 18:26:33 +0300 Subject: Re: Annotation/Feature creation, changing types From: "Tomas By" To: user@uima.apache.org User-Agent: SquirrelMail/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-PMX-Version: 5.5.4.371499, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2011.12.10.151215 X-SMTP-Spam-Clean: 8% ( BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, FROM_EDU_TLD 0, WEBMAIL_SOURCE 0, WEBMAIL_USER_AGENT 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DATE_TZ_RU 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __PHISH_SPEAR_STRUCTURE_2 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SXL_URI_ERROR_SERVFAIL , __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __USER_AGENT 0) X-SMTP-Spam-Score: 8% X-Scanned-By: MIMEDefang 2.60 on 86.36.46.42 X-Virus-Checked: Checked by ClamAV on apache.org On Sat, December 10, 2011 5:58 pm, francesco.tangari.inf@gmail.com wrote: > Please you can show me how to get the Matched Word with the pattern? It's not really clear what exactly you are asking for. Do you feel that you understand the concept of "annotation"? If so, are there annotations in the right places after you run the annotator? Then your problem may be that you do not know how to access them. Generally, you first get all annotations of the type you want, and then iterate through them. If there are not annotations in the right places, then maybe the pattern is wrong. In that case, please post the pattern you are using (and an example of the data). Or perhaps you do not know how to inspect the cas? There are various tools for that. Please try to post a more specific query, or explain things better. /Tomas