<div dir="ltr">Hi Leonid, <div><br></div><div>Thanks! I was worried about using chstring because we also used the "&=" for simple events, but so would the second chstring command address that issue?</div><div><br><div>I'll also test this out a few files, rather than doing this to the whole corpus at once and let you know if I have any questions. </div></div><div><br></div><div>Janet</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Jun 3, 2025 at 11:54 AM Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu">spektor@andrew.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi Janet,<div><br></div><div><span style="white-space:pre-wrap"> </span>Sorry for delay in reply. I remember that we had to do the same thing for our data and I vaguely remember we had a command to do it for many files at the time. But, unfortunately I cannot seem to find that command anywhere.</div><div><br></div><div><br></div><div>One suggestion I have to use BBEdit editor. It has a good Grep function which will help identify the right "&" symbols.</div><div><br></div><div><br></div><div>You can also do it in two passes. First, use the following command to replace all '&' symbols with '&+':</div><div><br></div><div>chstring -w +s"&" "&+" *.cha</div><div><br></div><div>Next use CHSTRING command to replace mistakes that the first command might have created. For example,</div><div><br></div><div>chstring -w +s"&+~" "&~" +s"&+=" "&=" +s"&+-" "&-" *.cha</div><div><div>
<div style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Leonid.</div>
</div>
<div><br><blockquote type="cite"><div>On Jun 2, 2025, at 18:21, 'Janet Bang' via chibolts <<a href="mailto:chibolts@googlegroups.com" target="_blank">chibolts@googlegroups.com</a>> wrote:</div><br><div>Hello, <br><br>I am preparing transcripts to contribute to CHILDES, and at the time of transcription we were using the "&" symbol for phonological fragments. <div><br></div><div>Is there a code that we could use to automatically replace these to the "&+"? This was coming up as an error when using CHECK, and I was hoping to clear these to identify any other issues before contributing. <br><br>Thank you!<br>Janet</div><div><br></div>
-- <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" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/chibolts/837c4db2-b024-4b6a-a5d5-902d03eddf60n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/837c4db2-b024-4b6a-a5d5-902d03eddf60n%40googlegroups.com</a>.<br>
</div></blockquote></div><br></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" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion visit <a href="https://groups.google.com/d/msgid/chibolts/B246CE0C-7F2C-4AEF-AA0D-38A94368388A%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/B246CE0C-7F2C-4AEF-AA0D-38A94368388A%40andrew.cmu.edu</a>.<br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Janet Y. Bang, Ph.D (she/her/hers)</div><div>Assistant Professor</div><div>Child and Adolescent Development</div><div>Lurie College of Education, San José State University</div><div><a href="mailto:janet.bang@sjsu.edu" target="_blank">janet.bang@sjsu.edu</a> | 408-924-3714</div><div><a href="https://www.sjsu.edu/education/faculty/janet-bang.php" target="_blank">https://www.sjsu.edu/education/faculty/janet-bang.php</a><br></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 visit <a href="https://groups.google.com/d/msgid/chibolts/CAL7GuZqg771MojU97XPeFMda4JX%2B9YLY7j29_aEbduRwG5N7qQ%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAL7GuZqg771MojU97XPeFMda4JX%2B9YLY7j29_aEbduRwG5N7qQ%40mail.gmail.com</a>.<br />