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 9F02410495 for ; Tue, 29 Oct 2013 14:16:04 +0000 (UTC) Received: (qmail 3825 invoked by uid 500); 29 Oct 2013 14:16:04 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 3816 invoked by uid 500); 29 Oct 2013 14:16:03 -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 3808 invoked by uid 99); 29 Oct 2013 14:16:02 -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 14:16:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msa@schor.com designates 67.18.22.68 as permitted sender) Received: from [67.18.22.68] (HELO gateway09.websitewelcome.com) (67.18.22.68) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 14:15:55 +0000 Received: by gateway09.websitewelcome.com (Postfix, from userid 507) id D7ED9A3F954A5; Tue, 29 Oct 2013 09:14:24 -0500 (CDT) Received: from gator3253.hostgator.com (gator3253.hostgator.com [198.57.247.217]) by gateway09.websitewelcome.com (Postfix) with ESMTP id B87D6A3F95446 for ; Tue, 29 Oct 2013 09:14:24 -0500 (CDT) Received: from [129.34.20.23] (port=53222 helo=[9.2.211.94]) by gator3253.hostgator.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1VbA50-0002RD-HV for user@uima.apache.org; Tue, 29 Oct 2013 09:15:34 -0500 Message-ID: <526FC307.1090400@schor.com> Date: Tue, 29 Oct 2013 10:15:35 -0400 From: Marshall Schor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Question on Regular Expression Annotator - please disregard previous post this one is correct References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3253.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([9.2.211.94]) [129.34.20.23]:53222 X-Source-Auth: msa+schor.com X-Email-Count: 1 X-Source-Cap: bWlzY2hvcjttaXNjaG9yO2dhdG9yMzI1My5ob3N0Z2F0b3IuY29t X-Virus-Checked: Checked by ClamAV on apache.org Hi, It looks like you're working with the "trunk" level of the source. The trunk level sometimes doesn't build, as people are working on it... If you want to build a "released" level, just check out a tag, rather than the trunk. For instance, you could check out of SVN the last release tag, here: https://svn.apache.org/repos/asf/uima/addons/tags/uima-addons-2.3.1/RegularExpressionAnnotator If you want to work with the trunk, you will need to check out, also, the project: uima-addons-parent, and build it using "mvn install". This will create the missing 2.3.2-SNAPSHOT version of this artifact in your local Maven .m2 repository, and that will fix the problem of it not being found... Cheers. -Marshall On 10/28/2013 10:30 PM, digital paula wrote: > Hi again, > When I did a maven install via Eclipse it resolved the issues that I had in my previous post. The only error that I have now is with the build. > In the POM file there's a problem with this part: org.apache.uima uima-addons-parent 2.3.2-SNAPSHOT ../uima-addons-parent It states on the overview tab the following Project build error: "Non-resolvable parent POM: could not find artifact org.apac > Project build error: Non-resolvable parent POM: Could not find artifact org.apache.uima:uima-addons-parent:pom:2.3.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM > I did find a similar problem on the user archives that with the parent POM but it was for the simple server addon:http://mail-archives.apache.org/mod_mbox/uima-user/201206.mbox/browser > Would appreciate any help on this. > Thanks. > Regards,Paula > From: cybersation@hotmail.com > To: user@uima.apache.org > Subject: Question on Regular Expression Annotator > Date: Mon, 28 Oct 2013 12:59:11 -0400 > > > > > Hi, > > I had completed most of the tutorials on UIMA Framework (though I wasn't able to do the semantic search due to it not being open source anymore and removed from the uimaj-examples folder :-( I came across a reference to the Lemur Project while researching alternatives and after an evening trying to get it working just ended up scrapping it all together. I was able to install the PEAR via the PEAR installation tool but when testing it crashed due to unable to resolve references to org.ibm.apache that no longer existed so I imported project into Eclipse and changed the references in the java file to java.org.apache and still ran into problems with the CVD tool, the indriCASconsumer descriptor was not finding the java class. I'm going to look into Solr next since I see it's a more recent semantic search tool. > > In the meantime, I am trying to work with the regular expression annotator add on. I had installed the regular expression annotator via SVN within Eclipse as a separate project. http://svn.apache.org/repos/asf/uima/addons/trunk/RegularExpressionAnnotator/ > > The problem I had first off was that the reference in each java file was 'package org.apache.uima.annotator.regex' but the build path for the directories was main.java.org.apache.uima.annotator.regex in the project. This was resolved by the quick fix in java to change all the package names in the files to have the correct package name of main.java.org.apache.uima.annotator.regex. > > In addition, I just manually changed the import names such as: 'import org.apache.uima.annotator.regex.Position' to > 'import main.java.org.apache.uima.annotator.regex.Position' > > However I ran into a bit of a snag when I came across these to imports in the java file ConceptFileParser_Imp.java > I don't know how to resolve the error (the imports are not resolved) since I don't see incubator anywhere in the project and I'm not expert enough at Java to resolve the second one: > import org.apache.incubator.uima.regex.AnnotationDocument; > import org.apache.xmlbeans.XmlError; > > Would appreciate any help. > > Thanks. > > Regards, > Paula > > > > > > > > > > > > > >