Revision: 17345
http://sourceforge.net/p/gate/code/17345
Author: markagreenwood
Date: 2014-02-19 16:51:38 +0000 (Wed, 19 Feb 2014)
Log Message:
-----------
I'm assuming that the changes to the gazetteer lists are sensible, the other
changes need some checking though especially as some of them appear a little odd
Modified Paths:
--------------
gate/trunk/src/test/gate/creole/gazetteer/TestGazetteer.java
Modified: gate/trunk/src/test/gate/creole/gazetteer/TestGazetteer.java
===================================================================
--- gate/trunk/src/test/gate/creole/gazetteer/TestGazetteer.java
2014-02-19 16:02:59 UTC (rev 17344)
+++ gate/trunk/src/test/gate/creole/gazetteer/TestGazetteer.java
2014-02-19 16:51:38 UTC (rev 17345)
@@ -60,7 +60,7 @@
//test with partial words
gaz.setWholeWordsOnly(false);
gaz.execute();
- assertEquals("Wrong number of annotations produced", 137, resultAS.size());
+ assertEquals("Wrong number of annotations produced", 148, resultAS.size());
gaz.setWholeWordsOnly(true);
resultAS.clear();
@@ -68,7 +68,7 @@
gaz.setLongestMatchOnly(false);
gaz.execute();
assertTrue("Found " + resultAS.size() +
- " annotations instead of the expected 70!", resultAS.size() == 70);
+ " annotations instead of the expected 69!", resultAS.size() == 69);
gaz.setLongestMatchOnly(true);
resultAS.clear();
Factory.deleteResource(gaz);
@@ -81,7 +81,7 @@
gaz.setDocument(doc);
gaz.setAnnotationSetName("GazetteerAS");
gaz.execute();
- assertEquals("Wrong number of annotations generated", 102,
resultAS.size());
+ assertEquals("Wrong number of annotations generated", 87, resultAS.size());
gaz.setCaseSensitive(true);
resultAS.clear();
Factory.deleteResource(gaz);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs