Revision: 19766
          http://sourceforge.net/p/gate/code/19766
Author:   dgmaynard
Date:     2016-11-21 19:14:50 +0000 (Mon, 21 Nov 2016)
Log Message:
-----------
added an extra annotation UserMention that actually covers the @ as well as the 
UuserID, which is far more useful

Modified Paths:
--------------
    gate/trunk/plugins/Twitter/resources/tokeniser/twitter.jape

Modified: gate/trunk/plugins/Twitter/resources/tokeniser/twitter.jape
===================================================================
--- gate/trunk/plugins/Twitter/resources/tokeniser/twitter.jape 2016-11-21 
18:32:52 UTC (rev 19765)
+++ gate/trunk/plugins/Twitter/resources/tokeniser/twitter.jape 2016-11-21 
19:14:50 UTC (rev 19766)
@@ -199,7 +199,8 @@
    // add spanning userid annotation
    try {
     outputAS.add(start+1, end, "UserID", userid);
-   }
+    outputAS.add(start, end, "UserMention", userid);
+       }
    catch (InvalidOffsetException e) {
     e.printStackTrace();
    }

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


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to