<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="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;"><br></span></div><div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: sans-serif; font-size: medium; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;"><br></span></div>Sarah Surrain, Ed.M.<br>Ph.D. Candidate<br>Harvard University FAS | GSE<br><a href="https://scholar.harvard.edu/sarahsurrain">https://scholar.harvard.edu/sarahsurrain</a><br></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/11b1fe6c-0bf5-421f-98b1-2e76aeaa71bd%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/11b1fe6c-0bf5-421f-98b1-2e76aeaa71bd%40googlegroups.com</a>.<br />