Macros in Ruta? - How to make long scripts short?

2013-12-06 Thread Richard Eckart de Castilho
Hi, assuming I have a Ruta script with recurring statements of the type PartOfSpeech{FEATURE(value, N) Is it possible to define some kind of macro to replace this long statement with a short-hand? MACRO N := PartOfSpeech{FEATURE(value, N)} MACRO V := PartOfSpeech{FEATURE(value, V)} N{0,2}

Re: Macros in Ruta? - How to make long scripts short?

2013-12-06 Thread Alexandre Patry
On 2013-12-06 10:46, Richard Eckart de Castilho wrote: Hi, assuming I have a Ruta script with recurring statements of the type PartOfSpeech{FEATURE(value, N) Is it possible to define some kind of macro to replace this long statement with a short-hand? MACRO N :=

Re: how to dynamically set a required annotation type from within a UIMAfit annotator?

2013-12-06 Thread Renaud Richardet
@Richard, Thanks for your explanation; it seems that it would be quite a deep code change, and in my usecase not worth the trouble. @Thomas, Thanks for sharing your project with us. However, I looked at UIMA-AS, and found it too complicated for my taste. My poor-man's solution will be to show a