Quite a while back there was some work done towards variables/fields on the
CAS level.

Does it make sense to put that directly into the CAS interface?

It would be nice to have support for primitive and FS fields.

I know that it is possible with the current design by creating a FS type
for each field, but that results in a couple of  lines of code to write and
access a field. Maybe we can come up with something that takes only one
line of code to set or access a field.

Maybe like this:
cas.setField("confidence", 0.78f);
Float confidence = cas.getField("confidence", Float.class);

Jörn

On Thu, Jun 18, 2015 at 4:41 PM, Marshall Schor <[email protected]> wrote:

> I've put up another wiki page as a place to collect ideas for UIMA version
> 3.
>
> It's a place to dream a bit.  It goes with the earlier page,
>
> https://cwiki.apache.org/confluence/display/UIMA/Modernizing+the+internals+of+UIMA
> .
>
> Feel free to contribute, of course!
>
> The page is linked from the above page, but here's the direct link:
> https://cwiki.apache.org/confluence/display/UIMA/Ideas+for+UIMAJ+v3
>
> -Marshall
>
>
>
>
>

Reply via email to