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 4B93E10AB0 for ; Tue, 29 Oct 2013 08:50:35 +0000 (UTC) Received: (qmail 5244 invoked by uid 500); 29 Oct 2013 08:50:35 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 4523 invoked by uid 500); 29 Oct 2013 08:50:29 -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 4515 invoked by uid 99); 29 Oct 2013 08:50:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 08:50:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of peteris.rudzajs@gmail.com designates 74.125.83.41 as permitted sender) Received: from [74.125.83.41] (HELO mail-ee0-f41.google.com) (74.125.83.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 08:50:23 +0000 Received: by mail-ee0-f41.google.com with SMTP id e53so487914eek.14 for ; Tue, 29 Oct 2013 01:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=WAYKr9UHMgzFGZTlcxfdrS0DplxRzIrxwSqQEAL+7E0=; b=cyVQeXt2HjX8UWJDROkKdXPWF4RjXPzjeXcNeNElHV/GoRc/YZAcWKeouoaAQXwwk8 E6W7ZIaiq0Mv392gzr7lekVrLeoaRii5TUBJ6oAxe8JTFaKQV6q9HuMy8MT3lcZRVa2Q pAnw/uRwr4EVRj20wajKHrCQXQJ+/iNHOBlm+fgtfQRnftTRL/MoUf5tQxWr9I6EBwsh JPEQ5QQ5Txb+G/883ItG5MkHbXXyqwgwhmr3H+1GaP1XAMHyrec9NK30i/bIOhhNG4uo 911aUxSYX0prt1t3wZ/Kf2aH/uucmsrdu//al2Abceo1s852+KbAAUdznGCEcDJ9ITBI bQcQ== X-Received: by 10.15.68.198 with SMTP id w46mr1634929eex.108.1383036602544; Tue, 29 Oct 2013 01:50:02 -0700 (PDT) MIME-Version: 1.0 Sender: peteris.rudzajs@gmail.com Received: by 10.15.94.140 with HTTP; Tue, 29 Oct 2013 01:49:42 -0700 (PDT) From: Peter Date: Tue, 29 Oct 2013 10:49:42 +0200 X-Google-Sender-Auth: 5Loi0RZ3p3quP-JvdQGgSpYPLVs Message-ID: Subject: Setting UIMA ConceptMapper dictionary from aggregate AE To: user@uima.apache.org Content-Type: multipart/alternative; boundary=001a11c26c7267f78704e9dd4d3a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c26c7267f78704e9dd4d3a Content-Type: text/plain; charset=ISO-8859-1 Hi UIMA users, I'm trying to set UIMA ConceptMapper dictionary (external resource) from aggregate AE, but ConceptMapper ignores it. This is what I have in primitive AE (ConceptMapperOffsetTokenizer.xml): *DictionaryFile* dictionary file loader. org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource false *DictionaryFileName* A file containing the dictionary. Modify this URL to use a different dictionary. *file:ConceptMapperDictionaries/dictionary1.xml* org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl *DictionaryFile* *DictionaryFileName* In aggregate AE (OffsetTokenizerMatcher.xml) I have the following: *DicionaryFileName* file:ConceptMapperDictionaries/dictionary2.xml org.apache.uima.conceptMapper.support.dictionaryResource.DictionaryResource_impl *ConceptMapper/DictionaryFile* *DicionaryFileName* What could be the problem for ConceptMapper, that it ignores the external resource (file:ConceptMapperDictionaries/dictionary2.xml) set by aggregate AE? P.S. When trying an example from UIMA documentation (tutorial/ex6/UimaMeetingDetectorTAE.xml) the external resource specified in aggregate AE is taken into account. Best regards, Peter --001a11c26c7267f78704e9dd4d3a--