Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 80795 invoked from network); 16 Feb 2011 14:34:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Feb 2011 14:34:51 -0000 Received: (qmail 14853 invoked by uid 500); 16 Feb 2011 14:34:51 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 14532 invoked by uid 500); 16 Feb 2011 14:34:47 -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 14519 invoked by uid 99); 16 Feb 2011 14:34:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 14:34:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anujsays@gmail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qy0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Feb 2011 14:34:40 +0000 Received: by qyk8 with SMTP id 8so3261719qyk.6 for ; Wed, 16 Feb 2011 06:34:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=K40cqE5TNijM0ipRoXRXaF6gG95MOlLwwHlOZXEgqyc=; b=A0Gg5yVbu35DckepIqHvz0KB/56afz4EQKo+QdgdCUjYHV+OG5rDuL8yW3E15DPU3i UGuFwKjKGeX4HMUI8bHyH2tXNDYz+zH2AmuCCLAxycYye2HMgJGHsTbr1lU0LJN/5jjm VZoO4O8tcaRx8ygkQDf8IEyCRVUamG6Mkqv4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=W9LDQQqym7DUpqgMVpSr6++aBAO4BW6KVMvLlENo5dU+LV3azPQsMTWdJka/mxRUA2 YGeRVY7KVSk5PSdA0bzncLPQTdpHlu2Bzpv3OvcxDTiJHZ4hE8qqgSrgZqgbyxyhMPU+ djIDkthWXDPUIUUQbNY9/VsKPqsTKo4v6bZn0= MIME-Version: 1.0 Received: by 10.224.20.8 with SMTP id d8mr882315qab.144.1297866859051; Wed, 16 Feb 2011 06:34:19 -0800 (PST) Received: by 10.220.171.69 with HTTP; Wed, 16 Feb 2011 06:34:19 -0800 (PST) Date: Wed, 16 Feb 2011 20:04:19 +0530 Message-ID: Subject: Using configuration parameter within regex validator From: Anuj Kumar To: user@uima.apache.org Content-Type: multipart/alternative; boundary=0015175cba40197d65049c672d15 --0015175cba40197d65049c672d15 Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to use the Validation for the Regex annotator. For validation I need to use a threshold value and I want it to be configurable. I can declare that as a configuration parameter, but is there a way to access that configuration parameter within the regex validator? If not then I think the only solution is to write my own Annotator and then use the initialize method to access the configuration from the UIMA context. What would you suggest? Regards, Anuj --0015175cba40197d65049c672d15--