You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Christian Friedrich <fr...@fzi.de> on 2011/08/11 11:21:11 UTC

RegEx Annotator: Missing Depencencies

Hello everyone,

I'm experiencing some difficulties, while trying to integrate the RegExAnnotator into my UIMA project as source code.

The Class ConceptFileParser_impl.java has the imports

import org.apache.incubator.uima.regex.AnnotationDocument;
import org.apache.incubator.uima.regex.ConceptDocument;
import org.apache.incubator.uima.regex.ConceptSetDocument;
import org.apache.incubator.uima.regex.CreateAnnotationsDocument;
import org.apache.incubator.uima.regex.ExceptionDocument;
import org.apache.incubator.uima.regex.FeatureDocument;
import org.apache.incubator.uima.regex.RuleDocument;
import org.apache.incubator.uima.regex.RulesDocument;
import org.apache.incubator.uima.regex.SetFeatureDocument;
import org.apache.incubator.uima.regex.VariableDocument;
import org.apache.incubator.uima.regex.VariablesDocument;

which cannot be found anywhere. I searched in the repository and also in older releases without success.

As I need to import the RegEx Annotator as source code into my project, I'd really appreciate if anyone could help me out with this issue.

Thanks!

Mit freundlichen Grüßen / Best Regards

Christian Friedrich


=======================================================================
FZI Forschungszentrum Informatik an der Universitaet Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des buergerlichen Rechts Stiftung Az: 14-0563.1 Regierungspraesidium Karlsruhe
Vorstand: Dipl. Wi.-Ing. Michael Flor, Prof. Dr. rer. nat. Ralf Reussner,
Prof. Dr. rer. nat. Dr. h.c. Wolffried Stucky, Prof. Dr. rer. nat. Rudi Studer
Vorsitzender des Kuratoriums: Ministerialdirigent Guenther Leßnerkraus
=======================================================================


Re: RegEx Annotator: Missing Depencencies

Posted by Richard Eckart de Castilho <ec...@tk.informatik.tu-darmstadt.de>.
Hello,

it looks like you are using an old version (incubator) of the RegExAnnotator. You might want to get a current version from http://svn.apache.org/repos/asf/uima/addons/trunk/RegularExpressionAnnotator .

In the current version, the files you are missing should be automatically generated during the Maven build process from an XSD file by the xmlbeans-maven-plugin plugin. After you ran the Maven build, you should be able to find them somewhere under target/generated-sources. 

I believe in the incubator version, there was a jar file containing the compiled classes in lib/regex_annot_xml_types.jar

Cheers,

Richard

Am 11.08.2011 um 11:21 schrieb Christian Friedrich:

> Hello everyone,
> 
> I'm experiencing some difficulties, while trying to integrate the RegExAnnotator into my UIMA project as source code.
> 
> The Class ConceptFileParser_impl.java has the imports
> 
> import org.apache.incubator.uima.regex.AnnotationDocument;
> import org.apache.incubator.uima.regex.ConceptDocument;
> import org.apache.incubator.uima.regex.ConceptSetDocument;
> import org.apache.incubator.uima.regex.CreateAnnotationsDocument;
> import org.apache.incubator.uima.regex.ExceptionDocument;
> import org.apache.incubator.uima.regex.FeatureDocument;
> import org.apache.incubator.uima.regex.RuleDocument;
> import org.apache.incubator.uima.regex.RulesDocument;
> import org.apache.incubator.uima.regex.SetFeatureDocument;
> import org.apache.incubator.uima.regex.VariableDocument;
> import org.apache.incubator.uima.regex.VariablesDocument;
> 
> which cannot be found anywhere. I searched in the repository and also in older releases without success.
> 
> As I need to import the RegEx Annotator as source code into my project, I'd really appreciate if anyone could help me out with this issue.
> 
> Thanks!
> 
> Mit freundlichen Grüßen / Best Regards
> 
> Christian Friedrich
> 
> 
> =======================================================================
> FZI Forschungszentrum Informatik an der Universitaet Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe
> Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des buergerlichen Rechts Stiftung Az: 14-0563.1 Regierungspraesidium Karlsruhe
> Vorstand: Dipl. Wi.-Ing. Michael Flor, Prof. Dr. rer. nat. Ralf Reussner,
> Prof. Dr. rer. nat. Dr. h.c. Wolffried Stucky, Prof. Dr. rer. nat. Rudi Studer
> Vorsitzender des Kuratoriums: Ministerialdirigent Guenther Leßnerkraus
> =======================================================================
> 

Richard Eckart de Castilho

-- 
------------------------------------------------------------------- 
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab 
FB 20 Computer Science Department      
Technische Universität Darmstadt 
Hochschulstr. 10, D-64289 Darmstadt, Germany 
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckartde@tk.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
-------------------------------------------------------------------