Issues with CLANc

Leonid Spektor spektor at andrew.cmu.edu
Fri Jul 30 03:50:53 UTC 2021


Hi Elnaz and Jingfu,

	The problems were not as severe as I previously thought, so I was able to fixe everything now. I have updated all versions of CLAN on the web. The F5 and CHSTRING should now work correctly on Mac and Windows PC.

One recommendation about using +1 option, if I may. I always advise people to not use it. But, if you must, then I would recommend to make backups of your data first or to use command, like CHSTRING, without +1 option on one file and see if the result looks okay. If you choose to not use +1 option, then, for example for CHSTRING command, you can afterwards run command "ren -f *.chstr.cex *.cha" to rename all CHSTRING output files back to .cha files. This one extra command step may save you from major headache of your original data getting completely corrupted.


Leonid.

> On Jul 29, 2021, at 23:42, Elnaz Kia <ek325 at nau.edu> wrote:
> 
> Dear Leonid,
>  
> We really appreciate your answers. I hope the debugging fixes the chstring issue on Windows as well.
>  
> Many thanks,
> Elnaz & Jingfu
> 
> Elnaz Kia, Ph.D. (she, her, hers)
> Post-Doctoral Research Associate <https://l2trec.utah.edu/about/staff-directory.php>
> Second Language Teaching and Research Center (L2TReC) <https://l2trec.utah.edu/>
> University of Utah
> LinkedIn <https://www.linkedin.com/in/elnaz-kia?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B%2FResGVF2SMGMAxhocdPnRw%3D%3D>
> Personal Website <https://elnazkia.weebly.com/>
> 
> 
> On Thu, Jul 29, 2021 at 7:02 PM Leonid Spektor <spektor at andrew.cmu.edu <mailto:spektor at andrew.cmu.edu>> wrote:
> Hi Elnaz,
> 
> First of sorry for late reply. For some reason my mailer put you email in Junk box and I haven't seen it until now.
> 
> To answer 1. it looks like there is a comma missing after the media file name on @Media header, so CLANc thinks that media file name is "c0048cadrnh_1 audio" instead of simply "c0048cadrnh_1". PC seems to be more tolerant of this mistake. I will change CLANc to be more tolerant as well.
> 
> 2. seems to be a bug in CHSTRING command. I will fix it and update CLANc on the web tomorrow.
> 
> Leonid.
> 
>> On Jul 29, 2021, at 18:54, Elnaz Kia <ek325 at nau.edu <mailto:ek325 at nau.edu>> wrote:
>> 
>> Hi all,
>> 
>> One of my research assistants (also cced here) who transcribes the Chinese portion of our corpus has the following issues with CLANc. He owns a MacBook (macOS Mojave Version 10.14.6) and works with the latest version of CLANc. I would appreciate any comments or suggestions to fix the following issues.
>> 1. Linking Issue:  Many of the .cha files do not link with the audio files. He has tried F5 and sonic mode and here is the error that he gets for each:
>> 
>> The F5 mode showed “Can't locate media filename” and the sonic mode showed 'Can't locate media file or recognize media format”. (screenshots attached)
>> 
>> *I tried the file on windows and it works fine.
>> 
>> 2. The transcriber had to change the gender from male or female to unknown due to confidentiality reasons. I recommended running the following commands. 
>> chstring +re +1 +w +x +t@ +s"|male|" "||" *.cha
>> chstring +re +1 +w +x +t@ +s"|female|" "||" *.cha
>> 
>> "After I run the following commands to remove the gender information from the .cha files, it will show some additional information that I need to remove manually. "
>> 
>> "The example of additional information listed below:"
>> 
>> @UTF8 at Window:	176_548_467_685_-1_-1_210_0_210_0
>> @Begin at Languages:	zho
>> @Participants:	c0002 IDc0002 Student
>> @ID:	zho|corpus|c0002|0;00.00||||Student|||
>> @Media:	c0002cadr01_1, audio
>> @Transcriber:	Xiqiang Wang
>> @Comment:	hum, ahn, ah, eh signal hesitation
>> @Situation:	unspecified
>> *c0002:	eh (..). •0_18941•
>> *c0002:	wo3 (..). •18941_24567•
>> *c0002:	eh . •24567_26456•
>> @End
>> 
>> I tried running the commands on the problematic files and got the same result on CLAN windows. Do you know what the problem might be and how I could fix it? 
>> 
>> I was able to remove the first extra line with the following command, but I couldn't add a return after @Begin. <>
>> chstring +re +w +1 +t@ +s"\@UTF*" "" *.cha
>> 
>> Thanks,
>> Elnaz
>> 
>> Elnaz Kia, Ph.D. (she, her, hers)
>> Post-Doctoral Research Associate <https://l2trec.utah.edu/about/staff-directory.php>
>> Second Language Teaching and Research Center (L2TReC) <https://l2trec.utah.edu/>
>> University of Utah
>> LinkedIn <https://www.linkedin.com/in/elnaz-kia?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3B%2FResGVF2SMGMAxhocdPnRw%3D%3D>
>> Personal Website <https://elnazkia.weebly.com/>
>> 
>> 
>> -- 
>> 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 on the web visit https://groups.google.com/d/msgid/chibolts/CAOwOJYkmHDU52p1%2B8Pnx8m%2BWQiHQ0Y2f8Wzb8-MMA4_RHBJuHQ%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CAOwOJYkmHDU52p1%2B8Pnx8m%2BWQiHQ0Y2f8Wzb8-MMA4_RHBJuHQ%40mail.gmail.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 <mailto:chibolts+unsubscribe at googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/31B729B0-C2DE-4D8B-A10B-54351D7EA74E%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/31B729B0-C2DE-4D8B-A10B-54351D7EA74E%40andrew.cmu.edu?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 <mailto:chibolts+unsubscribe at googlegroups.com>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/CAOwOJYkFtpNTUbq3eVG87XtcfUcn6ZncUOo76uyZn4Bsv_Po5w%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CAOwOJYkFtpNTUbq3eVG87XtcfUcn6ZncUOo76uyZn4Bsv_Po5w%40mail.gmail.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 on the web visit https://groups.google.com/d/msgid/chibolts/41FAB0FF-4892-4480-9CBA-2E5CCBADDF15%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20210729/883ae914/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: f5error.png
Type: image/png
Size: 359045 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20210729/883ae914/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sonicmodeerror.png
Type: image/png
Size: 339641 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20210729/883ae914/attachment-0005.png>


More information about the Chibolts mailing list