Thilo Goetz wrote:
<snip>Unfortunately, the low-level CAS is missing the base CAS
functionality. All the sofa/view stuff was implemented at the CAS
level only. This is something that should be fixed.
My understanding of the low-level interfaces is that they are there to
support the no-Java-object-for-CAS-object scenario, representing CAS
objects as "int"s.
The ll (low level) APIs come in checking and non-checking versions too.
The Sofa/View stuff would need to be implemented as low-level I think
only if we conclude there is a need for a no-Java-object-for-CAS-object
scenarios here. By this I mean things like getView(SofaFS) - we could
imagine a version of this which instead of taking a Java cover object
(JCas or CAS) for the Sofa instance in the CAS, it would take an "int".
I don't think this is really needed, though, because I have a hard time
imagining the use case where this would make an observable difference.
(but maybe I'm wrong here).
Sofa/View stuff would need to be there to allow the ll APIs to work on
the things they were designed for such as creating new Feature
Structures, iterating over them, etc, but in a View.
-Marshall