Hello,
I am trying to find a command to automate the process of creating dependent tiers in all the CHAT files and typing some codes in them (according to some easy Boolean rules).
So far I tried to do it using the COMBO command (by creating a .cut file), but I think I did not do it right. Is there any specific command to create dependent tiers after every transcription line?
Thanks in advance,
Hello again,
Sorry for opening again this topic. The second chstring command worked perfectly, but I tried again the 1rst. one chstring +s"\**" "\**%aaa:\t\n" -w +1 *.cha and it didn’t give me the output I was looking for. It gave me:
\namesubject: sentence .
*%aaa:
That it, it introduces a \ before the participants’ name, it supresses the * and writes the * before the name of the dependent tier.
I’ve been trying to execute the command chstring in CLAN, looking for the most suitable regular expression to be replaced. I searched the expression “period followed by an endline” to replace it for that same one plus %aaa, that is, .\n, and I wanted to replace it for .\n%aaa, executing the next command:
chstring +s".\n" ".\n%aaa –w +1
But it doesn’t replace it. I believe that the search function in CLAN can’t search the endline using \n, although it works when that is what’s replaced. Is that so?
The easiest solution I found is doing the replacement using an editor, but I am really curious about it and I wanted to ask if that’s the case.
On the other side, using the editor to do the replacements, it also happened that * before the participant’s name was erased, so for some reason I had to replace it for the same expression + the dependent’s tier + an asterisk at the end because this one was erased.
Thank you in advance and thank you for your help.
Regards,
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/8ea4f74f-e112-49c4-a6cd-948770f09643%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CADc74BjxhFoiRrRJmk7e3awGR8RzrcBRG5e1Pp11dEQ4wNocPA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/3BCAA7AB-251D-4D6F-B579-1A24FFDB83D2%40andrew.cmu.edu.