<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Paul,<div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>COMBO was re-writen over a year ago to find all possible matches for search pattern that have multiple OR elements, represented with "+" symbol. It also has improved mixed negative and positive complex search patterns function. However, it was never tested for all negative searches like +s'!*:wh|*^!*?' or "+s!xxx", because COMBO is searching for any match of search pattern anywhere within an utterance and the two negative search patterns above will technically match virtually all utterances. For example, the "+s!xxx" will match utterance:</div><div><br></div><div>*CHI:<span class="Apple-tab-span" style="white-space:pre"> </span>xxx .</div><div><br></div><div>because the pattern "!xxx" does not match utterance delimiter ".", which means match was a success. The only way the the pattern "!xxx" will not match utterance is if it only has "xxx" and nothing else, like this:</div><div><br></div><div><div>*CHI:<span class="Apple-tab-span" style="white-space: pre; "> </span>xxx</div></div><div><br></div><div><br></div><div>You've shown that this is not what people expect. I will try to change COMBO to be less literal, but it will take some time. In the mean time please use KWAL as you have noted that you can as an alternative.</div><div><br></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="Apple-interchange-newline">Leonid.</div><div><br></div></div></span></div></span></span></div></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Aug 5, 2013, at 21:29, paul wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I'm trying to rerun some combo searches that ran successfully a year ago but<br>haven't been used since then. I've observed identical behavior on Windows XP,<br>Ubuntu 12.04, and Arch Linux with CLAN 05-Aug-2013 and the version before it.<br><br>It seems that combo is hanging when encountering the negation operator "!" in<br>certain contexts. For example:<br><br> combo +t'*CHI' +t%mor +t%xgra +s'!*:wh|*^!*?' +d1 ~/corpora/childes/Valian/01a.cha<br><br>is intended to filter out utterances containing wh questions, although it's<br>unclear to me exactly how to parse that search string (I didn't write it).<br><br>The same thing happens on a simpler combo line like<br><br> combo @ +t'*CHI' +t%mor +t%xgra +s'!xxx' +d1 ~/corpora/childes/Valian/01a.cha<br><br>though I realize this could be rewritten with kwal.<br><br>In both cases combo never gets past<br><br> combo +t*CHI +t%mor +t%xgra +s!xxx +d1 /home/paul/corpora/childes/Valian/01a.cha<br> Mon Aug 5 20:43:10 2013<br> combo (05-Aug-2013) is conducting analyses on:<br> ONLY speaker main tiers matching: *CHI;<br> and those speakers' ONLY dependent tiers matching: %MOR; %XGRA;<br> ****************************************<br> From file <01a.cha><br><br>After poking around a little with gdb and enabling the debug print statement in<br>combo.cpp:findmatch I get<br><br> combo +t*CHI +t%mor +t%xgra +s!xxx +d1 /home/paul/corpora/childes/Valian/01a.cha<br> Mon Aug 5 20:54:54 2013<br> combo (05-Aug-2013) is conducting analyses on:<br> ONLY speaker main tiers matching: *CHI;<br> and those speakers' ONLY dependent tiers matching: %MOR; %XGRA;<br> ****************************************<br> >From file <01a.cha><br> 1; pat=xxx;wild=0;origmac->neg=1;txt=tape it up and two tape players . %mor: v|tape pro|it adv:loc|up coord|and det:num|two n|tape n|play&dv-agt-pl . %xgra: 1|4|coord 2|1|obj 3|1|jct 4|0|root 5|6|quant 6|4|coord 7|6|jct 8|4|punct <br> 1; pat=xxx;wild=0;origmac->neg=1;txt=tape it up and two tape players . %mor: v|tape pro|it adv:loc|up coord|and det:num|two n|tape n|play&dv-agt-pl . %xgra: 1|4|coord 2|1|obj 3|1|jct 4|0|root 5|6|quant 6|4|coord 7|6|jct 8|4|punct <br> 1; pat=xxx;wild=0;origmac->neg=1;txt=tape it up and two tape players . %mor: v|tape pro|it adv:loc|up coord|and det:num|two n|tape n|play&dv-agt-pl . %xgra: 1|4|coord 2|1|obj 3|1|jct 4|0|root 5|6|quant 6|4|coord 7|6|jct 8|4|punct<br> ... and so on until killing the process.<br><br>It appears that at some point in the file it stops moving across words<br>boundaries/consuming input tokens and gets stuck. Note that "tape it up and two tape players" i s not<br>the first utterance in the file.<br><br>searches like +s'!xxx^yyy' and +s'xxx^!yyy' run to completion.<br><br>Anyway, I'm not sure if this is a bug or maybe an abuse of deprecated syntax or<br>something, but any advice would be appreciated.<br><div><br class="webkit-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">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/cbdacf62-dcd5-4286-982d-c7b8ee263bcd%40googlegroups.com">https://groups.google.com/d/msgid/chibolts/cbdacf62-dcd5-4286-982d-c7b8ee263bcd%40googlegroups.com</a>.<br>
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br>
<br>
<br>
</blockquote></div><br></div></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 chibolts+unsubscribe@googlegroups.com.<br />
To post to this group, send email to chibolts@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/chibolts/DD3A1287-62CA-40A9-92F5-F10BA6C15533%40andrew.cmu.edu">https://groups.google.com/d/msgid/chibolts/DD3A1287-62CA-40A9-92F5-F10BA6C15533%40andrew.cmu.edu</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />
<br />
<br />