Revision: 17829
http://sourceforge.net/p/gate/code/17829
Author: markagreenwood
Date: 2014-04-14 15:39:44 +0000 (Mon, 14 Apr 2014)
Log Message:
-----------
added mine as well
Modified Paths:
--------------
gate/trunk/src/main/gate/creole/coref/PronominalCoref.java
Modified: gate/trunk/src/main/gate/creole/coref/PronominalCoref.java
===================================================================
--- gate/trunk/src/main/gate/creole/coref/PronominalCoref.java 2014-04-14
15:30:29 UTC (rev 17828)
+++ gate/trunk/src/main/gate/creole/coref/PronominalCoref.java 2014-04-14
15:39:44 UTC (rev 17829)
@@ -343,8 +343,9 @@
else if (strPronoun.equalsIgnoreCase("I") ||
strPronoun.equalsIgnoreCase("ME") ||
strPronoun.equalsIgnoreCase("MY") ||
+ strPronoun.equalsIgnoreCase("MINE") ||
strPronoun.equalsIgnoreCase("MYSELF")) {
- return _resolve$I$ME$MY$MYSELF$(currPronoun,prnSentIndex);
+ return _resolve$I$ME$MY$MINE$MYSELF$(currPronoun,prnSentIndex);
}
else {
if (DEBUG) {
@@ -562,7 +563,7 @@
/** --- */
- private Annotation _resolve$I$ME$MY$MYSELF$(Annotation pronoun, int
sentenceIndex) {
+ private Annotation _resolve$I$ME$MY$MINE$MYSELF$(Annotation pronoun, int
sentenceIndex) {
//0. preconditions
assert (pronoun.getType().equals(TOKEN_ANNOTATION_TYPE));
@@ -572,6 +573,7 @@
assert (pronounString.equalsIgnoreCase("I") ||
pronounString.equalsIgnoreCase("MY") ||
pronounString.equalsIgnoreCase("ME") ||
+ pronounString.equalsIgnoreCase("MINE") ||
pronounString.equalsIgnoreCase("MYSELF"));
//0.5 sanity check
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs