Inserting a gem in batch style

25 views
Skip to first unread message

brielle.stark

unread,
Dec 19, 2024, 3:19:44 PM12/19/24
to chibolts
Hi there. I'm working with individual transcripts of a single gem (Cinderella), except that there's no @G: Cinderella in them so I can't run commands like corelex. Is there a way to batch add the Cinderella gem into each .cha file? Many thanks!

Brian Macwhinney

unread,
Dec 19, 2024, 3:28:13 PM12/19/24
to chib...@googlegroups.com
I would use BBEdit (or the equivalent) to replace the last header line (probably @Media) with that line followed by @G: Cinderella

—Brian MacWhinney

> On Dec 19, 2024, at 3:19 PM, brielle.stark <briell...@gmail.com> wrote:
>
> Hi there. I'm working with individual transcripts of a single gem (Cinderella), except that there's no @G: Cinderella in them so I can't run commands like corelex. Is there a way to batch add the Cinderella gem into each .cha file? Many thanks!
>
> --
> 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 visit https://groups.google.com/d/msgid/chibolts/67450f62-eae6-431e-9325-39f07af5f587n%40googlegroups.com.

brielle.stark

unread,
Dec 19, 2024, 3:31:39 PM12/19/24
to chibolts
Thanks, I'll give it a try!

Leonid Spektor

unread,
Dec 19, 2024, 5:30:39 PM12/19/24
to chib...@googlegroups.com
Hi,

Corelex has the -g option specifically for cases when the whole file is one GEM without any @G tags.


Leonid.

On Dec 19, 2024, at 15:19, brielle.stark <briell...@gmail.com> wrote:

Hi there. I'm working with individual transcripts of a single gem (Cinderella), except that there's no @G: Cinderella in them so I can't run commands like corelex. Is there a way to batch add the Cinderella gem into each .cha file? Many thanks!

Brielle Stark

unread,
Dec 19, 2024, 7:03:03 PM12/19/24
to chib...@googlegroups.com

Awesome, good to know!

Brielle C. Stark, PhD
Associate Professor of Speech, Language and Hearing Sciences
Indiana University

Sent from mobile phone

Sometimes, I catch up on email outside of typical work hours; I do not expect a reply outside typical working hours.

Reply all
Reply to author
Forward
0 new messages