Searching across tiers
Leonid Spektor
spektor at andrew.cmu.edu
Wed Mar 17 17:52:02 UTC 2010
Erin ,
Try this command:
combo +t%mor +t%xgra +s"%*:^*^v|*^*^!*|SUBJ" *.cha
The part "%*:" means start searching after the first dependent tier. The
part "^*^" means skip any number of word. The part "v|*" means much verbs.
Verbs are also represented by "aux|", so if you want to include those in
search as well, then replace "v|*" with "(v|*+aux|*)". And part "!*|SUBJ"
means not subjects. The "!" symbol means "not". So, to searching for both v|
and aux| use this command:
combo +t%mor +t%xgra +s"%*:^*^(v|*+aux|*)^*^!*|SUBJ" *.cha
Leonid.
On 17-03-10 12:20, "Erin Quirk" <capricha at gmail.com> wrote:
> Hello,
> I am trying to search for combinations across two tiers- %more and
> %xgra- but I have been having difficulty. What I need to search for is
> the presence of the category verb on the morphological tier in the
> absence of a subject on the grasp tier. The discussion in the CLAN
> manual (pg. 66) is of a cross-tier combo search for words on the CHI
> tier matched with tags on the %spa tier. The string that the manual
> indicates for this search is:
>
> combo +s(want^to^*^%spa:^*^$INI*)+(neat^*^%spa:^*^$CON*)
> +t%spa +f +d sample.cha
> freq +swant +sto +sneat sample.cmb
>
> The thing is that for this search, one only needs to specify that the
> %spa tier be added given that CLAN by default would search on the
> speech tier for the combination want^to. I, on the other hand, need
> to specify that CLAN should search on 2 tiers, %mor and %xgra. Can
> anyone help me with this? I've tried many permutations of the template
> above and to no avail.
> Thank you.
> Erin Quirk
> CUNY Graduate Center
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.
More information about the Chibolts
mailing list