ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tm...@apache.org
Subject svn commit: r1500949 - /ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/sentence/SentenceDetectorCtakes.java
Date Mon, 08 Jul 2013 21:05:21 GMT
Author: tmill
Date: Mon Jul  8 21:05:21 2013
New Revision: 1500949

URL: http://svn.apache.org/r1500949
Log:
Fixes CTAKES-214: opennlp-1.5 is using new constants to represent sentence/non-sentence classifications.
Updated our constants to reflect new versions. Should try to directly use their constants
in case it changes in the future.

Modified:
    ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/sentence/SentenceDetectorCtakes.java

Modified: ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/sentence/SentenceDetectorCtakes.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/sentence/SentenceDetectorCtakes.java?rev=1500949&r1=1500948&r2=1500949&view=diff
==============================================================================
--- ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/sentence/SentenceDetectorCtakes.java
(original)
+++ ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/sentence/SentenceDetectorCtakes.java
Mon Jul  8 21:05:21 2013
@@ -63,12 +63,12 @@ public class SentenceDetectorCtakes {
 	  /**
 	   * Constant indicates a sentence split.
 	   */
-	  public static final String SPLIT ="T";
+	  public static final String SPLIT ="s";
 
 	  /**
 	   * Constant indicates no sentence split.
 	   */
-	  public static final String NO_SPLIT ="F";
+	  public static final String NO_SPLIT ="n";
 	  
 	  private static final Double ONE = new Double(1);
 



Mime
View raw message