<div dir="ltr"><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Leonid and Brian,</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt">Thank you very much! Because we exclude both partial and
whole utterances, the [e] will work best for us. I was able to batch update [% g] to
[e] easily with </span>chstring<span style="font-size:11pt"> +w +cCODEchange.cut, and now the MATTR results only
include the language we’re interested in.</span><br></p>
<p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Much appreciated!!</p><p class="MsoNormal" style="margin:0in 0in 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Amanda</p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 7, 2022 at 1:44 PM Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu">spektor@andrew.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Amanda,<div><br></div><div><span style="white-space:pre-wrap"> </span>One more suggestion is if you always want to exclude only whole utterances from MATTR computation, then Brians suggestion of adding [+ exc] post-code to end of utterance will do the job. For MATTR computation you would use -s"[+ exc]" option to tell FREQ to exclude all utterances with "[+ exc]" post-code. This way you need to have just one copy of the data. If you want to exclude just specific word(s) on utterances from MATTR, then "[+ exc]" post-code will not work.</div><div><div>
<div style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Leonid.</div>
</div>
<div><br><blockquote type="cite"><div>On Dec 7, 2022, at 13:11, Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu" target="_blank">spektor@andrew.cmu.edu</a>> wrote:</div><br><div><div>Amanda,<div><br></div><div><span style="white-space:pre-wrap"> </span>The < > [% g] does not effect the creation of %mor tier. I would suggest you replace it with < > [e]. This will prevent words surrounded by [e] from being placed on %mor tier and your FREQ MATTR command will work the way you want. Of course, this will create other problems for other analyses if words within [e] need to be analyzed by MLU or KIDEVAL or other commands. You might need to have two copies of your data. One for MATTR analyses and other data without [e] for other analyses.</div><div><div>
<div style="font-family:Arial;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br><br></div><div style="font-family:Arial;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">Leonid.</div>
</div>
<div><br><blockquote type="cite"><div>On Dec 7, 2022, at 10:32, Amanda Huensch <<a href="mailto:amandahuensch@gmail.com" target="_blank">amandahuensch@gmail.com</a>> wrote:</div><br><div><p>Hello,</p><p>I am attempting to get MATTR values from the MOR line of
transcripts in which we have coded speech to be ignored using < > [% g] as
in the following:</p><p>*151: <vale> [% g] . </p><p>*151: esta es un [//] una historia
acerca de dos hermanos, Gustavo y</p><p> Jorge [^c] . </p><p>*151: <&um Jorge es el
hermano mayor &eh quien se traslado a otra ciudad</p><p> en el año dos mil
porque empezó su carrera universitaria> [% g] . </p><p>*151: &ehm cuando salió Jorge
[^c] Gustavo se sentía muy solo [^c] porque</p><p> antes ju(gaba) [/]
jugaba siempre con Jorge [^c] .</p><div> <br></div><p>I can use this command freq @ +t*1* +t%mor +b10 +sm;*,o%
-sm|neo +d3 which outputs MATTR but realized it includes the < > [% g] coded
text. </p><p>I tried using the switch -s"<% g>" which
works with a simple FREQ command as follows but received the same
Type/Token/MATTR values as when I ran the above command.</p><p>freq @ +t*1* -s"<% g>" +t%mor +b10 +sm;*,o%
-sm|neo +d3</p><p>I also tried using the -s"<% g>" switch during
the MOR step (mor -s"<% g>"+t*1* @) but received a message to
only use language codes with the -s option. </p><p>Is there a way to ignore the < > [% g] coded text when
running MOR? Or if not, is there a way to ignore the < > [% g] coded text
when calculating MATTR with the FREQ command?</p><p>Thank you for your help!</p><p>Amanda</p><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="mailto:chibolts+unsubscribe@googlegroups.com" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/969d97ab-b817-4228-852c-1e3906a123f4n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/969d97ab-b817-4228-852c-1e3906a123f4n%40googlegroups.com</a>.<br>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div></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" target="_blank">chibolts+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/17A20A92-41C4-483C-BC3A-F714564DE6F1%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/17A20A92-41C4-483C-BC3A-F714564DE6F1%40andrew.cmu.edu</a>.<br>
</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/CAJhUt7Zrtmj-2p4iCvaEX7xyD%2BUfYUF3z4kcazD%3D%3D_r4eABqGw%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAJhUt7Zrtmj-2p4iCvaEX7xyD%2BUfYUF3z4kcazD%3D%3D_r4eABqGw%40mail.gmail.com</a>.<br />