I was wondering what happens when pairing annotations with language conditions using longest match. What I hope happens, and this seems to be the case, is that the language condition takes precedence. Since it actually uses words in the input.
In this case I have an annotation that runs over the entire input, and the condition looks something like this:
in LOB: TEF_NETFLIX.SCRIPT:
(%$APPTAG_NETFLIX.TOP_INTENT/ (netflix) ):L
And in a trigger:
This is what I used to test, and with inputs that were true for both conditions the word condition was considered longest match
If the annotation was true, but the word condition was not, the annotation was selected as longest match.
Is this behavior defined, and what happens if the annotation is on specific words?