[Corpora-List] Stupid tgrep problem: negation not working

Francis Tyers ftyers at prompsit.com
Thu Nov 13 16:55:31 UTC 2008


El jue, 13-11-2008 a las 09:47 -0700, Kevin B. Cohen escribió:
> List members,
> 
> I am having a dumb tgrep problem that I'm hoping someone else might
> have run into.  I'm trying to specify 'does not (immediately)
> dominate.'  However, I keep getting messages saying "Event not found"
> with respect to the dominance or immediate dominance operator.
> 
> If I don't negate the dominance/immediate dominance operator,
> everything is fine.  Thus:
> 
> 
> babel>tgrep 'ADJP < CC' | more
> 
> 
> (ADJP (VBG increasing)
>       (CC and)
>       (VBG diversifying))
> 
> (ADJP (RB so)
>       (JJ fragile)
>       (CC and)
>       (JJ minute))
> 
> But:
> 
> 
> babel>tgrep 'ADJP !< CC' | more
> <: Event not found
> 
> I've tried this with single quotes and double quotes--no difference.
> I've also tried it with the precedence operator--same pattern.

Try doing:

$ tgrep 'ADJP \!< CC' | more

! in bash at least is treated as "last command starting with" or
something like that. If you escape it with '\' it should work.

Fran


_______________________________________________
Corpora mailing list
Corpora at uib.no
http://mailman.uib.no/listinfo/corpora



More information about the Corpora mailing list