combo hangs on negation sometimes
paul
paul.feitzinger at gmail.com
Wed Aug 7 17:11:15 UTC 2013
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
--
You received this message because you are subscribed to the Google Groups "chibolts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chibolts+unsubscribe at googlegroups.com.
To post to this group, send email to chibolts at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/chibolts/bb301a7d-057f-4d73-aa0c-a6aa5111fe6a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/chibolts/attachments/20130807/ae95bae4/attachment.htm>
More information about the Chibolts
mailing list