-
Notifications
You must be signed in to change notification settings - Fork 24
pbj_user_pipeline
This piper file will perform initial steps required for running a ctakes-pbj pipeline.
This piper file will start the Apache Artemis broker pointed to by the -a parameter on the command line. It will pause for 5 seconds to allow Artemis to fully launch.
This piper file will then pip the python package requirements for ctakes-pbj in an environment pointed to by the -v parameter on the command line.
To skip the step of running a pip of ctakes-pbj, set —pipPbj to “no”
Set the command line parameter -a to accept the directory of the Artemis broker.
cli ArtemisBroker=a
Set the command line parameter -v to accept the directory of the Python environment.
cli VirtualEnv=v
Set the command line parameter --pipPbj to 'no' to avoid a pip of pbj at the beginning of the run.
cli PipPbj=pipPbj
Write nice big banners when ctakes starts and finishes.
set WriteBanner=yes
Start the Artemis broker and pause 5 seconds. Important: You must create an Artemis Broker before running. See "Creating a Broker Instance" ADD LINK HERE The ArtemisBroker must point to the directory of the broker that you create.
add ArtemisStarter Pause=5
pip the dependency packages in case your environment doesn't have them or needs an update.
add PbjPipper
Add the Finished Logger for some run statistics.
addLast util.log.FinishedLogger
Force a stop, just in case some external process is trying to stay connected.
addLast ExitForcer Pause=3
Piper file that will perform final steps required for stopping a ctakes-pbj pipeline. Will stop the Apache Artemis broker pointed to by the -a parameter on the command line.
Set the command line parameter -a to accept the directory of the Artemis installation.
cli ArtemisBroker=a
Stop the Artemis Broker
add ArtemisStopper
Add the Finished Logger for some run stats
add until.log.FinishedLogger
Force a stop, just in case for some external process is trying to stay connected.
addLast ExitForcer Pause=3
- Introduction to Pipelines
- Piper Files
- Running Pipelines
- Creating Pipelines
- Pipeline Components
- Creating Components
- Piper File Submitter
- UMLS Package Fetcher
- Dictionary Creator
- Simple Pipeline Fabricator
- Pipeline Installation Facility
- Module Basics
- Essential Modules
- for Basic Pipeline
- for Default Pipeline
- for Relations
- for Temporal Information
- for Coreferences
- Creating Modules
- Modules List
