commas and COMBO

26 views
Skip to first unread message

Cynthia Audisio

unread,
Oct 3, 2022, 9:50:00 PM10/3/22
to chibolts
Dear chibolts,

Why is it that whenever I use COMBO with words separated by commas, the command only matches the first co-occurence?

For instance, on the following fragment

*PA1: vení, vení.
*PA2: ahí voy.
*PA1: vení, vení.

combo +svení^vení returns:

*PA1:    (1)vení, (1)vení .
    Strings matched 1 times

without the comma, it works just fine.

Leonid Spektor

unread,
Oct 3, 2022, 10:49:28 PM10/3/22
to ChiBolts
Cynthia,

You might be using an older version of CLAN. Your command "combo +svení^vení", in latest version of CLAN, when run on the following data:

*PA1: vení, vení.
*PA2: ahí voy.
*PA1: vení, vení.
*PA2: vení vení.

Will produce the following output:

> combo +svení^vení combo.cha
vení^vení
combo +svení^vení combo.cha
Mon Oct  3 22:42:14 2022
combo (12-Sep-2022) is conducting analyses on:
  ALL speaker tiers
****************************************
From file <combo.cha>
----------------------------------------
*** File "combo.cha": line 4.
*PA2: (1)vení (1)vení .

    Strings matched 1 times

The words separated by commas will not match.

Leonid.

--
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/d2bf52c5-c0a1-4d57-885f-4f6916025959n%40googlegroups.com.

Cynthia Audisio

unread,
Oct 4, 2022, 11:01:17 AM10/4/22
to chibolts
Dear Leonid,

I've updated my version on Mac but I get the same result as before.

---The command matches one occurrence on the following transcript.

@Begin
@Languages:    spa
@Participants:    PA1 Participant
@ID:    spa|change_corpus_later|PA1|||||Participant|||
*PA1:    vení, vení.
*PA1:    ahí voy.
*PA1:    vení, vení.
@End

> combo +svení^vení @
vení^vení
combo +svení^vení @
Tue Oct  4 11:56:54 2022

combo (12-Sep-2022) is conducting analyses on:
  ALL speaker tiers
****************************************
From file </Applications/CLANc/work/combo/Untitled 2.cha>
----------------------------------------
*** File "/Applications/CLANc/work/combo/Untitled 2.cha": line 5.
*PA1:    (1)vení , (1)vení .

    Strings matched 1 times


---Whenever commas are excluded, it matches the actual amount of occurrences:

@Begin
@Languages:    spa
@Participants:    PA1 Participant
@ID:    spa|change_corpus_later|PA1|||||Participant|||
*PA1:    vení vení.
*PA1:    ahí voy.
*PA1:    vení vení.
@End

> combo +svení^vení @
vení^vení
combo +svení^vení @
Tue Oct  4 11:59:09 2022

combo (12-Sep-2022) is conducting analyses on:
  ALL speaker tiers
****************************************
From file </Applications/CLANc/work/combo/Untitled 2.cha>
----------------------------------------
*** File "/Applications/CLANc/work/combo/Untitled 2.cha": line 5.
*PA1:    (1)vení (1)vení .
----------------------------------------
*** File "/Applications/CLANc/work/combo/Untitled 2.cha": line 7.
*PA1:    (1)vení (1)vení .

    Strings matched 2 times

Leonid Spektor

unread,
Oct 4, 2022, 12:38:47 PM10/4/22
to ChiBolts
Cynthia,

Please email to me both files you used for testing. The one with commas that is not suppose to produce any output and the one without commas that works correctly. I can't replicate the problem you are having, so need the actual files you are running COMBO on for testing. Please email those files as attachments to me directly at spe...@andrew.cmu.edu.

Also, please let me know what MacOS version do you have on your Mac.

Leonid.

Leonid Spektor

unread,
Oct 4, 2022, 9:33:59 PM10/4/22
to ChiBolts
This was a bug in COMBO that had to do with speaker tier immediately following @ID tier. I have fixed it and update all versions of CLAN on the web.

This command will ignore words separated by commas:

combo +svení^vení @

This command will match words with or without commas in between them:

combo +svení^vení +g4 @


Leonid.
Reply all
Reply to author
Forward
0 new messages