t;- additional methods
>
> See
>
> http://uima.apache.org/d/uimaj-2.10.4/references.html#ugr.ref.jcas.augmenting_generated_code
>
> -Marshall
>
> On 11/15/2019 9:50 AM, Alain Désilets wrote:
> On Thu, Nov 14, 2019 at 4:51 PM Richard Eckart de Castilho >
> wrote:
&g
Alain Désilets
wrote:
> FYI, attached is a ZIP file that contains my AnnotationWrapper solution to
> this problem. It's a bit of a hack, but it has worked for me.
>
> The ZIP file contains the following classes:
>
> - MyAnnotation.java: subclass of Annotation
> - MyA
FYI, attached is a ZIP file that contains my AnnotationWrapper solution to
this problem. It's a bit of a hack, but it has worked for me.
The ZIP file contains the following classes:
- MyAnnotation.java: subclass of Annotation
- MyAnnotationWrapper.java: The wrapper for MyAnnotation.
-
It works now. For my education, what is the difference between the two?
On Fri, Nov 15, 2019 at 12:15 PM Richard Eckart de Castilho
wrote:
> On 15. Nov 2019, at 18:13, Alain Désilets
> wrote:
> >
> > *import* org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
&
eline*(cas, *new* AnalysisEngine[] { engine });
System.*out*.println("\nDONE: Running a DummyAnnotator");
}
}
=
On Fri, Nov 15, 2019 at 11:43 AM Richard Eckart de Castilho
wrote:
> On 15. Nov 2019, at 17:41, Alain Désilets
> wrote:
> >
> >
Oops, sorry. Here is the file.
On Fri, Nov 15, 2019 at 11:21 AM Richard Eckart de Castilho
wrote:
> On 15. Nov 2019, at 17:19, Alain Désilets
> wrote:
> >
> > Attached is a simple class that shows how I go about defining the
> parameters.
>
> There seems to be no attachment.
>
> -- Richard
se source files, including
>
>- additional fields
>
>- additional methods
>
> See
>
> http://uima.apache.org/d/uimaj-2.10.4/references.html#ugr.ref.jcas.augmenting_generated_code
>
> -Marshall
>
> On 11/15/2019 9:50 AM, Alain Désilets wrote:
> > On Thu,
I am trying to pass parameter values to an annotator I am writing. This is
something I have done in the past, but for the life of me, I can't get it
to work now. No matter what I do, it seems the parameter stay at their
default values, and the values I pass when creating the engine description
get
On Thu, Nov 14, 2019 at 4:51 PM Richard Eckart de Castilho
wrote:
> Sure. You generate the JCas classes once and then you add the methods you
> want
> to them. Cf. e.g.
>
>
>
One of the things that drives me nuts about the UIMA type definition system
is that it seems very hard (if not impossible?) to create new types of
annotation that have additional methods.
My approach to dealing with that has been to wrap the annotation into a
wrapper class that decorates the
>
>
>
> There is never a need to recompile as long as you simply stick to the CAS
> API.
It is possible to write a piece of Java code that sets up a type system, a
CAS, adds annotations, etc. without ever having to run JCasGen. E.g.
Thx Richard. BTW, your Inception project sounds really
On Sat, Dec 15, 2018 at 1:15 PM Marshall Schor wrote:
> I guess the question is why have a new type? The answer to that could
> motivate
> what properties the solution should have.
>
> What you propose is fine, but in some ways is not a new type, in that it
> doesn't
> seem to have many of the
Sat, Dec 15, 2018 at 07:20:33AM -0500, Alain Désilets wrote:
> >> Is it possible to create dynamically typed annotations in UIMA? In other
> >> words, would it be possible for users of my system to create a new type
> of
> >> annotation without having to recompile
13 matches
Mail list logo