From user-return-5439-apmail-uima-user-archive=uima.apache.org@uima.apache.org Wed Oct 30 22:19:05 2013 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 29C2A104B0 for ; Wed, 30 Oct 2013 22:19:05 +0000 (UTC) Received: (qmail 99947 invoked by uid 500); 30 Oct 2013 22:19:04 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 99835 invoked by uid 500); 30 Oct 2013 22:19:04 -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 Delivered-To: moderator for user@uima.apache.org Received: (qmail 91507 invoked by uid 99); 28 Oct 2013 16:59:39 -0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cybersation@hotmail.com designates 65.55.90.162 as permitted sender) X-TMN: [m1G9uHOso1Uj6I4qv5rgzr24s2uafCtF] X-Originating-Email: [cybersation@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_a4928740-192d-4547-80be-b23529ff20c4_" From: digital paula To: "user@uima.apache.org" Subject: Question on Regular Expression Annotator Date: Mon, 28 Oct 2013 12:59:11 -0400 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 28 Oct 2013 16:59:12.0668 (UTC) FILETIME=[06ED9DC0:01CED3FF] X-Virus-Checked: Checked by ClamAV on apache.org --_a4928740-192d-4547-80be-b23529ff20c4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C =20 I had completed most of the tutorials on UIMA Framework (though I wasn't ab= le to do the semantic search due to it not being open source anymore and re= moved 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 ins= tall the PEAR via the PEAR installation tool but when testing it crashed du= e to unable to resolve references to org.ibm.apache that no longer existe= d 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=2C t= he 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= . =20 In the meantime=2C I am trying to work with the regular expression annotato= r add on. I had installed the regular expression annotator via SVN within = Eclipse as a separate project. http://svn.apache.org/repos/asf/uima/addon= s/trunk/RegularExpressionAnnotator/ =20 The problem I had first off was that the reference in each java file was 'p= ackage org.apache.uima.annotator.regex' but the build path for the director= ies 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 f= iles to have the correct package name of main.java.org.apache.uima.annotat= or.regex. =20 =20 In addition=2C I just manually changed the import names such as: 'import o= rg.apache.uima.annotator.regex.Position' to=20 'import main.java.org.apache.uima.annotator.regex.Position' =20 However I ran into a bit of a snag when I came across these to imports in t= he 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=3B import org.apache.xmlbeans.XmlError=3B =20 Would appreciate any help.=20 =20 Thanks. =20 Regards=2C Paula =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 = --_a4928740-192d-4547-80be-b23529ff20c4_--