ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1771975 - in /ctakes/trunk: ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/pipeline/AttributeCleartkSubPipe.piper ctakes-core/src/main/java/org/apache/ctakes/core/pipeline/PiperFileReader.java
Date Tue, 29 Nov 2016 22:52:35 GMT
Author: seanfinan
Date: Tue Nov 29 22:52:35 2016
New Revision: 1771975

URL: http://svn.apache.org/viewvc?rev=1771975&view=rev
Log:
Add Semantic Role Labeler for attribute cleartk
add "set" as a keyword to add parameter via piper

Modified:
    ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/pipeline/AttributeCleartkSubPipe.piper
    ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/pipeline/PiperFileReader.java

Modified: ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/pipeline/AttributeCleartkSubPipe.piper
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/pipeline/AttributeCleartkSubPipe.piper?rev=1771975&r1=1771974&r2=1771975&view=diff
==============================================================================
--- ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/pipeline/AttributeCleartkSubPipe.piper
(original)
+++ ctakes/trunk/ctakes-assertion-res/src/main/resources/org/apache/ctakes/assertion/pipeline/AttributeCleartkSubPipe.piper
Tue Nov 29 22:52:35 2016
@@ -2,6 +2,8 @@
 
 // Add the Dependency parser for use by cleartk
 addDescription ClearNLPDependencyParserAE
+// Add the Semantic Role Labeler parser for use by cleartk
+addLogged ClearNLPSemanticRoleLabelerAE
 
 // Add the cleartk package for cleartk class lookups
 addPackage org.apache.ctakes.assertion.medfacts.cleartk

Modified: ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/pipeline/PiperFileReader.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/pipeline/PiperFileReader.java?rev=1771975&r1=1771974&r2=1771975&view=diff
==============================================================================
--- ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/pipeline/PiperFileReader.java
(original)
+++ ctakes/trunk/ctakes-core/src/main/java/org/apache/ctakes/core/pipeline/PiperFileReader.java
Tue Nov 29 22:52:35 2016
@@ -163,6 +163,9 @@ final public class PiperFileReader {
          case "addParameters":
             _builder.addParameters( splitParameters( parameter ) );
             break;
+         case "set":
+            _builder.addParameters( splitParameters( parameter ) );
+            break;
          case "reader":
             _builder.reader( createReader( parameter ) );
             break;



Mime
View raw message