Johnsd11 commented on issue #29:
URL: https://github.com/apache/ctakes/issues/29#issuecomment-2730715037

   I think that your oob exception is, as you guess, coming from missing or bad 
parameters. You can try using the following in your piper file:
   
   package org.apache.ctakes.drugner.ae
   
   set DISTANCE_ANN_TYPE=org.apache.ctakes.typesystem.type.syntax.BaseToken
   
   set 
STATUS_BOUNDARY_ANN_TYPE=org.apache.ctakes.typesystem.type.textspan.Segment
   
   add DrugMentionAnnotator DISTANCE="10"
   
   Distance "10" is quoted because the code is old and doesn't accept integer 
values.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to