You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by se...@apache.org on 2023/02/14 22:50:44 UTC
[ctakes] branch main updated: Add a Skeleton TinyRestPipeline.piper that loads Default.piper Dockerfile copies a TinyRestPipeline.piper
This is an automated email from the ASF dual-hosted git repository.
seanfinan 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 f069a53 Add a Skeleton TinyRestPipeline.piper that loads Default.piper Dockerfile copies a TinyRestPipeline.piper
f069a53 is described below
commit f069a533476f9ce2d87c0b2a582e1b99da6f875f
Author: Sean Finan <se...@childrens.harvard.edu>
AuthorDate: Tue Feb 14 17:49:22 2023 -0500
Add a Skeleton TinyRestPipeline.piper that loads Default.piper
Dockerfile copies a TinyRestPipeline.piper
---
ctakes-web-rest/docker/Dockerfile | 1 +
ctakes-web-rest/docker/TinyRestPipeline.piper | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/ctakes-web-rest/docker/Dockerfile b/ctakes-web-rest/docker/Dockerfile
index 6c82ff5..3e06d4c 100644
--- a/ctakes-web-rest/docker/Dockerfile
+++ b/ctakes-web-rest/docker/Dockerfile
@@ -29,6 +29,7 @@ COPY customDictionary.xml /ctakes/ctakes-web-rest/src/main/resources/org/apache/
# This version of the default piper comments out a memory-intensive negation module. If you need to run
# negation detection, then comment out this line.
COPY Default.piper /ctakes/ctakes-web-rest/src/main/resources/pipers/
+COPY TinyRestPipeline.piper /ctakes/ctakes-web-rest/src/main/resources/pipers/
WORKDIR /ctakes
# There is a profile to skip the building of zip distributables and another to build the web-rest war.
diff --git a/ctakes-web-rest/docker/TinyRestPipeline.piper b/ctakes-web-rest/docker/TinyRestPipeline.piper
new file mode 100644
index 0000000..1d3b5bf
--- /dev/null
+++ b/ctakes-web-rest/docker/TinyRestPipeline.piper
@@ -0,0 +1,10 @@
+// The rest module always runs a piper file with this name.
+
+// By Default this piper file loads Default.piper
+
+// If you would like to run a pipeline other than that in Default.piper,
+// please create your own piper file and load it in this file instead of the Default.
+
+# This version of the default piper comments out a memory-intensive negation module. If you need to run
+# negation detection, then comment out this line.
+load Default