1 Sep 12:48
Re: UIMA wiki update
Michael Baessler wrote: > Hi, > > I would like to suggest the following wiki updates: > > - I think we can remove the Roadmap page > - Adding a Apache UIMA requirements page where users can add their > requirements for the next releases. > > > After that I think we have three wiki pages where users can share > their opinions about UIMA and what they would like to see: > - UIMA requirements > - Sandbox (for components and tooling) > - UIMA applications (for UIMA application development) > > When creating this pages, I think we should announce this again on the > users list to encourage users to add content.> > -- Michael I created to UIMA requirements wiki page.... -- Michael
>
> -- Michael
I created to UIMA requirements wiki page....
-- Michael
public static final int getArrayLength(FeatureStructure fs) {
// Check that FS is not null and is array FS
if ((fs != null) && fs.getType().isArray()) {
// Acquire low-level CAS
LowLevelCAS llc = fs.getCAS().getLowLevelCAS();
// Use low-level method to retrieve array size
return llc.ll_getArraySize(llc.ll_getFSRef(fs));
}
throw new IllegalArgumentException((fs == null) ? "<null>" : fs.toString());
}
Note that I haven't tested this code, so it
may be buggy...
RSS Feed