add dependent tierr

9 views
Skip to first unread message

María Patricia Paolantonio

unread,
Jun 26, 2025, 9:28:37 AMJun 26
to chib...@googlegroups.com
Hi!
 
I need to move postcodes from the speaker lines to a %cod tier in several .cha files. Is there any way to do this automatically, that is, adding the %cod tier along with the corresponding postcodes?

For example, I want to transform this:

image.png

into this:
image.png

Thanks in advance for your help!

Patricia

--

Brian Macwhinney

unread,
Jun 26, 2025, 10:30:59 AMJun 26
to chib...@googlegroups.com
Patricia,
    One can make changes like this using regular expressions (RegEx) in programs like BBEdit.  If you know how to use BBEdit or a similar RegEx system, I could give you the command that I would use.

— Brian MacWhinney
Teresa Heinz Professor of Cognitive Psychology, 
Language Technologies and Modern Languages, CMU 

On Jun 26, 2025, at 9:28 AM, María Patricia Paolantonio <mppaol...@gmail.com> wrote:

Hi!
 
I need to move postcodes from the speaker lines to a %cod tier in several .cha files. Is there any way to do this automatically, that is, adding the %cod tier along with the corresponding postcodes?

For example, I want to transform this:

<image.png>

into this:
<image.png>

Thanks in advance for your help!

Patricia

--


--
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/CALcfY3oRCk8OK0d_-XArhDG%2B1UmC4P%3DS8wMGavqEuj7iBggUew%40mail.gmail.com.

Leonid Spektor

unread,
Jun 26, 2025, 12:13:43 PMJun 26
to chib...@googlegroups.com
Patricia,

Post-codes are detected only when they are on speaker tiers. If you move them to dependent tiers, then you will not be able to select speaker and corresponding dependent tiers based on those post-codes.


Leonid.

María Patricia Paolantonio

unread,
Jun 27, 2025, 7:36:36 AMJun 27
to chib...@googlegroups.com
Brian and Leonid,

                            What I want to do is run RELY and get Cohen's kappa based on post-codes written in the speaker line. That's why I'm trying to move them to a %cod tier. Although I'm not familiar with  BBEdit, maybe I can try to figure it out. 

Patricia.




--
Dra. Ma. Patricia Paolantonio
Becaria Posdoctoral

Instituto de Investigaciones Psicológicas  [CONICET-UNC]
Facultad de Psicología, Universidad Nacional de Córdoba
Blvd. de La Reforma esq. Enfermera Gordillo.
Ciudad Universitaria -5000- Córdoba. 
Argentina
54-351-5353890 interno: 60201

Reply all
Reply to author
Forward
0 new messages