ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james-mas...@apache.org
Subject svn commit: r1434578 - in /incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae: SHARPKnowtatorXMLReader-Copy.java SHARPKnowtatorXMLReader.java
Date Thu, 17 Jan 2013 07:37:34 GMT
Author: james-masanz
Date: Thu Jan 17 07:37:33 2013
New Revision: 1434578

URL: http://svn.apache.org/viewvc?rev=1434578&view=rev
Log:
as part of: CTAKES-69. fix typo/bug where setPolarity was used instead of setUncertainty.
also delete accidental checkin of *-Copy.java

Removed:
    incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SHARPKnowtatorXMLReader-Copy.java
Modified:
    incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SHARPKnowtatorXMLReader.java

Modified: incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SHARPKnowtatorXMLReader.java
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SHARPKnowtatorXMLReader.java?rev=1434578&r1=1434577&r2=1434578&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SHARPKnowtatorXMLReader.java
(original)
+++ incubator/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/ae/SHARPKnowtatorXMLReader.java
Thu Jan 17 07:37:33 2013
@@ -557,7 +557,7 @@ public class SHARPKnowtatorXMLReader ext
               "assuming NE_UNCERTAINTY_PRESENT for \"%s\" with id \"%s\"",
               modifier.getEnd() < 0 ? "<no-span>" : modifier.getCoveredText(),
               annotation.id));
-          modifier.setPolarity(CONST.NE_UNCERTAINTY_PRESENT);
+          modifier.setUncertainty(CONST.NE_UNCERTAINTY_PRESENT);
         } else if (value.equals("indicator_absent")) {
           modifier.setUncertainty(CONST.NE_UNCERTAINTY_ABSENT);
         } else if (value.equals("indicator_present")) {



Mime
View raw message