replacing "&" with "&+" for phonological fragments
Leonid Spektor
spektor at andrew.cmu.edu
Tue Jun 3 18:54:07 UTC 2025
Hi Janet,
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.
One suggestion I have to use BBEdit editor. It has a good Grep function which will help identify the right "&" symbols.
You can also do it in two passes. First, use the following command to replace all '&' symbols with '&+':
chstring -w +s"&" "&+" *.cha
Next use CHSTRING command to replace mistakes that the first command might have created. For example,
chstring -w +s"&+~" "&~" +s"&+=" "&=" +s"&+-" "&-" *.cha
Leonid.
> On Jun 2, 2025, at 18:21, 'Janet Bang' via chibolts <chibolts at googlegroups.com> wrote:
>
> Hello,
>
> I am preparing transcripts to contribute to CHILDES, and at the time of transcription we were using the "&" symbol for phonological fragments.
>
> 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.
>
> Thank you!
> Janet
>
> --
> 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+unsubscribe at googlegroups.com <mailto:chibolts+unsubscribe at googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/chibolts/837c4db2-b024-4b6a-a5d5-902d03eddf60n%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/837c4db2-b024-4b6a-a5d5-902d03eddf60n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/chibolts/B246CE0C-7F2C-4AEF-AA0D-38A94368388A%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20250603/d2102b90/attachment.htm>
More information about the Chibolts
mailing list