Dear Leonid,<br><br>Thank you very much for your help! I am now able to convert files created in the newest version SALT to CHAT format!<br><br>I have two more questions. <br><br>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.,<br><br>In SALT:<br>C the little boy said[mv][IP] "quiet" [G].<br>In CLAN:<br>*CHI:    the little boy said [% mv] [% ip] <quiet> ["] [% g] .<br>%mor:  det|the adj|little n|boy v|say&PAST n|quote . <br><br>The other is about how to exclude the abandoned utterances (marked by > in SALT) in CLAN. E.g.,<br>In SALT:<br>C (And they and they) ((and then)) they could/n't[IP]><br>C ((And then)) the boy look/ed[mv] into the hole [G].<br>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). <br><br>Thank you very much again!<br>Sincerely,<br>Ying<br><br> <br><br>On Monday, November 5, 2012 11:46:57 AM UTC-6, Spektor, Leonid: CMU wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div style="word-wrap:break-word"><div><br></div><span style="white-space:pre">     </span>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.<br><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Grande';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Grande';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word"><span><div style="word-wrap:break-word;-webkit-line-break:after-white-space"><span><span><div><span><div style="word-wrap:break-word"><div><br>Leonid.</div><div><br></div></div></span></div></span></span></div></span></div></span></span><br>
</div>
<br><div><div>On Nov 5, 2012, at 11:51, Sophie Ambrose wrote:</div><br><blockquote type="cite">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.<br>Sophie<br><br>On Monday, November 5, 2012 9:47:59 AM UTC-6, Spektor, Leonid: CMU wrote:<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Ying Lu,<div><br></div><div><span style="white-space:pre">       </span>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.<br><div>
<div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Lucida Grande';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word"><div><br>Leonid.</div><div><br></div></div></span></div></span></span></div></span></div><br>
</div>
<br><div><div>On Nov 5, 2012, at 09:48, Ying Lu wrote:</div><br><blockquote type="cite"><div><font color="#333399"><font size="+0">Dear Leonid,</font></font></div><div><font color="#333399"><font size="+0"></font></font> <br></div>
<div><font color="#333399"><font size="+0">Thank you very much for your reply! </font></font></div>
<div><font color="#333399"><font size="+0"></font></font> </div>
<div><font color="#333399"><font size="+0">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.</font></font></div>


<div><font color="#333399"><font size="+0"></font></font> </div>
<div><font color="#333399"><font size="+0">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!!!</font></font></div>
<div><font color="#333399"><font size="+0"></font></font> </div>
<div><font color="#333399"><font size="+0">Sincerely,</font></font></div>
<div><font color="#333399"><font size="+0">Ying Lu </font></font></div>
<div><br><br></div>
<div class="gmail_quote">On Mon, Nov 5, 2012 at 12:05 AM, Leonid Spektor <span dir="ltr"><<a>spe...@andrew.cmu.edu</a>></span> wrote:<br>
<blockquote style="border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;padding-left:1ex" class="gmail_quote">
<div style="WORD-WRAP:break-word">Ying Lu, 
<div><br></div>
<div>(a)</div>
<div><span style="WHITE-SPACE:pre-wrap"></span>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.</div>


<div><br></div>
<div>I have created a test file from your example below and here is the result from SALTIN that I get:</div>
<div><br></div>
<div>@Begin<br>@Languages:<span style="WHITE-SPACE:pre-wrap"> </span>eng<br>@Participants:<span style="WHITE-SPACE:pre-wrap"> </span>CHI Target_Child, INV Investigator<br>@ID:<span style="WHITE-SPACE:pre-wrap"> </span>eng|change_me_later|CHI|||||<wbr>Target_Child|||<br>

@ID:<span style="WHITE-SPACE:pre-wrap"> </span>eng|change_me_later|INV|||||<wbr>Investigator|||<br>@Time Start:<span style="WHITE-SPACE:pre-wrap"> </span>00:00<br>@Comment:<span style="WHITE-SPACE:pre-wrap"> </span>Language: English<br>

*CHI:<span style="WHITE-SPACE:pre-wrap"> </span>there is a boy whose name is tom .<br>*CHI:<span style="WHITE-SPACE:pre-wrap"> </span>he likes swimming .<br>%tim:<span style="WHITE-SPACE:pre-wrap"> </span>00:05<br>@End</div>


<div><br></div>
<div>It would be very helpful if you would send to me directly the "Tran1.slt" file that you used.</div>
<div><br></div>
<div><br></div>
<div>(b)</div>
<div><span style="WHITE-SPACE:pre-wrap"></span>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:</div>
<div><br></div>
<div>*CHI:    the dog was [% ip] looking [% mv] in the beehive and 0at [% po] the mole [% u] .<br>%mor:<span style="WHITE-SPACE:pre-wrap"> </span>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 .</div>


<div><br></div>
<div>and this MLU result:</div>
<div><br></div>
<div>MLU for Speaker: *CHI:<br>  MLU (xxx, yyy and www are EXCLUDED from the utterance and morpheme counts):<br><span style="WHITE-SPACE:pre-wrap"></span>Number of: utterances = 1, morphemes = 11<br><span style="WHITE-SPACE:pre-wrap"></span>Ratio of morphemes over utterances = 11.000<br>

<span style="WHITE-SPACE:pre-wrap"></span>Standard deviation = 0.000<span><font color="#888888"><br><br>
<div>
<div style="WORD-WRAP:break-word">
<div style="WORD-WRAP:break-word">
<div style="WORD-WRAP:break-word">
<div style="WORD-WRAP:break-word">
<div><br>Leonid.</div>
<div style="FONT-FAMILY:Helvetica"><br></div></div></div></div></div><br></div></font></span>
<div>
<div><br>
<div>
<div>On Nov 4, 2012, at 20:33 , Ying Lu wrote:</div><br>
<blockquote type="cite"><b>Dear Chibolts group,<br><br>I am trying to convert some SALT files and compare the MLU calculated by SALT with that by CLAN. I encounter some problems:<br><br>(a) I am using SALT 2012 Student Version. </b><br>

<br><b>The original SALT file is (I am using a short version sample here):</b><br><br>$ Child, Examiner<br>+ Language: English<br>- 0:00<br><br>C There is a boy whose name is Tom.<br>C He likes swimming.<br><br>- 0:05<br>

<br><b>But I got the following message when converting a SALT file into CHAT format using the command line "SALTIN Tran1.slt": </b><br>> SALTIN Tran1.slt<br>saltin Tran1.slt<br>Sun Nov 04 18:39:34 2012<br>saltin (07-Sep-2012)<br>

******************************<wbr>**********<br>From file <Tran1.slt><br>** ERROR: unknown symbol <> found on 1 line.<br>** ERROR: unknown symbol <c> found on 5 line.<br>** ERROR: unknown symbol <c> found on 7 line.<br>

Output file <Tran1.sltin.cha><br><br><b>The output file looks like this:</b><br><br>@Begin<br>@Languages:    eng<br>@Time Start:    00:00<br>@Time Start:    there is a boy whose name is tom .he likes swimming .00:05<br>

@End<br><br><b>I don't understand why the errors would occur.</b><br><br><b>(b) Also, the MLU calculated by SALT is often different from that calculated by CLAN. For example,</b><br>C The dog was look/ing in the beehive and *at the mole. <b>(in SALT)</b><br>

<br><b>When I convert this to CHAT format, and use the MOR and MLU commands, it showed: </b><br>*CHI:    The dog was [% ip] looking [% mv]<br>    in the beehive and 0at [% po] the mole [% u] .<br>%mor:    det|the v|dog^n|dog v:cop|be&PAST&13S^aux|be&PAST&<wbr>13S<br>

    adj:part|look-PROG^n:gerund|<wbr>look-PROG^part|look-PROG<br>    prep|in^adv:loc|in^pfx|in det|the n|beehive coord|and 0prep|at<br>    det|the n|mole .<br><br><b>The MLU by SALT is 11, but the Ratio of morphemes over utterances = 13 (Number of: utterances = 1, morphemes = 13) by CLAN.</b><br>

<br>Apparently, the MLU result by SALT is what I want. But how could I get the same result in CLAN?<br><br>Thank you very much for your attention! Look forward to your help!<br>Sincerely,<br>Ying Lu<br>
<div><br></div>-- <br>You received this message because you are subscribed to the Google Groups "chibolts" group.<br>To post to this group, send email to <a>chib...@googlegroups.com</a>.<br>

To unsubscribe from this group, send email to <a>chibolts+u...@googlegroups.com</a><wbr>.<br>To view this discussion on the web visit <a href="https://groups.google.com/d/msg/chibolts/-/z7qY4rboSlAJ" target="_blank">https://groups.google.com/d/<wbr>msg/chibolts/-/z7qY4rboSlAJ</a>.<br>

For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>.<br> <br> <br></blockquote></div><br></div></div></div></div>
<div>
<div><div><br></div>-- <br>You received this message because you are subscribed to the Google Groups "chibolts" group.<br>To post to this group, send email to <a>chib...@googlegroups.com</a>.<br>

To unsubscribe from this group, send email to <a>chibolts+u...@googlegroups.com</a><wbr>.<br>For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>.<br>

 <br> <br></div></div></blockquote></div><br><div><br></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To post to this group, send email to <a>chib...@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a>chibolts+u...@googlegroups.com</a><wbr>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>.<br>
 <br>
 <br>
</blockquote></div><br></div></div></blockquote><div><br></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4vEUeMlCAKkJ">chib...@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4vEUeMlCAKkJ">chibolts+u...@<wbr>googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/chibolts/-/XeiXF8xIoBwJ" target="_blank">https://groups.google.com/d/<wbr>msg/chibolts/-/XeiXF8xIoBwJ</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank">https://groups.google.com/<wbr>groups/opt_out</a>.<br>
 <br>
 <br>
</blockquote></div><br></div></blockquote>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To post to this group, send email to chibolts@googlegroups.com.<br />
To unsubscribe from this group, send email to chibolts+unsubscribe@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msg/chibolts/-/W2uyUInsDVcJ">https://groups.google.com/d/msg/chibolts/-/W2uyUInsDVcJ</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
 <br />
 <br />