<div dir="ltr">Leonid, thank you very much for your response. I was wondering what is the use of  "\" within "trim -s"[+ \**]"" ?<div><br></div><div>Li<br><br>On Thursday, June 28, 2018 at 12:37:50 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">Li,<div><br></div><div><span style="white-space:pre">      </span>1. The codes like [*] or [* aux] refer to the word before them. If you want your codes refer to the whole utterance, then they need to start with "[+ ". You can change your codes to [+ *], [+ *aux], [+ *wh], then trim those utterances with command: trim -s"[+ \**]". </div><div><br></div><div>2. If you used the latest MOR grammar on your data, then you can comprehensive command option for all verbs is: +sm|v,|cop,|aux,|mod,|mod:<wbr>*,|part<br><div>
<div style="color:rgb(0,0,0);font-family:'Lucida Grande';font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><br></div><div style="color:rgb(0,0,0);font-family:'Lucida Grande';font-size:12px;font-style: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>
<div><br><blockquote type="cite"><div>On Jun 28, 2018, at 12:48, Li Zeng <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="kDOsFDSxAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">zlmai...@163.com</a>> wrote:</div><br><div><div dir="ltr">Hi there, <div><br></div><div>I encounter some problems with extracting utterances/ verbs  in CHAT files. </div><div><br></div><div>Firstly, I have tagged ungrammatical utterances of *CHI with either [*], [* aux] or [* wh]. Now I wanna calculate the number of utterances without those tags([*], [* aux], [* wh] as well as those containing www, yyy.  I tried using the following command:  trim -s"[*_ ]" +1 , only to find it turns out to be unsuccessful.</div><div><br></div><div>Secondly, I would like to extract all the verbs of CHI* (including copulers, modals, auxiliaries as well as regular verbs ) in the file. I find out that at%mor, "walking" is coded not as a verb but as "PART |" . In that case, I guess I need to  also include "PART|"  , right?  I was wondering what might be the comprehensive command to be used to extract all the verbs mentioned above?</div><div><br></div><div>Thank you. </div><div><br></div><div>Li </div><div><br></div></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="kDOsFDSxAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chibolts+u...@<wbr>googlegroups.com</a>.<br>
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="kDOsFDSxAAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">chib...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/addb310b-f4ed-497a-bd48-e1f91c045f53%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/chibolts/addb310b-f4ed-497a-bd48-e1f91c045f53%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/chibolts/addb310b-f4ed-497a-bd48-e1f91c045f53%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/chibolts/addb310b-f4ed-<wbr>497a-bd48-e1f91c045f53%<wbr>40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.<br>
</div></blockquote></div><br></div></div></blockquote></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/2e04f306-9f2c-4e2c-a36a-ae9c15ead2f7%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/2e04f306-9f2c-4e2c-a36a-ae9c15ead2f7%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />