<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">In searches the "*" character is used as a wildcard to specify that you want to match zero or more characters. Because error codes have "*" character in them you want to tell CLAN that in this case you are looking for the actual "*" character and not wildcard. The "\" character means that the following character is literal character and not a wildcard, so "\**" means that you want for find a "*" character followed by any zero or more characters. This will let you match [*] and [* aux]. CLAN searches have three wildcard character: *, % and _ .<br class=""><div class="">
<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; 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;"><br class="Apple-interchange-newline"><br class=""></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; 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;">Leonid.</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Jun 29, 2018, at 01:06, Li Zeng <<a href="mailto:zlmailhouse@163.com" class="">zlmailhouse@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Leonid, thank you very much for your response. I was wondering what is the use of "\" within "trim -s"[+ \**]"" ?<div class=""><br class=""></div><div class="">Li<br class=""><br class="">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" class="">Li,<div class=""><br class=""></div><div class=""><span style="white-space:pre" class=""> </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 class=""><br class=""></div><div class="">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 class="">*,|part<br class=""><div class="">
<div style="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;" class=""><br class=""><br class=""></div><div style="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;" class="">Leonid.</div>
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">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;" class="">zlmai...@163.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi there, <div class=""><br class=""></div><div class="">I encounter some problems with extracting utterances/ verbs in CHAT files. </div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Thank you. </div><div class=""><br class=""></div><div class="">Li </div><div class=""><br class=""></div></div><div class=""><br class=""></div>
-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
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;" class="">chibolts+u...@<wbr class="">googlegroups.com</a>.<br class="">
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;" class="">chib...@googlegroups.com</a>.<br class="">
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;" class="">https://groups.google.com/d/<wbr class="">msgid/chibolts/addb310b-f4ed-<wbr class="">497a-bd48-e1f91c045f53%<wbr class="">40googlegroups.com</a>.<br class="">
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;" class="">https://groups.google.com/d/<wbr class="">optout</a>.<br class="">
</div></blockquote></div><br class=""></div></div></blockquote></div></div><div class=""><br class="webkit-block-placeholder"></div>
-- <br class="">
You received this message because you are subscribed to the Google Groups "chibolts" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:chibolts+unsubscribe@googlegroups.com" class="">chibolts+unsubscribe@googlegroups.com</a>.<br class="">
To post to this group, send email to <a href="mailto:chibolts@googlegroups.com" class="">chibolts@googlegroups.com</a>.<br class="">
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" class="">https://groups.google.com/d/msgid/chibolts/2e04f306-9f2c-4e2c-a36a-ae9c15ead2f7%40googlegroups.com</a>.<br class="">
For more options, visit <a href="https://groups.google.com/d/optout" class="">https://groups.google.com/d/optout</a>.<br class="">
</div></blockquote></div><br class=""></body></html>
<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/4AD82A51-75BE-43B5-AB13-70287D2376A8%40andrew.cmu.edu?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/chibolts/4AD82A51-75BE-43B5-AB13-70287D2376A8%40andrew.cmu.edu</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />