Hello,
I have a question regarding the writing of "Constraints" rules.
I have two annotation layers: Thematiques and Revendications. Regarding the features of these two layers:
I have a corpus composed of political texts. The annotator will first annotate the theme of a text segment. Then, they will select the "Revendications" layer to annotate a claim. The claim will depend on the theme. In other words, if the annotator selects the theme "Economie et fiscalité," I would like some tags of the "revendicationgj" feature from the "Revendications" layer linked to the thematic "Economie et fiscalité" to be displayed or highlighted in bold.
In the rules, I followed the recommendations prescribed in the documentation. I imported the two layers and followed the syntax. Here is the code below:
import webanno.custom.revendicationgj as revendicationgj;This piece of code does not work. Regardless of the annotated theme, my entire list of labels is displayed. I have tried various options such as "Show only when constraints apply," but my feature no longer displays. Did I miss something? Should I define the type as linked to the Thematiques layer? I am not yet very familiar with the definitions of the various features of Inception.
Thank you in advance for your help.