ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1830591 - /ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SimpleSegmentAnnotator.java
Date Mon, 30 Apr 2018 14:26:58 GMT
Author: seanfinan
Date: Mon Apr 30 14:26:58 2018
New Revision: 1830591

URL: http://svn.apache.org/viewvc?rev=1830591&view=rev
Log:
Set preferred text to segment id

Modified:
    ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SimpleSegmentAnnotator.java

Modified: ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SimpleSegmentAnnotator.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SimpleSegmentAnnotator.java?rev=1830591&r1=1830590&r2=1830591&view=diff
==============================================================================
--- ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SimpleSegmentAnnotator.java
(original)
+++ ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SimpleSegmentAnnotator.java
Mon Apr 30 14:26:58 2018
@@ -67,6 +67,7 @@ public class SimpleSegmentAnnotator exte
 		}
 		segment.setEnd(jCas.getDocumentText().length());
 		segment.setId(segmentId);
+      segment.setPreferredText( segmentId );
 		segment.addToIndexes();
 	}
 	



Mime
View raw message