text replacements

13 views
Skip to first unread message

Takayuki Kimura

unread,
Sep 30, 2022, 7:35:53 AM9/30/22
to chibolts
Hello to everyone,

I'm using CLAN for a research project.
In the file I'm working on, an erroneous sentence such as "they has" is tagged as follows:

*CHI:    they has [: have] [*] +/.
%mor:    (1)pro:sub|they (1)v|have +/.

I would like to search for sentences with agreement errors based on the %mor tier, but it appears that the tags in the %mor tier are assigned based on text replacement (i.e., [: have]) rather than actual production (i.e., has).

So I'm wondering if it is possible to ignore text replacements when searching in the %mor tier. According to the manual, the command +r5 eliminates any text replacements, but it does not seem to work for the %mor tier.

Thanks for your help,
Takayuki Kimura

Leonid Spektor

unread,
Sep 30, 2022, 9:23:33 AM9/30/22
to chib...@googlegroups.com
Hi Takayuki,

Try specific command:

freq +s"m;they^;have,@*" +c7 filename.cha

Or more general command:

freq +s"m;*^@*" +c7 filename.cha




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/12be1a18-401b-4624-ba02-00aa60a77a0en%40googlegroups.com.

Brian Macwhinney

unread,
Sep 30, 2022, 11:16:46 AM9/30/22
to ChiBolts
Leonid and Takayuki,

Yes, what Leonid suggests could work well. The crucial part of the string that Leonid recommends is the addition of @*. If you type “freq +sm” you will get a listing of all the fancy ways of searching the %mor line using the +sm switch. There is also the same information in section 7.8.7 of the CLAN manual.
In the particular example you give, I would actually not have transcribed using replacement at all. I would have left the word “has” in the transcript, because MOR would have no problem with that, and I would have used the [*] code and then further error codes as described in chapter 18 of the CHAT manual.

— Brian MacWhinney 他
Teresa Heinz Professor of Cognitive Psychology,
Language Technologies and Modern Languages, CMU
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/ADEDF410-E019-4B29-B8F1-6E730EA783C1%40andrew.cmu.edu.

Takayuki Kimura

unread,
Oct 2, 2022, 9:46:13 AM10/2/22
to chibolts
Dear Leonid and Brian,

Thank you very much for your quick responses.
 I really appreciate your help.

Best regards,
Takayuki

2022年10月1日土曜日 0:16:46 UTC+9 macw:
Reply all
Reply to author
Forward
0 new messages