You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by jo...@apache.org on 2023/03/06 20:47:16 UTC

[ctakes] branch main updated: Changing PbjFirstStep.piper to WordFinder.piper. Also adding example SentencePrinter.piper

This is an automated email from the ASF dual-hosted git repository.

johnsd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ctakes.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d2f622  Changing PbjFirstStep.piper to WordFinder.piper. Also adding example SentencePrinter.piper
9d2f622 is described below

commit 9d2f622fc8ebd237b45c567a6f18e68aa49ba379
Author: Johnsd11 <34...@users.noreply.github.com>
AuthorDate: Mon Mar 6 15:40:56 2023 -0500

    Changing PbjFirstStep.piper to WordFinder.piper. Also adding example SentencePrinter.piper
---
 .../pipeline/{PbjFirstStep.piper => SentencePrinter.piper}         | 7 ++++---
 .../examples/pipeline/{PbjFirstStep.piper => WordFinder.piper}     | 3 ++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjFirstStep.piper b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/SentencePrinter.piper
similarity index 93%
copy from ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjFirstStep.piper
copy to ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/SentencePrinter.piper
index dc564bc..0b20485 100644
--- a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjFirstStep.piper
+++ b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/SentencePrinter.piper
@@ -9,10 +9,11 @@
 #
 #  This piper will then launch a python PBJ bit of the entire pipeline.
 #
+set SetJavaHome=no
 
 #
 #  To run this pipeline from the command line, use the parameters:
-#  -p PbjFirstStep
+#  -p SentencePrinter
 #  -v {python environment Directory}
 #  -a {Artemis Broker Directory}
 #  -i {Input Document Directory}
@@ -41,11 +42,11 @@ add CtakesRunner Pipeline="-p PbjThirdStep -o $OutputDirectory -a $ArtemisBroker
 //
 
 // Declare the python pipeline defining the second step in the total pipeline.
-set PbjSecondStep=ctakes_pbj.examples.word_finder_pipeline
+set PbjSecondStep=ctakes_pbj.examples.sentence_printer_pipeline
 
 // There is a fixed order to queue specification in python pipelines.
 // The incoming (receiver) queue is named first, the outgoing (sender) queue is named second.
-add PythonRunner Command="-m $PbjSecondStep JavaToPy PyToJava" LogFile=word_finder_pipeline.log
+add PythonRunner Command="-m $PbjSecondStep JavaToPy PyToJava" LogFile=sentence_printer_pipeline.log
 
 
 //
diff --git a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjFirstStep.piper b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/WordFinder.piper
similarity index 98%
rename from ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjFirstStep.piper
rename to ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/WordFinder.piper
index dc564bc..d6e4a3d 100644
--- a/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/PbjFirstStep.piper
+++ b/ctakes-examples/src/user/resources/org/apache/ctakes/examples/pipeline/WordFinder.piper
@@ -9,10 +9,11 @@
 #
 #  This piper will then launch a python PBJ bit of the entire pipeline.
 #
+set SetJavaHome=no
 
 #
 #  To run this pipeline from the command line, use the parameters:
-#  -p PbjFirstStep
+#  -p WordFinder
 #  -v {python environment Directory}
 #  -a {Artemis Broker Directory}
 #  -i {Input Document Directory}