1. To change the participant ID in the main lines in chat & text files (applies to all languages):
chstring +re +w +t* +l +s"\**:" "\*STU:" *.cha
ren +re -f *.chstr.cex *.cha
chstring +re +w +y +s"\**:" "\*STU:" *.txt
ren +re -f *.chstr.cex *.txt
2. To change the corpus name and the next field in line @ID in chat & text files (applies to all languages):
chstring +re +w +t@ +s"|corpus|*|" "|mussel|STU|" *.cha
ren +re -f *.chstr.cex *.cha
chstring +re +w +y +s"|corpus|*|" "|mussel|STU|" *.txt
ren +re -f *.chstr.cex *.txt
3. To change the optional speaker name (last field) in line @ID
*Note: These commands has to be run separately for each folder, since the ID changes in each folder.
chstring +re +w +t@ +s"|Student|||" "|Student||IDc0002|" *.cha
ren +re -f *.chstr.cex *.cha
chstring +re +w +y +s"|Student|||" "|Student||IDc0002|" *.txt
ren +re -f *.chstr.cex *.txt
Elnaz Kia, Ph.D. (she, her, hers)
Post-Doctoral Research Associate
Second Language Teaching and Research Center (L2TReC)
University of Utah
--
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/CAOwOJY%3Df6JUMXRFvKkshZ609pnWUq1tNHRsQbX_VKm8q7WxNuw%40mail.gmail.com.
Elnaz Kia, Ph.D. (she, her, hers)
Post-Doctoral Research Associate
Second Language Teaching and Research Center (L2TReC)
University of Utah
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/AB2BBD34-2F3C-43A9-89AF-2C1E9F27C383%40andrew.cmu.edu.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/EC5A6E83-FC97-4C81-AA85-68163B21C005%40andrew.cmu.edu.