Hi all,

I am wondering if it would be feasible to add some "addToIndex" hooks to UIMA 
which would be called whenever a FS is added to indexes.

Why?

There may be conventions on the type system and feature values that cannot be 
expressed simply via the type system definition. For example, in DKPro Core, 
there is a convention that the begin/end of a Dependency annotation must match 
the begin/end of the Token that is referred to by the "dependent" feature. 
There are a number of additional conventions like these.

It would probably be possible to use customized JCas classes to check for such 
conventions, but that of course would fail if the feature structures are 
created/manipulated via the CAS API. Also, not everybody is fond of customized 
(i.e. not auto-generated) JCas classes.

Has anybody already through of supporting such "consistency checks" at the CAS 
level?

How are you ensuring consistent information in your CASes?

Cheers,

-- Richard

Reply via email to