uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From digital paula <cybersat...@hotmail.com>
Subject Question on Regular Expression Annotator
Date Mon, 28 Oct 2013 16:59:11 GMT
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. 
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'
'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. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message