On 11/21/06, Marshall Schor <[EMAIL PROTECTED]> wrote:
The process method in v1 takes 2 args.  in V2 it takes just one arg -
the result specification arg is now available using
getResultSpecification() assuming someone has called the
setResultSpecification() and the annotator impl has saved this in a
local variable.  Is this correct?


Yes, correct.  The idea is that the annotator gets notified when the
result spec changes.  The old way of doing things was inefficient
because the annotator code had to check on every process call to see
if the ResultSpec had changed, even though in common use cases it
would never change throughout the annotator's lifetime.

-Adam

Reply via email to