On Tuesday, August 6, 2013, Spektor, Leonid: CMU wrote:
...
>> the two negative search patterns above will technically match
>> virtually all utterances.
Thanks. I realize negative matching can be hard to reason about but I
just want to make sure it's clear that the behavior I'm observing is
combo running forever with no output beyond start-up. It needs to be
stopped manually by sending a keyboard interrupt/killing the
process/force-quitting. After some inspection with a debugger I
discovered that it gets stuck endlessly checking for matches on a
single utterance, and I posted output from combo's built-in debugging
statements in my original post demonstrating this.
When I said I realized I could use kwal instead of combo, I meant for
the simpler '!xxx' search. I can use
kwal ... -s'xxx' ...
to exclude 'xxx'. However, it's unclear to me what to do about the
+s'!*:wh|*^!*?'
(exclude utterances that contain a wh-tagged word and end with a
question mark)
search since combo doesn't seem to support -s for negative matching
(-s is accepted but appears to behave identically to +s), and kwal
doesn't accept pattern-matching syntax (right?).
Any advice?
paul