uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Abdeen Hamed <ahmed.elma...@gmail.com>
Subject Re: Has anyone used JRuby for UIMA?
Date Fri, 07 Aug 2009 21:20:35 GMT
Hi Thilo,
This looks very promising actually. Are you saying that I don't need JCasGen
to generate the type systems and I can do that as demonstrated in the

Here is what I am trying to get to run: In the uimaj-examples application,
folder ex1 there is a NumberAnnotator.xml that refers to TypeSytem
org.apache.uima.tutorial.Number. This assume that I have to generate this
type using JCasGen so when the NumberAnnotator AE is called it finds the
Number TypeSystem. In JRuby I don't have the luxury of using JCasGen to
generate the TypeSystems. If I can point the AE to a more generic built-in
system then I don't have to worry about the JCasGen process. This is what I
meant "bypassing" the generation process.

This is what I am trying to do. I am attaching a JRuby example so that you
have an idea what I am trying to do.
Thank you very much,

On Fri, Aug 7, 2009 at 3:59 AM, Thilo Goetz <twgoetz@gmx.de> wrote:

> Ahmed Abdeen Hamed wrote:
> > Hello,
> > We have a need in my team to use JRuby to access UIMA API's. However, due
> to
> > the UIMA generated type systems, I am unable to use the API's. Is there a
> > way that I can bypass the type system generation process and use more
> > generic type that is part of the API's?
> >
> > Please let me know if you have any answers for me.
> >
> > Thanks!
> > Ahmed
> >
> I think you're saying you can't use JCas for some reason, correct?  See
> if this helps:
> http://incubator.apache.org/uima/downloads/releaseDocs/2.2.2-incubating/docs/html/references/references.html#ugr.ref.cas.overview
> This is Section 4.2 in the UIMA References.  Also see the example code
> in section 4.4.2.  If this is not what you were looking for, please
> give more details.
> --Thilo

PhD Student of Computer Science
University of Vermont

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