Trying to label all first attributive positions as such using a visual filter, a new created highlighting style, and the rule
[@D BEFORE 1 WORD @J BEFORE 1 WORD @n]
However, this is the result:
Is there a way to let '1st attr pos' come before the whole noun phrase, instead of before each part of that noun phrase?
You're seeing those results because your query returns three separate search hits. (In a Search panel, they will each be indicated with a different colour.)
You can filter it down to just one hit (and one inserted text) by INTERSECTing those results with @D:
(@D BEFORE 1 WORD @J BEFORE 1 WORD @n) INTERSECTS @D
Bradley Grainger (Faithlife):(@D BEFORE 1 WORD @J BEFORE 1 WORD @n) INTERSECTS @D
That's neat, but I do want underline the whole noun phrase...
Hmm. Maybe create two separate VF highlighting rules?
That sounds reasonable, but I can only highlight several separate words:
This is what I would like to see (image is manipulated):
Is there a way to highlight such a cluster of words? In other words: the noun phrase should return as a single hit. But that seems only possible with a clause or syntax search, both of which are not available in the visual filters.
If only quotes could do the trick:
but unfortunately they don't.
Michel Pauw: If only quotes could do the trick:
You can use the “full” morph data type reference syntax within a quoted phrase:
"<LogosMorphGr ~ D???> <LogosMorphGr ~ J????> <LogosMorphGr ~ N????>"
Bradley Grainger (Faithlife):You can use the “full” morph data type reference syntax within a quoted phrase: "<LogosMorphGr ~ D???> <LogosMorphGr ~ J????> <LogosMorphGr ~ N????>"
That's awesome. Is there any documentation on the use of this morph data type reference syntax? I would never have been able to come up with this myself...