Illegal characters when running CHECK

270 views
Skip to first unread message

Linda Mortensen

unread,
Mar 29, 2012, 8:46:00 AM3/29/12
to chibolts
Dear list members,
I am running the CHECK command on a series of chat files. I have corrected all the syntax errors in the files, except for one type of error that I don't know what to do about. Below I have pasted an output from the CHECK command that contains this error type. As you will see, specific letter are considered to be illegal characters. In the example, these are the letters "y" in "boy", "g" in "big", and "d" in "kind". In other chat files, other letters are considered illegal. Does anyone know how I correct these illegal characters? Any suggestions are much appreciated!
Thanks
Linda
 

> check +g3 01_DK2C.S.cha
Language codes file being used: "C:\childes\clan\lib\fixes\ISO-639.cut"
Dep-file being used: "C:\childes\clan\lib\depfile.cut"
check +g3 01_DK2C.S.cha
Tue Mar 27 15:16:22 2012
check (23-Jan-2012) is conducting analyses on:
  ALL speaker tiers
    and those speakers' ALL dependent tiers
  and ALL header tiers
****************************************
From file <01_DK2C.S.cha>
*** File "01_DK2C.S.cha": line 22.
*AST:    I think they went to the eh toy    department first eh were they eh.
Illegal character(s) 'y' found after Tier name.(123)
*** File "01_DK2C.S.cha": line 24.
*AST:    I think they made a big    mess and eh ended up with ah eh all kind
Illegal character(s) 'g' found after Tier name.(123)
*** File "01_DK2C.S.cha": line 38.
*AST:    you could see they w- there were birds and rabbits and all kind    of
Illegal character(s) 'd' found after Tier name.(123)

Warning: BASIC SYNTAX ERROR - Second pass not attempted !
Warning: Please repeat CHECK until no error messages are reported! 

G.W. Bol

unread,
Mar 29, 2012, 9:33:09 AM3/29/12
to chib...@googlegroups.com
Dear Linda,

It looks like you have to delete the space after the letters you
mentioned. Did you try that?
Best,
Gerard Bol.

> --
> You received this message because you are subscribed to the Google
> Groups "chibolts" group.
> To post to this group, send email to chib...@googlegroups.com.
> To unsubscribe from this group, send email to
> chibolts+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/chibolts?hl=en.

--
Dr. Gerard W. Bol
University of Groningen -- Dept. of Linguistics
P.O.Box 716 -- 9700 AS Groningen
The Netherlands
Phone: +31 (0) 50 3635978/74 (office) /+31 (0)20 4181626 (home)


Brian MacWhinney

unread,
Mar 29, 2012, 10:43:40 AM3/29/12
to chib...@googlegroups.com
I'll bet that the problem is that the illegal characters are actually tabs. CHAT wants tabs to be in only one place at the beginning of
lines after the colon.

-- Brian MacWhinney

Linda Mortensen

unread,
Mar 29, 2012, 10:51:55 AM3/29/12
to chib...@googlegroups.com
Dear Gerad,
Many thanks for your reply. I have just checked the input (chat) and output files from the CHECK function, and neither file contains the spaces you're referring to. They only appear after I pasted the text into the email. I have attached the input and output files. Maybe you want to have a look at them?  
Linda

To unsubscribe from this group, send email to chibolts+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.

--
Dr. Gerard W. Bol
University of Groningen -- Dept. of Linguistics
P.O.Box 716 -- 9700 AS Groningen
The Netherlands
Phone: +31 (0) 50 3635978/74 (office) /+31 (0)20 4181626 (home)


--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chib...@googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe@googlegroups.com.
01_DK2C.S.cha
01_DK2C.S_CLAN Output.cha

Brian MacWhinney

unread,
Mar 29, 2012, 10:57:47 AM3/29/12
to chib...@googlegroups.com
Dear Linda,

     The problem with the file was the tabs, as I suggested.  Also, blank lines, which I removed.  I will send you the checked file separately.

-- Brian MacWhinney
On Mar 29, 2012, at 10:51 AM, Linda Mortensen wrote:

Dear Gerad,
Many thanks for your reply. I have just checked the input (chat) and output files from the CHECK function, and neither file contains the spaces you're referring to. They only appear after I pasted the text into the email. I have attached the input and output files. Maybe you want to have a look at them?  
Linda

On Thu, Mar 29, 2012 at 3:33 PM, G.W. Bol <G.W...@rug.nl> wrote:
Dear Linda,

It looks like you have to delete the space after the letters you mentioned. Did you try that?
Best,
Gerard Bol.


--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chib...@googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.



--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chib...@googlegroups.com.
To unsubscribe from this group, send email to chibolts+u...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.
<01_DK2C.S.cha><01_DK2C.S_CLAN Output.cha>

Leonid Spektor

unread,
Mar 29, 2012, 12:19:16 PM3/29/12
to chib...@googlegroups.com
Linda,

It is also very important to keep up with the new CLAN if you get into a situation where you are not sure what exactly the problems is. We are constantly improving CLAN and in this particular case the way check reports errors. The latest version of CLAN correctly identifies TAB as the error character.


Leonid.


Reply all
Reply to author
Forward
0 new messages