<div dir="ltr">Hi Leonid,<div><br></div><div>Thank you for the clarification and the additional code for the lemmas! That should work for us. </div><div><br></div><div>Janet</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018 at 9:02 PM Leonid Spektor <<a href="mailto:spektor@andrew.cmu.edu">spektor@andrew.cmu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Janet,<div><br></div><div><span class="m_9212261613357959706Apple-tab-span" style="white-space:pre-wrap">  </span>The problem with your '+s”[- eng]” +<a href="mailto:s@english.cut" target="_blank">s@english.cut</a>' command is that the +s”[- eng]” option tell FREQ to only look on utterances that have "[- eng]" pre-code. So if words from "english.cut" file are not present on utterances with "[- eng]" pre-code, then those word will not be found.</div><div><br></div><div>The command "freq +u +o3 +f +l +s*@s:eng" is the right choice. If you want lemmas, then you need to add "+sm;*,o% +d7" options. Try command:</div><div><br></div><div><font color="#0433ff">freq +u +o3 +f +l +sm;*,o% +s*@s:eng +d7</font></div><div><br></div><div>If this doesn't work, then please email to me directly some sample file of your data to see what FREQ has to work with.</div><div><div>
<br><br>Leonid.

</div>
<div><br><blockquote type="cite"><div>On Dec 13, 2018, at 19:40, Janet Bang <<a href="mailto:jbang@stanford.edu" target="_blank">jbang@stanford.edu</a>> wrote:</div><br class="m_9212261613357959706Apple-interchange-newline"><div><div id="m_9212261613357959706divtagdefaultwrapper" dir="ltr" style="font-size:12pt;font-style:normal;font-variant-caps: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;font-family:Calibri,Helvetica,sans-serif"><div style="margin-top:0px;margin-bottom:0px">Hello,</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">We have questions about how to use cut files with freq. </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">We have a list of words we want to exclude from our freq count, and other times include in our freq count. </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">When we exclude, our command is the following below. With this command we would like a count of lemmas on the %mor line,<span class="m_9212261613357959706Apple-converted-space"> </span><span style="font-family:"Calibri Light",sans-serif;font-size:12pt">excluding utterances with the english precode, and excluding a list of additional english words in our cut file. This code appears to work fine on our test files.</span></div><div><br></div><p style="margin-top:0px;margin-bottom:0px"></p><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif">freq +f +u +o3 +sm;*,o% -s”[- eng]” -<a href="mailto:s@english.cut" target="_blank">s@english.cut</a><span class="m_9212261613357959706Apple-converted-space"> </span>@</span><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">english.cut file set up:</div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif">co|please</span></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif">co|thank_you</span></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">However, in another command we would like to get a freq count on lemmas for only those utterances with [- eng]  AND including the same words in the cut file (This would give us a count of all english words in the file, those in english-only utterances and single words). We've tried the following command, but this only provides lemmas on the [- eng] lines and does not include the words in the cut file. </div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-family:"Calibri Light",sans-serif;font-size:16px">freq +f +u +o3 +sm;*,o% +s”[- eng]” +<a href="mailto:s@english.cut" target="_blank">s@</a></span><span style="font-family:"Calibri Light",sans-serif;font-size:16px"><a href="mailto:s@english.cut" target="_blank">english.cut</a><span class="m_9212261613357959706Apple-converted-space"> </span>@</span></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">Does the command or cut file need to written differently if I want to now include those words in my freq count? We know that another option could be to tag all the words in the cut file with an @s and use the following command below, but w<span style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">e were trying out other possibilities.</span></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:12pt;font-family:"Calibri Light",sans-serif;background-color:rgb(255,255,255);background-position:initial initial;background-repeat:initial initial">freq +u +o3 +f +l +s*@s:eng @</span><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">Thank you in advance,</div><div style="margin-top:0px;margin-bottom:0px">Janet</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div id="m_9212261613357959706Signature"><div id="m_9212261613357959706divtagdefaultwrapper" dir="ltr" style="font-size:12pt;font-family:Calibri,Helvetica,sans-serif"><div style="margin-top:0px;margin-bottom:0px">--</div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Janet Y. Bang, Ph.D.</span></div><span style="font-size:10pt"></span><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Postdoctoral Fellow</span></div><span style="font-size:10pt"></span><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Department of </span><span style="font-size:10pt">Psychology</span></div><span style="font-size:10pt"></span><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Stanford University</span></div><span style="font-size:10pt"></span><div style="margin-top:0px;margin-bottom:0px"><br><span style="font-size:10pt"></span></div><span style="font-size:10pt"></span><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt"><a href="mailto:jbang@stanford.edu" target="_blank">jbang@stanford.edu</a></span></div><p style="margin-top:0px;margin-bottom:0px"></p><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px"><br></div></div></div></div><p style="margin-top:0px;margin-bottom:0px;font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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"></p><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">--<span class="m_9212261613357959706Apple-converted-space"> </span></span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">You received this message because you are subscribed to the Google Groups "chibolts" group.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">To unsubscribe from this group and stop receiving emails from it, send an email to<span class="m_9212261613357959706Apple-converted-space"> </span></span><a href="mailto:chibolts+unsubscribe@googlegroups.com" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">chibolts+unsubscribe@googlegroups.com</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">To post to this group, send email to<span class="m_9212261613357959706Apple-converted-space"> </span></span><a href="mailto:chibolts@googlegroups.com" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">chibolts@googlegroups.com</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">To view this discussion on the web visit<span class="m_9212261613357959706Apple-converted-space"> </span></span><a href="https://groups.google.com/d/msgid/chibolts/DM5PR02MB3275036A05A1DD8F6818C4AAD7A10%40DM5PR02MB3275.namprd02.prod.outlook.com?utm_medium=email&utm_source=footer" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://groups.google.com/d/msgid/chibolts/DM5PR02MB3275036A05A1DD8F6818C4AAD7A10%40DM5PR02MB3275.namprd02.prod.outlook.com</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">.</span><br style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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"><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">For more options, visit<span class="m_9212261613357959706Apple-converted-space"> </span></span><a href="https://groups.google.com/d/optout" style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">https://groups.google.com/d/optout</a><span style="font-family:ArialMT;font-size:16px;font-style:normal;font-variant-caps: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">.</span></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 post to this group, send email to <a href="mailto:chibolts@googlegroups.com" target="_blank">chibolts@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/BCBB2448-E3DD-4D5A-A4D5-2E428D7761A1%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/chibolts/BCBB2448-E3DD-4D5A-A4D5-2E428D7761A1%40andrew.cmu.edu</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</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 post to this group, send email to <a href="mailto:chibolts@googlegroups.com">chibolts@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CAC5V4hjK4g%2BtRWgoGjMrXxNhvrxpEBMzheNd64k8GyQCmGbs-g%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAC5V4hjK4g%2BtRWgoGjMrXxNhvrxpEBMzheNd64k8GyQCmGbs-g%40mail.gmail.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />