<div dir="ltr"><div>Thank you! That fixed my problem.</div><div><br></div><div>-Sarah<br></div><br>On Tuesday, February 25, 2020 at 10:36:09 AM UTC-5, Leonid Spektor 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;line-break:after-white-space">Sarah,<div><br></div><div><span style="white-space:pre"> </span>In this case the problem is that GEM does not copy @Languages: header to its output. Add option +t@ or +t@Languages to GEM command.<br><div>
<br><br>Leonid.

</div>
<div><br><blockquote type="cite"><div>On Feb 25, 2020, at 07:44, Sarah Surrain <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="7jnwI4EoBAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">sarahs...@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div>Dear Leonid,</div><div><br></div><div>My apologies for the typo! The languages header I used was</div><div><br></div><div>@Languages:    spa, eng</div><div><br></div><div>-Sarah<br></div><br>On Monday, February 24, 2020 at 10:08:07 PM UTC-5, Leonid Spektor 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;line-break:after-white-space">Sarah,<div><br></div><div><span style="white-space:pre">    </span>English language code is three letters as all other language codes are. For English the code is "eng".<br><div>
<br><br>Leonid.

</div>
<div><br><blockquote type="cite"><div>On Feb 24, 2020, at 20:18, Sarah Surrain <<a rel="nofollow">sarahs...@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hello,<br><br>I am working with Spanish-English bilingual data from parent-child dyads. In the header, I have specified the languages as <br>@Languages:    spa, en<br>and I have used [- eng] precodes for English utterances and @s tags on English words embedded in Spanish utterances.<br><br>I would like to use gem markers to segment the transcripts by activity (such as book reading) and then run a freq command to count the number of tokens in Spanish and English used by the parent and child during that activity.<br><br>I used this command to retrieve only the book reading activities and create new CHAT files with headers:<br>gem +sbook +d1 +f *.cha<br><br>Then I tried these commands on the output to create an Excel file with the types, tokens, TTR and MATTR for each language:<br>freq +l +s*@s:eng +d3 +b10 *.cha<br>freq +l +s*@s:spa +d3 +b10 *.cha<br><br>However, I am getting these errors: <br>Language "eng" is not defined on "@Languages:" header tier.<br>and<br>Illegal use of "@s", no alternative language in position 1 defined on @Language: tier.<br><br>I can fix this by manually pasting the @Languages line into the header in the new file that I created using the gem command. Is there a way to automatically create CHAT files using the gem command that retain the @Languages line?<br><br>(I also tried the gemfreq command (gemfreq +sbook +l +s*@s:eng +d3 +b10 *.cha) but I wasn't able to create an excel worksheet with the types, tokens, etc for each participant. I got the error: The only +d levels allowed are 0–1).<br><br>Thank you!<br><br><div>Sarah Surrain <span style="font-family:sans-serif;font-size:inherit;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important"><br></span></div><div><span style="font-family:sans-serif;font-size:inherit;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important"><br></span></div>Sarah Surrain, Ed.M.<br>Ph.D. Candidate<br>Harvard University FAS | GSE<br><a href="https://scholar.harvard.edu/sarahsurrain" rel="nofollow" target="_blank" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fscholar.harvard.edu%2Fsarahsurrain\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNENRn0u5wRdEza-43e4y1_xDAlxKg';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fscholar.harvard.edu%2Fsarahsurrain\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNENRn0u5wRdEza-43e4y1_xDAlxKg';return true;">https://scholar.harvard.edu/<wbr>sarahsurrain</a><br></div><div><br></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a rel="nofollow">chib...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/11b1fe6c-0bf5-421f-98b1-2e76aeaa71bd%40googlegroups.com?utm_medium=email&utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href='https://groups.google.com/d/msgid/chibolts/11b1fe6c-0bf5-421f-98b1-2e76aeaa71bd%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/chibolts/11b1fe6c-0bf5-421f-98b1-2e76aeaa71bd%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/chibolts/11b1fe6c-0bf5-<wbr>421f-98b1-2e76aeaa71bd%<wbr>40googlegroups.com</a>.<br>
</div></blockquote></div><br></div></div></blockquote></div><div><br></div>

-- <br>
You received this message because you are subscribed to the Google Groups "chibolts" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="7jnwI4EoBAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chib...@<wbr>googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/0bbdad80-63d5-43dd-9c4e-ec7560b1fdb6%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/chibolts/0bbdad80-63d5-43dd-9c4e-ec7560b1fdb6%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/chibolts/0bbdad80-63d5-43dd-9c4e-ec7560b1fdb6%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/chibolts/0bbdad80-63d5-<wbr>43dd-9c4e-ec7560b1fdb6%<wbr>40googlegroups.com</a>.<br>
</div></blockquote></div><br></div></div></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "chibolts" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com">chibolts+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/0cd33070-db86-44bd-b3ab-24e686ea0205%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/0cd33070-db86-44bd-b3ab-24e686ea0205%40googlegroups.com</a>.<br />