two more questions about converting SALT files to CHAT format
Ying Lu
yl5834 at gmail.com
Sat Nov 10 00:03:06 UTC 2012
Dear Leonid,
Thank you very much for your help! I am now able to convert files created
in the newest version SALT to CHAT format!
I have two more questions.
One is about converting the words in quotation marks from SALT to CHAT
format. It seems that CLAN will not count the words in quotations marks
when running MOR. E.g.,
In SALT:
C the little boy said[mv][IP] "quiet" [G].
In CLAN:
*CHI: the little boy said [% mv] [% ip] <quiet> ["] [% g] .
%mor: det|the adj|little n|boy v|say&PAST n|quote .
The other is about how to exclude the abandoned utterances (marked by > in
SALT) in CLAN. E.g.,
In SALT:
C (And they and they) ((and then)) they could/n't[IP]>
C ((And then)) the boy look/ed[mv] into the hole [G].
In SALT, the abandoned utterances will be excluded from the analysis set.
But CLAN keeps them in the MLU calculation. The same happened to the
interrupted utterances (marked by ^ in SALT).
Thank you very much again!
Sincerely,
Ying
On Monday, November 5, 2012 11:46:57 AM UTC-6, Spektor, Leonid: CMU wrote:
>
>
> SALT started adding Unicode identification characters at the beginning of
> transcript. I have changed CLAN in general and SALTIN in particular to
> recognize those characters. I will update CLAN by the end of today.
>
> Leonid.
>
>
>
> On Nov 5, 2012, at 11:51, Sophie Ambrose wrote:
>
> I've recently begun running into this problem too and wasn't sure why the
> issue arose suddenly. The transcribing is being done in SALT elsewhere, so
> it's certainly possible the lab changed to the 2012 version recently too.
> I'm glad Leonid will be taking a look at this issue.
> Sophie
>
> On Monday, November 5, 2012 9:47:59 AM UTC-6, Spektor, Leonid: CMU wrote:
>>
>> Ying Lu,
>>
>> If the latest version of SALT does output some special characters, then
>> it would be best for us to change SALTIN to recognize them. For that I need
>> a copy of your "Tran1.slt" file. Please email it to me if you can.
>>
>> Leonid.
>>
>>
>>
>> On Nov 5, 2012, at 09:48, Ying Lu wrote:
>>
>> Dear Leonid,
>>
>> Thank you very much for your reply!
>>
>> For problem (a), I understand the errors are due to the unrecognized
>> initial characters of the tiers (e.g., $, C). But I don't know why that
>> happened. I suspect there is a compatibility issue here, i.e., SALTIN can't
>> recognize some symbols generated by the SALT 2012 student version. I will
>> try other SALT versions later and see if that works.
>>
>> As for problem (b), I got a reply from Dr. MacWhinney last night and was
>> able to get the comparable MLU. Thanks a lot again for directing me to use
>> POST!!!
>>
>> Sincerely,
>> Ying Lu
>>
>>
>> On Mon, Nov 5, 2012 at 12:05 AM, Leonid Spektor <spe... at andrew.cmu.edu>wrote:
>>
>>> Ying Lu,
>>>
>>> (a)
>>> The first error "** ERROR: unknown symbol <> found on 1 line." is
>>> probably because the first character on the line 1 is not '$' character. It
>>> might be some special control character that SALT or your text editor has
>>> inserted and CLAN doesn't recognize. The rest of the errors are due to
>>> first line not being recognized by SALTIN and as a result SALTIN can't
>>> identify speaker name code.
>>>
>>> I have created a test file from your example below and here is the
>>> result from SALTIN that I get:
>>>
>>> @Begin
>>> @Languages: eng
>>> @Participants: CHI Target_Child, INV Investigator
>>> @ID: eng|change_me_later|CHI|||||Target_Child|||
>>> @ID: eng|change_me_later|INV|||||Investigator|||
>>> @Time Start: 00:00
>>> @Comment: Language: English
>>> *CHI: there is a boy whose name is tom .
>>> *CHI: he likes swimming .
>>> %tim: 00:05
>>> @End
>>>
>>> It would be very helpful if you would send to me directly the
>>> "Tran1.slt" file that you used.
>>>
>>>
>>> (b)
>>> The difference in MLU results is due to %mor tier not being
>>> disambiguated by POST command. If you run POST command, then you will get
>>> this CHAT file:
>>>
>>> *CHI: the dog was [% ip] looking [% mv] in the beehive and 0at [% po]
>>> the mole [% u] .
>>> %mor: det|the n|dog aux|be&PAST&13S part|look-PROG prep|in det|the
>>> n|beehive coord|and 0prep|at det|the n|mole .
>>>
>>> and this MLU result:
>>>
>>> MLU for Speaker: *CHI:
>>> MLU (xxx, yyy and www are EXCLUDED from the utterance and morpheme
>>> counts):
>>> Number of: utterances = 1, morphemes = 11
>>> Ratio of morphemes over utterances = 11.000
>>> Standard deviation = 0.000
>>>
>>>
>>> Leonid.
>>>
>>>
>>>
>>> On Nov 4, 2012, at 20:33 , Ying Lu wrote:
>>>
>>> *Dear Chibolts group,
>>>
>>> I am trying to convert some SALT files and compare the MLU calculated by
>>> SALT with that by CLAN. I encounter some problems:
>>>
>>> (a) I am using SALT 2012 Student Version. *
>>>
>>> *The original SALT file is (I am using a short version sample here):*
>>>
>>> $ Child, Examiner
>>> + Language: English
>>> - 0:00
>>>
>>> C There is a boy whose name is Tom.
>>> C He likes swimming.
>>>
>>> - 0:05
>>>
>>> *But I got the following message when converting a SALT file into CHAT
>>> format using the command line "SALTIN Tran1.slt": *
>>> > SALTIN Tran1.slt
>>> saltin Tran1.slt
>>> Sun Nov 04 18:39:34 2012
>>> saltin (07-Sep-2012)
>>> ****************************************
>>> From file <Tran1.slt>
>>> ** ERROR: unknown symbol <> found on 1 line.
>>> ** ERROR: unknown symbol <c> found on 5 line.
>>> ** ERROR: unknown symbol <c> found on 7 line.
>>> Output file <Tran1.sltin.cha>
>>>
>>> *The output file looks like this:*
>>>
>>> @Begin
>>> @Languages: eng
>>> @Time Start: 00:00
>>> @Time Start: there is a boy whose name is tom .he likes swimming
>>> .00:05
>>> @End
>>>
>>> *I don't understand why the errors would occur.*
>>>
>>> *(b) Also, the MLU calculated by SALT is often different from that
>>> calculated by CLAN. For example,*
>>> C The dog was look/ing in the beehive and *at the mole. *(in SALT)*
>>>
>>> *When I convert this to CHAT format, and use the MOR and MLU commands,
>>> it showed: *
>>> *CHI: The dog was [% ip] looking [% mv]
>>> in the beehive and 0at [% po] the mole [% u] .
>>> %mor: det|the v|dog^n|dog v:cop|be&PAST&13S^aux|be&PAST&13S
>>> adj:part|look-PROG^n:gerund|look-PROG^part|look-PROG
>>> prep|in^adv:loc|in^pfx|in det|the n|beehive coord|and 0prep|at
>>> det|the n|mole .
>>>
>>> *The MLU by SALT is 11, but the Ratio of morphemes over utterances = 13
>>> (Number of: utterances = 1, morphemes = 13) by CLAN.*
>>>
>>> Apparently, the MLU result by SALT is what I want. But how could I get
>>> the same result in CLAN?
>>>
>>> Thank you very much for your attention! Look forward to your help!
>>> Sincerely,
>>> Ying Lu
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "chibolts" group.
>>> To post to this group, send email to chib... at googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> chibolts+u... at googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/chibolts/-/z7qY4rboSlAJ.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "chibolts" group.
>>> To post to this group, send email to chib... at googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> chibolts+u... at googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "chibolts" group.
>> To post to this group, send email to chib... at googlegroups.com.
>> To unsubscribe from this group, send email to
>> chibolts+u... at googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "chibolts" group.
> To post to this group, send email to chib... at googlegroups.com<javascript:>
> .
> To unsubscribe from this group, send email to
> chibolts+u... at googlegroups.com <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/chibolts/-/XeiXF8xIoBwJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/chibolts/-/W2uyUInsDVcJ.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20121109/17923fe0/attachment.htm>
More information about the Chibolts
mailing list