<div dir="ltr"><div>Dear Leonid,</div><div><br></div><div>I have one more question about my recent inquiry. Per Brian's and your advice, I am in the process of changing the participant IDs and making other necessary revisions. In order to change the transcriptions from form A to form B (see below), I created the following commands. I couldn't find a more dignified path. :-) </div><div><p style="margin:0in;font-family:Calibri;font-size:11pt"></p></div><div><div><b>Form A</b></div><div>@Begin<br>@Languages: fra<br>@Participants: <b>F0001 </b>IDf0001 Student<br>@ID: fra|<b>corpus</b>|<b>F0001</b>|0;00.00|male|||Student||<b>|</b><br>@Media: f0001c05ri4_1, audio<br>@Transcriber: Matteo Fiorini<br>@Comment: euh signals hesitation<br>@Situation: Introductions<br>*<b>F0001</b>: je m' appelle (..) NAME NAME (.) euh (.) . <br>*<b>F0001</b>: NAME c' est mon dernier nom [:: nom de famille] . <br>*<b>F0001</b>: et ça vienne <de> [/] de Allemagne parce que mon maman <et> [/] et<br> mon papa est Allemagne [:: allemands] . <br>*<b>F0001</b>: <et alors je> [//] euh (.) alors mon dernier nom<br> [:: nom de famille] NAME est Allemagne [:: allemand] . <br>@End<br><br></div><div><b>Form B</b></div><div>@Begin<br>@Languages: fra<br>@Participants: <font color="#ff0000">STU </font>IDf0001 Student<br>@ID: fra|<font color="#ff0000">mussel</font>|<font color="#ff0000">STU</font>|0;00.00|male|||Student||<font color="#ff0000">IDf0001</font>|<br>@Media: f0001c05ri4_1, audio<br>@Transcriber: Matteo Fiorini<br>@Comment: euh signals hesitation<br>@Situation: Introductions<br>*<font color="#ff0000">STU</font>: je m' appelle (..) NAME NAME (.) euh (.) . <br>*<font color="#ff0000">STU</font>: NAME c' est mon dernier nom [:: nom de famille] . <br>*<font color="#ff0000">STU</font>: et ça vienne <de> [/] de Allemagne parce que mon maman <et> [/] et<br> mon papa est Allemagne [:: allemands] . <br>*<font color="#ff0000">STU</font>: <et alors je> [//] euh (.) alors mon dernier nom<br> [:: nom de famille] NAME est Allemagne [:: allemand] . <br>@End<br><br></div><div><div><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:lime">1. To change the participant ID in the main lines in chat & text files (applies to all languages):</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">chstring +re +w +t* +l +s"\**:" "\*STU:" *.cha</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">ren +re -f *.chstr.cex *.cha</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"> </p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">chstring +re +w +y +s"\**:" "\*STU:" *.txt</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:lime"></span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">ren +re -f *.chstr.cex *.txt</span></p></div><div><br></div><div><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:lime">2. To change the corpus name and the next field in line @ID in chat & text files (applies to all languages):</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">chstring +re +w +t@
+s"|corpus|*|" "|mussel|STU|" *.cha</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">ren +re -f *.chstr.cex *.cha</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"> </p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">chstring +re +w +y
+s"|corpus|*|" "|mussel|STU|" *.txt</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt">
</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:yellow">ren +re -f *.chstr.cex *.txt</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="background:lime">3. To change the optional speaker name (last field) in line @ID</span></p><p style="margin:0in;font-family:Calibri;font-size:11pt">*Note: These commands has to be run separately for each folder, since the ID changes in each folder.</p><p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-size:11pt">chstring +re +w +t@ +s"|Student|||" "|Student||IDc0002|" *.cha</span><br></p><p style="margin:0in;font-family:Calibri;font-size:11pt">ren +re -f *.chstr.cex *.cha</p><p style="margin:0in;font-family:Calibri;font-size:11pt"> </p><p style="margin:0in;font-family:Calibri;font-size:11pt">chstring +re +w +y +s"|Student|||" "|Student||IDc0002|" *.txt</p><p style="margin:0in;font-family:Calibri;font-size:11pt"></p><p style="margin:0in;font-family:Calibri;font-size:11pt">ren +re -f *.chstr.cex *.txt</p></div><div><br></div><div><span style="font-family:Calibri;font-size:14.6667px;background-color:rgb(0,255,0)">4. To change the 1st field in line @Participant</span><br></div><div><span style="font-family:Calibri;font-size:14.6667px">*Note: These commands have to be run separately for each folder, since the ID changes in each folder.</span><span style="font-family:Calibri;font-size:14.6667px;background-color:rgb(0,255,0)"><br></span></div><div><span style="font-family:Calibri;font-size:14.6667px">Tried this command and a few others, no chance!</span></div>chstring +w +d +s"F0010 IDf0010 Student" "STU IDf0010 Student" *.cha</div><div><br></div><div><b>Questions:</b></div><div>a) how can I achieve the last change (4)?</div><div>b) I am using batch to run the commands in 1 and 2 (highlighted in yellow). Is it possible to create the search strings for 3 and 4 in a way that it is not dependent on specific IDs so I could run all the commands in batch for all the directories and subdirectories instead of running them on individual folders?</div><div><br></div><div>I am so sorry for asking so many questions. I spend hours digging in the manuals and playing with the commands before asking you. :-(</div><div><br></div><div>Thank you so much for your help!</div><div>Elnaz</div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><span style="font-size:19.0pt;font-family:"Brush Script MT";color:#00386c">Elnaz
Kia, Ph.D</span><span style="font-size:18.0pt;font-family:"Brush Script MT";color:#00386c">.</span><span style="font-size:12.0pt;font-family:"Brush Script MT";color:#00386c"> </span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#00386c">(she,
her, hers)</span></p><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><i><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black"><a href="https://l2trec.utah.edu/about/staff-directory.php" target="_blank" class="docs-creator">Post-Doctoral Research
Associate</a></span></i></p><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><a href="https://l2trec.utah.edu/" target="_blank" class="docs-creator"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0d0d0d">Second Language Teaching and Research
Center (L2TReC)</span></a><span><span style="font-size:12.0pt;color:#0d0d0d"></span></span></p><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><span><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:black">University of Utah</span></span></p><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><a href="https://www.linkedin.com/in/elnaz-kia?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B%2FResGVF2SMGMAxhocdPnRw%3D%3D" target="_blank" class="docs-creator"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:#0d0d0d">LinkedIn</span></a><span><span style="color:#0d0d0d"></span></span></p><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><a href="https://elnazkia.weebly.com/" target="_blank" class="docs-creator"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Personal
Website</span></a><span><span style="color:#0d0d0d"></span></span></p><p class="MsoNormal" style="margin-bottom:0in;line-height:normal"><img src="https://docs.google.com/uc?export=download&id=1-im6hnX4Kj15S9S-Fy7_gMFj4Nn-RGP_&revid=0B56lCp579fCjaXhEQlhaSndZdjgxWDRrRk8wMWFHN0wydGFZPQ"></p></div></div></div></div></div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CAOwOJY%3Df6JUMXRFvKkshZ609pnWUq1tNHRsQbX_VKm8q7WxNuw%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAOwOJY%3Df6JUMXRFvKkshZ609pnWUq1tNHRsQbX_VKm8q7WxNuw%40mail.gmail.com</a>.<br />