<div dir="ltr">Fantastic. I think the <span style="font-family:"Arial Unicode MS";font-size:12.8px">freq -s"<**>" -s"<: *>" +sfairy +sCinderella +sstairs Content_Tester.cha is what I want!</span><div><span style="font-family:"Arial Unicode MS";font-size:12.8px"><br></span></div><div><span style="font-family:"Arial Unicode MS";font-size:12.8px">Brie</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 14, 2017 at 9:08 AM, Leonid Spektor <span dir="ltr"><<a href="mailto:spektor@andrew.cmu.edu" target="_blank">spektor@andrew.cmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Besides the command lines that I gave you in my previous email, the other solution is to use "furry [:: fairy]" coding. Notice two ':' characters instead of one. This code will tell MOR command to put the word "furry" on %mor tier instead of the word "fairy". This solution only works if the actual word spoken by a subject is a real word. Otherwise, you will get "?|..." on %mor tier meaning that the word is not recognized. Also, this solution will not ignore the error word as you seem to want to do.<div><br></div><div>The question is whether you want to simply ignore the [: target] error word, like word "fairy", or do you want to ignore any erroneously spoken words altogether, like the whole "furry [:: fairy]" structure.</div><div><br></div><div>If you want to ignore the whole erroneously spoken word, then you need to use one the command lines below depending on whether you want words from speaker tier or lemmas from %mor tier:</div><div><br></div><div>freq -sm** -sm@* +sm;fairy +sm;Cinderella +sm;stair Content_Tester.cha</div><div><br></div><div><div style="margin:0px;line-height:normal;font-family:'Arial Unicode MS'">freq -s"<**>" -s"<: *>" +sfairy +sCinderella +sstairs Content_Tester.cha</div></div><div><div>
<div style="color:rgb(0,0,0);font-family:'Lucida Grande';font-size:12px;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"><br class="m_-1298529338154529417Apple-interchange-newline"><br></div><div style="color:rgb(0,0,0);font-family:'Lucida Grande';font-size:12px;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">Leonid.</div>

</div>
<br><div><blockquote type="cite"><div><div class="h5"><div>On Sep 14, 2017, at 07:28, Brielle Stark <<a href="mailto:brielle.stark@gmail.com" target="_blank">brielle.stark@gmail.com</a>> wrote:</div><br class="m_-1298529338154529417Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="auto">Yes, so I suppose what I am asking is whether there is something that can tell the mor command to be computed ignoring the [: target] errors? This is the only way I can think of solving my question.<div dir="auto">Thanks,</div><div dir="auto">Brie</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 13, 2017 16:51, "Leonid Spektor" <<a href="mailto:spektor@andrew.cmu.edu" target="_blank">spektor@andrew.cmu.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Brie,<div><br></div><div><span class="m_-1298529338154529417m_-4801907195631237061Apple-tab-span" style="white-space:pre-wrap">     </span>The answer depends on whether you are interested in words on speaker tier or lemmas on %mor tier. Your command lines ask for both. I have changed you sample file "Content_Tester.cha" by adding word "fairy" that is not an error or a replacement, so you should get 1 "fairy" count in the output of the following two command lines:</div><div><br></div><div>For "fairy" lemmas, except errors and target replacement, you want:</div><div><br></div><div>freq -sm** -sm@* +sm;fairy Content_Tester.cha<br><div><br class="m_-1298529338154529417m_-4801907195631237061webkit-block-placeholder"></div><div>
<div style="font-family:'Lucida Grande';font-size:12px;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">For "fairy" words on speaker tier, except errors and target replacement, you want:</div><div style="font-family:'Lucida Grande';font-size:12px;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"><br></div><div style="text-align:start;text-indent:0px">freq -s<**> -s<:*> +sfairy Content_Tester.cha</div><div style="text-align:start;text-indent:0px"><br class="m_-1298529338154529417m_-4801907195631237061Apple-interchange-newline"><br></div><div style="font-family:'Lucida Grande';font-size:12px;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">Leonid.</div><div style="font-family:'Lucida Grande';font-size:12px;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"><br></div><div style="font-family:'Lucida Grande';font-size:12px;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"></div></div></div></div><div><br class="m_-1298529338154529417webkit-block-placeholder"></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@googlegro<wbr>ups.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/ADD234CB-2730-4C0E-929D-7A8BABA3DFD4%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/ms<wbr>gid/chibolts/ADD234CB-2730-4C0<wbr>E-929D-7A8BABA3DFD4%40andrew.<wbr>cmu.edu</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
<br><div style="word-wrap:break-word"><div><div><div style="font-family:'Lucida Grande';font-size:12px;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"></div><div style="font-family:'Lucida Grande';font-size:12px;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"><br></div>

</div>
<br><div><blockquote type="cite"><div>On Sep 13, 2017, at 13:49, Brielle Stark <<a href="mailto:brielle.stark@gmail.com" target="_blank">brielle.stark@gmail.com</a>> wrote:</div><br class="m_-1298529338154529417m_-2618144818571945619Apple-interchange-newline"><div><div dir="ltr">Hello all.<div><br></div><div>I have a question about calculating word frequency. We're working with aphasia participants who will often make mistakes, and when they do make mistakes, we'll put in the intended word into [: target] if we know what the intention was. However, I do not want to count [: target] words in the frequency tally of words. Basically, if someone said furry [: fairy] in one instance, and I am looking for a frequency count of the correctly spoken 'fairy,' I want the frequency calculation for 'fairy' to be 0, thus ignoring the word in the target. Further, I'd also like to run for lemmas and not morphological changes. In other words, if I'm looking for "stair," I want 'stairs' to be counted in the frequency of 'stair' usage.</div><div><br></div><div><i>Detail:</i><br><div><br></div><div>When I run the command:</div><br><i>freq </i><i>-sm** -sm@* </i><i>+sCinderella +sstair +sfairy</i></div><div><br>on the attached transcript [completely made up, by the way], it evaluates the %mor line but doesn't ignore the target [: target] words like I thought it would. It does do the correct job in tagging 'stair' even though the participant said 'stairs,' a correct usage from the %mor line. Output of frequency for this command was:<div>Cinderella: 1</div><div>stair: 1</div><div>fairy: 1</div><div><br></div><div>However, as I said, I wouldn't want the incorrect furry [: fairy] to count. So, I tried:<br><br><i>freq -sm** -sm@* +t*PAR +sCinderella +sstair +sfairy</i><div><br></div><div>Now that I've told CLAN to stick to the speaker tier, it then ignores 'stair' because 'stairs' was written, which isn't what we were going for. However, it correctly does not look within the [: target] and correctly states that 'fairy' was said 0 times. As an added point, I've also found that when I run the above command on transcripts, it sometimes gets the counts incorrect. For this command, I get the count:</div></div><div>Cinderella: 1</div><div>stair: 0</div><div>fairy: 0</div><div><br></div><div>So basically, is there any way to tell CLAN to run the analysis on the %mor tier for frequencies of words [specifically, lemmas], but somehow to specify to ignore [: target] words on the speaker tier? </div><div><br></div><div>In an ideal world, from the attached transcript, I'd be getting the frequency counts as:</div><div>Cinderella: 1</div><div>stair: 1</div><div>fairy: 0</div><div><br></div><div>Thank you very much,<br></div><div><br></div><div>Brie</div><div><br></div>-- <br><div class="m_-1298529338154529417m_-2618144818571945619gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><font face="georgia, serif"><i>Brielle Stark, PhD</i></font></div><div dir="ltr"><font face="garamond, serif" color="#666666">Post Doctoral Fellow in Communication Sciences and Disorders, University of South Carolina<br>t: <a href="tel:(803)%20777-9240" value="+18037779240" target="_blank">+1 803-777-9240</a>, </font><font face="garamond, serif" style="color:rgb(102,102,102)">alternate em</font><font face="garamond, serif" size="2" style="color:rgb(102,102,102)">ail: <a href="mailto:stark2@mailbox.sc.edu" target="_blank">stark2@mailbox.sc.edu</a></font></div></div><div><div><font face="garamond, serif" color="#666666" size="2">Aphasia Lab: <a href="http://web.asph.sc.edu/aphasia/" target="_blank">http://web.asph.sc.edu/ap<wbr>hasia/</a><br>Center for the Study of Aphasia Recovery: <a href="http://web.asph.sc.edu/cstar/" target="_blank">http://web.asph.sc.e<wbr>du/cstar/</a></font></div></div></div></div></div></div></div></div>
</div></div><div><br class="m_-1298529338154529417m_-2618144818571945619webkit-block-placeholder"></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@googlegro<wbr>ups.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/CAEs2yToSuaOv1de5DWc4CS3h6HR7YEdgUYm0SQ1oxBDC1%2BRcFg%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/ms<wbr>gid/chibolts/CAEs2yToSuaOv1de5<wbr>DWc4CS3h6HR7YEdgUYm0SQ1oxBDC1%<wbr>2BRcFg%40mail.gmail.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br><br></div></blockquote></div><br></div></div><div><br class="m_-1298529338154529417webkit-block-placeholder"></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@googlegro<wbr>ups.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/ADD234CB-2730-4C0E-929D-7A8BABA3DFD4%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/ms<wbr>gid/chibolts/ADD234CB-2730-4C0<wbr>E-929D-7A8BABA3DFD4%40andrew.<wbr>cmu.edu</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/op<wbr>tout</a>.<br>
<br></blockquote></div></div><div><br class="m_-1298529338154529417webkit-block-placeholder"></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@<wbr>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></div></div>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/CAEs2yTotEPoM08YkA27DFP5aP%2BZ9h75CpJrZ3Cy0c%3DH_ax%3Dc3Q%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/<wbr>msgid/chibolts/<wbr>CAEs2yTotEPoM08YkA27DFP5aP%<wbr>2BZ9h75CpJrZ3Cy0c%3DH_ax%<wbr>3Dc3Q%40mail.gmail.com</a>.<span class=""><br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<wbr>optout</a>.<br>
</span></div></blockquote></div><br></div></div><span class="">

<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@<wbr>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></span>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/F0BB1B4B-827F-4F99-A3A4-CADE2CE807DF%40andrew.cmu.edu?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/<wbr>msgid/chibolts/F0BB1B4B-827F-<wbr>4F99-A3A4-CADE2CE807DF%<wbr>40andrew.cmu.edu</a>.<div class="HOEnZb"><div class="h5"><br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><font face="georgia, serif" color="#000000"><i>Brielle Stark, PhD</i></font></div><div dir="ltr"><font face="garamond, serif" color="#666666">Post Doctoral Fellow in Communication Sciences and Disorders, University of South Carolina<br>t: +1 803-777-9240, </font><font face="garamond, serif" style="color:rgb(102,102,102)">alternate em</font><font face="garamond, serif" size="2" style="color:rgb(102,102,102)">ail: <a href="mailto:stark2@mailbox.sc.edu" target="_blank">stark2@mailbox.sc.edu</a></font></div></div><div><div><font face="garamond, serif" color="#666666" size="2">Aphasia Lab: <a href="http://web.asph.sc.edu/aphasia/" target="_blank">http://web.asph.sc.edu/aphasia/</a><br>Center for the Study of Aphasia Recovery: <a href="http://web.asph.sc.edu/cstar/" target="_blank">http://web.asph.sc.edu/cstar/</a></font></div></div></div></div></div></div></div></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">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/CAEs2yTru%2BrJ5DjPT%3DJArimfae0iNqvcNvfYq8k5Qm8rQKKbGGw%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/CAEs2yTru%2BrJ5DjPT%3DJArimfae0iNqvcNvfYq8k5Qm8rQKKbGGw%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 />