Hi, No, you are completely right and that should work just fine.
Normally, if something like this happens, then it is caused by the filtering setting. Have you checked if the head rule of the block (Sentence) tries to match on all sentences? Just debug the script in the Workbench, open the output cas and switch to the "Explain" perspective. Maybe some of them are not visible.
If this is not the problem, then I need an example to reproduce it. Best, Peter Am 14.12.2012 11:36, schrieb Sergey Serebryakov:
Hi! I have a question regarding TextMARKER Block statement. I want some of the rules that I have developed to be applied only within the scope of particular parent annotations (for instance, for each sentence annotation). As I could understand, BLOCK statement is what can be used for it. I am using the following construction: BLOCK(Sentences) Sentence{} { // rule 1 // rule 2 // ... } where Sentence is the name of the annotation that is used to annotate sentences. As a result, these rules (rule 1, rule 2 ...) are only applied for the first sentence despite the fact there there many more sentences in the document. Am i missing something in a way how BLOCK statement works? Thank you. Best regards, Sergey.