I have a question about restricting a search using Multiple Layer Search in RegEx mode so that hits found when using search criteria for more than one annotation on a symbolic-subdivision-type subordinate tier must share the same superordinate parent tier annotation (actually, the same question would apply for Time Subdivision and Included In types, too).
In other words, is it possible to restrict the search to only search on subordinate tier annotations within and not across super-ordinate tier annotations. As far as I can tell, this is not possible, and I have spent a lot of time and testing with my ELAN files and looking in the forum, but maybe I’m missing something…
To illustrate the situation, here is a very minimal and abstracted version of the tier structure I use for each speaker in my ELAN files:
orth@speakerX (orthographic transcription; root tier)
morph@speakerX (for morphological categories; child tier of parent tier orth@speakerX using the symbolic subdivision type)
Here are two made-up German examples to illustrate the problem (because German has better morphology than English for an example like this); here, I use the | character to represent annotation boundaries:
(1)
|Heute hat Frank Fische.| (orth-tier, 1 annotation)
|-|3sg.prs|nom.sg|acc.pl| (morph-tier, 4 annotations)
“Today Frank has fish.”
(2)
|Nun kommt Frank.| |Läuse hat er.| (orth-tier, 2 annotations)
|-|3sg.prs|nom.sg| |acc.pl|3sg.prs|nom.sg| (morph-tier, 6 annotations)
“Now Frank is coming.” “He has lice.”
So I want to search my ELAN corpus for all instances of the sequence nom.sg followed by acc.pl, but only when these occur in the same sentence.
In other words, I want ELAN to find example (1) from above, but not example (2).
Here is what I would try to do for this in the Multiple Layer Search in RegEx:
(NB: as I understand it, variable match mode does not work because it looks for different annotations with the same value, and not the same single annotation.)
Conceptually, this is what the search interface would look like to do this kind of search:
Is this even possible? It’s complicated to describe this, and I hope my question and the examples with the manipulated screen shots make sense.
Joshua


