Searching for coded items in *-tier

Bentzen Kristine kristine.bentzen at uit.no
Tue Dec 4 14:38:53 UTC 2012


Thank you very much for the speedy reply, Leonid! Both commands give me exactly what I needed – great!

Kristine

From: Leonid Spektor <spektor at andrew.cmu.edu<mailto:spektor at andrew.cmu.edu>>
Reply-To: "chibolts at googlegroups.com<mailto:chibolts at googlegroups.com>" <chibolts at googlegroups.com<mailto:chibolts at googlegroups.com>>
Date: tirsdag 4. desember 2012 14.59
To: "chibolts at googlegroups.com<mailto:chibolts at googlegroups.com>" <chibolts at googlegroups.com<mailto:chibolts at googlegroups.com>>
Subject: Re: Searching for coded items in *-tier

Kristine,

CLAN has a few special characters that have meaning other than their literal meaning. Those characters are:

* _ % @ \

The @ character is used to specify the file name where you would store search strings instead of specifying them on the command line. It also has other special meaning, type "freq +s@" on command line for more information. To search for those characters' literal meaning you need to quote them with the backslash \ character. In you example the command line would be:

 combo +t*NOR +s*\@prt

If you are searching for words that are not in special relation with each other, for example word followed by another word, then I would recommend that you use KWAL command instead of COMBO.

kwal +t*NOR +s*\@prt


Leonid.



On Dec 4, 2012, at 06:46 , Bentzen Kristine wrote:

Dear list,

I'm trying to figure out how to search for items coded in the *-tier. Here's a concrete example. In the below utterance (from the Norwegian Simonsen Corpus), the speech of the child Nora is coded for categories/morphology in the *NOR-tier. I want to run a search picking out all elements coded as "@prt" -- particles (highlighted in red below).

*NOR:er&@pr så vond-e at pl å ha&@i på@prt seg så jeg ha-r at pr på meg inne [//] ute=sk [//] inne=sk +//.
%xpho:& So 2vun o 1ha po 7& so j& 2ha p m$&ʘ i:in6 2?u-tn$sk ?n$1d&S

I've tried various combo searches (combo +t*NOR +s at prt; combo +t*NOR +s*@prt; combo +t*NOR +s"@prt"; combo +t*NOR +s"*@prt"… ) but for all of these I get the following error message:

> combo +t*NOR +s at prt @
Can't open either one of the include files:
"prt", "/Applications/CLAN/lib/prt"

Not sure I understand what this means…

Does anyone know how to solve this?

Thanks a lot in advance!

Best,
Kristine Bentzen

******************************************************************************************************************
Kristine Bentzen, PhD,
Center for Advanced Study in Theoretical Linguistics (CASTL)
Faculty of Humanities, Social Sciences and Education
University of Tromsø
N-9037 Tromsø
Norway
Phone: +47 77646665
https://castl.uit.no/index.php/people/affiliates/userprofile/94

--
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<mailto:chibolts at googlegroups.com>.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com<mailto:chibolts+unsubscribe at googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.




--
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<mailto:chibolts at googlegroups.com>.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com<mailto:chibolts+unsubscribe at googlegroups.com>.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 https://groups.google.com/groups/opt_out.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20121204/a90e3a8f/attachment.htm>


More information about the Chibolts mailing list