Revision: 17214
http://sourceforge.net/p/gate/code/17214
Author: ian_roberts
Date: 2014-01-07 01:28:57 +0000 (Tue, 07 Jan 2014)
Log Message:
-----------
That was supposed to be the real annotation type, not the group label.
Modified Paths:
--------------
gate/trunk/src/main/gate/corpora/DocumentJsonUtils.java
Modified: gate/trunk/src/main/gate/corpora/DocumentJsonUtils.java
===================================================================
--- gate/trunk/src/main/gate/corpora/DocumentJsonUtils.java 2014-01-07
01:20:30 UTC (rev 17213)
+++ gate/trunk/src/main/gate/corpora/DocumentJsonUtils.java 2014-01-07
01:28:57 UTC (rev 17214)
@@ -318,7 +318,7 @@
json.writeNumber(a.getEndNode().getOffset() - start);
json.writeEndArray(); // end of indices
if(annotationTypeProperty != null) {
- json.writeStringField(annotationTypeProperty, annotationType);
+ json.writeStringField(annotationTypeProperty, a.getType());
}
// other features
for(Map.Entry<?, ?> feature : a.getFeatures().entrySet()) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs