-
Notifications
You must be signed in to change notification settings - Fork 25
Description
In the corpus I am working with we have 2 participants in a signed dialogue, and they each have multiple annotation tiers. We use namespaces in the annotations e.g.
PersonA::Gloss
PersonA::Mundbild
PersonB::Gloss
PersonB::Mundbild
and also in some of the metadata e.g.
PersonA::AltersGruppe
I created the relAnnis corpus using pepper and put in links between tokens from different tiers belonging to the same participant, so the query
Gloss=/ZUG.*/ ->ident Mundbild=/.*zug.*/
will find Gloss - Mundbild pairs from both PersonA and PersonB but only where the Gloss and the Mundbild belong to the same participant.
Is there any way to do this for the metadata?
At the moment if I want to find tokens in the Gloss tier produced by participants in a certain age group I have to use the query
(PersonA:Gloss=/KANN.*/ @* PersonA:AltersGruppe="31-45") | (PersonB:Gloss=/KANN.*/ @* PersonB:AltersGruppe="31-45")
because
Gloss=/KANN.*/ @* AltersGruppe="31-45"
returns results where either one of the participants is in the age group, not just the one who signed the Gloss.
If I have missed that there is already a way to restrict queries to tokens or metadata which are all in the same namespace, please let me know!