Revision: 19551
          http://sourceforge.net/p/gate/code/19551
Author:   dgmaynard
Date:     2016-08-30 15:13:10 +0000 (Tue, 30 Aug 2016)
Log Message:
-----------
uncovering a fiendish bug, mainly due to someone not using brackets correctly

Modified Paths:
--------------
    gate/trunk/plugins/ANNIE/resources/VP/VerbGroups.jape

Modified: gate/trunk/plugins/ANNIE/resources/VP/VerbGroups.jape
===================================================================
--- gate/trunk/plugins/ANNIE/resources/VP/VerbGroups.jape       2016-08-30 
01:23:32 UTC (rev 19550)
+++ gate/trunk/plugins/ANNIE/resources/VP/VerbGroups.jape       2016-08-30 
15:13:10 UTC (rev 19551)
@@ -27,12 +27,25 @@
 {Token.string == "would"}
 )
 
+
+Macro: CANNOT
+({Token.string == "cannot"}|
+ {Token.string == "Cannot"}|
+ ({Token.string == "can"}{Token.string == "not"})
+ )
+
+Macro: CANT
+(
+   ({Token.string == "ca"}|{Token.string == "wo"}|{Token.string == 
"Ca"}|{Token.string == "Wo"})
+   {Token.string == "n't"}
+)
+ 
 Macro: MODAL_NEG
 (
- {Token.string == "cannot"}
- )
- 
+ (CANT) | (CANNOT)
+)
 
+
 Macro: TO
 (
 ({Token.string == "to"})?
@@ -1261,9 +1274,9 @@
 // cannot walk
 
 (
-(MODAL_NEG) | ((MODALS) (NEGATION))
+((MODAL_NEG) | ((MODALS) (NEGATION)))
 (ADVS)?
-{Token.category == VB}
+ {Token.category == VB}
 ):annotate 
 -->
 :annotate.VG = {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
GATE-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to