Troubleshoot CLAN crushing files

Leonid Spektor spektor at andrew.cmu.edu
Tue May 12 04:49:36 UTC 2020


Molly,

	Attached is a CHSTRING's script file "change.cut". Put it in the same directory where your data file is and then run command:

chstring +1 -w -cchange.cut Fall_T3_C5_C06_Circle.cha


Leonid.

> On May 12, 2020, at 00:37, Molly Ye <mollyye1994 at gmail.com> wrote:
> 
> Hi leonid,
> 
> Here's one file with the apostrophe problem. Thank you so much!
> 
> Molly
> 
> On Mon, May 11, 2020 at 9:02 PM Leonid Spektor <spektor at andrew.cmu.edu <mailto:spektor at andrew.cmu.edu>> wrote:
> Molly,
> 
> 	The CHSTRING requires the +s or +c option to specify what you want to replace and with what. Please email your data file in question to me directly and I will give you the exact CHSTRING command that will replace all fancy quotes in your data files.
> 
> 
> Leonid.
> 
>> On May 11, 2020, at 18:18, Molly Ye <mollyye1994 at gmail.com <mailto:mollyye1994 at gmail.com>> wrote:
>> 
>> Hi Leonid,
>> 
>> I tried the CHSTRING -w option, but the output said "can't open either one of the changes files" (please see attached image bellow). I could replace each fancy apostrophe with the correct one in CLAN, but it was too much work to correct one at a time. I couldn't use the "replace all" option in word since it seemed that word could only process the fancy apostrophes. I found the "file" tab in Microsoft word and it was located next to the apple icon on my screen, not in the word document window. I'm not familiar with the mac system, sorry about the confusion!
>> 
>> 
>> Thanks!
>> Molly 
>> 
>> On Sun, May 10, 2020 at 6:17 PM Leonid Spektor <spektor at andrew.cmu.edu <mailto:spektor at andrew.cmu.edu>> wrote:
>> Molly,
>> 
>> 	Those quotes are inserted by MS-Word. For some reason MS-Word replaces regular single and double quotes that you type on your keyboard with what they call fancy quotes by default. You can find one of those quotes in your file in CLAN and replace it with regular single quote like this one '. Or you can use CHSTRING to do the same on all files. Just make sure to use -w option with CHSTRING when doing it. I don't know which exactly fancy single quote you have in your file, because there are several of them, so I can't give an exact example.
>> 
>> I am curious about your Word not having a "File" menu. I have never heard that before. What kind of version of Word do you have?
>> 
>> 
>> Leonid.
>> 
>>> On May 10, 2020, at 17:38, Molly Ye <mollyye1994 at gmail.com <mailto:mollyye1994 at gmail.com>> wrote:
>>> 
>>> Hi Leonid,
>>> 
>>> Thank you for your detailed step by step instructions. But weirdly, I don't have the file tab in my Word toolbar. One of my colleagues suggested copying the word file into CLAN and saving it as a CLAN file. Then use CHSTRING + q command to delete extra spaces between lines in the file and it worked!!! However, when I run check command on my files, it always tells me there's a problem with the apostrophes in each line. I have attached a screenshot of the output. Can you please tell me how to fix this? Does it have anything to do with the keyboard input I use? I use the default input on my laptop.
>>> 
>>> Thank you so much for your help!
>>> Molly 
>>> 
>>> On Sat, May 9, 2020 at 11:18 PM Leonid Spektor <spektor at andrew.cmu.edu <mailto:spektor at andrew.cmu.edu>> wrote:
>>> Hi Molly,
>>> 
>>> 	The file you attached is a MSWord file. You need to change its extension from .cha to .doc and open it with Microsoft Word. After that you need to select menu "File->Save As...". After that select File Format "Plain Text (.txt) - look at picture below:
>>> 
>>> 
>>> -- 
>>> 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/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu?utm_medium=email&utm_source=footer>.
>>> 
>>> 
>>> Now click on "Save" button and you should see the next window where you should select Other encoding: "Unicode (UTF-8)" like in the next picture:
>>> 
>>> 
>>> 
>>> -- 
>>> 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/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu?utm_medium=email&utm_source=footer>.
>>> 
>>> 
>>> After clicking on "OK" button you will have file .txt saved. Rename that extension to .cha and now CLAN will be able to open that .cha file. It should look like in the picture below:
>>> 
>>> 
>>> 
>>> -- 
>>> 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/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu?utm_medium=email&utm_source=footer>.
>>> 
>>> 
>>> 
>>> Leonid.
>>> 
>>>> On May 9, 2020, at 20:48, Molly Ye <mollyye1994 at gmail.com <mailto:mollyye1994 at gmail.com>> wrote:
>>>> 
>>>> Hi Leonid,
>>>> 
>>>> I was running CHECK command from Commands window. I believe it might be the way I concert word file to cha. created the problems. I have no problem opening a cha file that already was checked without errors. However, when I run CHECK commands from Commands window, and it tells me the file has some errors, then I try to open the file by double clicking it, a window pops up saying my file may be corrupted. I have attached to this email the problematic data file and a screenshot of pop-up window which states the file may be corrupted. 
>>>> 
>>>> Thank you so much for your assistance!
>>>> 
>>>> Best,
>>>> Molly 
>>>> 
>>>> On Mon, Mar 30, 2020 at 3:48 PM Leonid Spektor <spektor at andrew.cmu.edu <mailto:spektor at andrew.cmu.edu>> wrote:
>>>> Molly,
>>>> 
>>>> 	If CLAN opens at all on your Mac, then the problem you are describing doesn't have anything to do with Mac. I would suggest that you quit CLAN completely and restart it and see if the problem persists. If it does, then reboot your Mac and try again. After that you can try installing the latest version of CLAN on your Mac or sent to me directly the data file that crushes CLAN when you run CHECK and I will try to diagnose the problem. Also, tell me if you are running CHECK command from Commands window or you are using ESC-L or "Mode->Check opened file" menu.
>>>> 
>>>> 
>>>> Leonid.
>>>> 
>>>>> On Mar 30, 2020, at 14:43, Molly Ye <mollyye1994 at gmail.com <mailto:mollyye1994 at gmail.com>> wrote:
>>>>> 
>>>>> Hi!
>>>>> 
>>>>> I ran into a problem with CLAN where it always crushes my files every time I run a check commend. Does it have anything to do with the fact that I'm using a MAC?
>>>>> 
>>>>> Thank you!
>>>>> Molly 
>>>>> 
>>>>> -- 
>>>>> 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/8d00d2cf-f224-4140-84a7-0cf268355812%40googlegroups.com <https://groups.google.com/d/msgid/chibolts/8d00d2cf-f224-4140-84a7-0cf268355812%40googlegroups.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/0E48766C-9E00-4585-A69D-D9BC38473ACC%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/0E48766C-9E00-4585-A69D-D9BC38473ACC%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/CABEEg_H6FSyjXir%3Dqrd9VSA%2Bor3tn%2BJGjmiV3B9BZE6Sm4BAvg%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CABEEg_H6FSyjXir%3Dqrd9VSA%2Bor3tn%2BJGjmiV3B9BZE6Sm4BAvg%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/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%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/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/B862C40D-FC3A-4363-A7D1-98D405C3DFEA%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/CABEEg_FPiR52_TnG8B4StXAcvZvG%3DQgK1WmvHK8u-K%2BCRFmQgg%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CABEEg_FPiR52_TnG8B4StXAcvZvG%3DQgK1WmvHK8u-K%2BCRFmQgg%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/916E9308-6B38-4732-B786-D045225CC1B4%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/916E9308-6B38-4732-B786-D045225CC1B4%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/CABEEg_HW6e7jsfOkQd9bBuOmzr86jqsOY6W2oMK0%3D7TvwTv55A%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CABEEg_HW6e7jsfOkQd9bBuOmzr86jqsOY6W2oMK0%3D7TvwTv55A%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/77C91C3D-4066-4A3E-8FB9-239BF0BF56AA%40andrew.cmu.edu <https://groups.google.com/d/msgid/chibolts/77C91C3D-4066-4A3E-8FB9-239BF0BF56AA%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/CABEEg_E8ArYzc7%2BmiW_2FEg4GJ8iH4R48SjxVTuFSKf5M%2BbWgA%40mail.gmail.com <https://groups.google.com/d/msgid/chibolts/CABEEg_E8ArYzc7%2BmiW_2FEg4GJ8iH4R48SjxVTuFSKf5M%2BbWgA%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/46063A54-F5EA-4E4D-8F64-2265C4401A34%40andrew.cmu.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: change.cut
Type: application/octet-stream
Size: 67 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0004.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13028 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0004.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2020-05-10 at 5.37.39 PM.png
Type: image/png
Size: 245856 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0005.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fall_T3_C5_C06_Circle.cha
Type: application/octet-stream
Size: 8081 bytes
Desc: not available
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0005.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20200512/974d393b/attachment-0004.htm>


More information about the Chibolts mailing list