Hi, that should of course be posssible :-)
How do you call the script from java? Have you considered the type priorities when the CAS is created? Best, Peter PS: your examples miss semicolons. I assume that there are some in your script? Am 26.05.2015 um 20:30 schrieb Diego Buoro: > I think i wasn't clear enough, and i should be more specific. > > I have a type system in which all words have been annotated as Tokens. I am > calling a RUTA script from a java class, and that script has only one rule: > Token Token {-> Problem} > > However, with this script, no Problems are created. When I try > Token {-> Problem} > > I get one problem for each Token, which is what I expected. Why can't I > create annotations using rules with more than one word? > > Thanks > > > > > 2015-05-26 14:49 GMT-03:00 Diego Buoro <jklpo...@gmail.com>: > >> Hello guys,how are you doing? >> >> I would like to know once i have called RUTA from a Java project, how can >> i mark consecutive tokens as a "Problem" (the name of my annotation, in >> this case)? >> >> Thanks in advice! >>