Hi Richard,
What I had meant to state is that I've seen attachments display on the forum
list for other user lists. For example, trying to get the regex annotator
working I had spent a lot of time viewing the archives for XML Beans. That
forum permits attachments. I didn't post there but you can see the
attachments added to this particular user's post just scroll to the bottom.
http://mail-archives.apache.org/mod_mbox/xmlbeans-user/201311.mbox/%3cCAAXRxE2C0ODEPwzRfu9j9G=k6vg5ujxwtrtcroryfyjrpem...@mail.gmail.com%3e
I thought that my posts with UIMA would've done the same thing and add the
attachments to the bottom of the post like in the above link for the XML Beans
user forum. Not sure if this is something that the user has to do to permit
attachments to display or if there's some configuration that needs to be done
to the user list on the server end for UIMA to permit attachments.
As for your comment for the concepts. xml file update, thanks SO much for
the feedback. I really haven't gotten much into accessing the CAS, I just
know that the CAS (Common Analysis System, I think that's what CAS stands for
though I should look it up or maybe it stands for Common Access System) gets
updated as it moves through the pipeline. Oh, I also know that that JCAS is
the java interface for accessing the CAS. At any rate, I shouldn't be using
method setter/getter names for feature names. I'll change it to the
following:
<setFeature name="Capture" type="String" normalization="Trim">$0</setFeature>
<setFeature name="Category" type="String">computing</setFeature>
Again, thank you so much for your additional thoughts here. As mentioned
before, I've started working with UIMA for almost a month now (still learning)
and this forum is really helpful. You guys are great! Regards,Paula
> Subject: Re: Using Regex Annotator: Adding a default value for a type system
> feature -RESOLVED
> From: [email protected]
> Date: Thu, 7 Nov 2013 08:48:51 +0100
> To: [email protected]
>
> On 07.11.2013, at 02:37, digital paula <[email protected]> wrote:
>
> > Richard,
> >
> > I had no idea that the attachments weren't going through.....why not?
> > They do for other apache user forums.
>
> Well, I do not know, but every time you said there was an attachment (twice
> now if I remember correctly), I didn't get any.
>
> > Thank you so much for your prompt response and help, all I had to do was
> > add the text 'computing' without any hyphens or quotes. Sorry for wasting
> > your time on such a trivial case, I tried with the quotes around it
> > "computing" and didn't think to try it without. I've attached and
> > highlighted the line for other users to see what was done to resolve the
> > issue.
> >
> > <setFeature name="getTextCapture" type="String"
> > normalization="Trim">$0</setFeature>
> > <setFeature name="setTextCapture" type="String">computing</setFeature>
>
>
> There seems to be something odd here. Normally, a feature would be called
> "textCapture" and the JCas class for the annotation that contains the feature
> would be generated with two methods "getTextCapture" and "setTextCapture".
>
> It appears that you have two features, one called "getTextCapture" and
> another "setTextCapture". When you generate JCas classes for these in order
> to access the annotations from Java source code, you would end up with
> "getGetTextCapture"/"setGetTextCapture" and
> "getSetTextCapture"/"setSetTextCapture". If you really intend to have two
> features, you should consider choosing different names, e.g. "capture" and
> "category" ("type" is a "reserved" feature name).
>
> I didn't check the documentation of the regexannotator in detail to see if it
> does something smart here that I don't know, but I doubt it.
>
> -- Richard
>