-
Notifications
You must be signed in to change notification settings - Fork 11
getting_started_with_pbj
Dennis Johns edited this page Sep 25, 2024
·
44 revisions
- Apache cTAKES
- Python virtual environment
- Apache Artemis broker
- Download Apache ActiveMQ Artemis here: https://activemq.apache.org/components/artemis/download/
- In a terminal, navigate to the apache-artemis folder
- Navigate into bin, then use these commands
./bin/artemis create [name of your broker]
for Mac and Linux orbin\artemis create [name of your broker]
for Windows
- You will be prompted to create a username and password, as well as
--allow-anonymous
, PressY
for this option
You should now have an Artemis broker and can now run PBJ
For more information see apache-artemis documentation.
- Create a run configuration with the parameters below.
- Java Version:
Java-17
- ClassPath:
ctakes-examples
- Main class:
org.apache.ctakes.core.pipeline.PiperFileRunner
- In the program arguments section include these parameters
-p "[Location of piper file]"
-i "[Location for input]"
-a "[Location of your Artemis Broker]"
-v "[Location of your Python virtual environment]"
-o "[Location for output]"
For this example you should use PbjSentencePrinter
as the piper file
For input you can use the documents in ctakes-examples:org/apache/ctakes/examples/notes/annotated
I will be using Intellij as shown in the images below
- Piper File Submitter
- UMLS Package Fetcher
- Dictionary Creator
- Simple Pipeline Fabricator
- Pipeline Installation Facility
- ctakes-pbj module
- Getting started with PBJ
- Python pbj-component
- Python pbj-pipeline
- Python pbj-scripts
- Python pbj-tools
- pbj-user-pipeline
- examples
- ctakes-assertion
- ctakes-assertion-zoner
- ctakes-chunker
- ctakes-clinical-pipeline
- ctakes-constituency-parser
- ctakes-context-tokenizer
- ctakes-core
- ctakes-coreference
- ctakes-dependency-parser
- ctakes-dictionary-lookup
- ctakes-dictionary-lookup-fast
- ctakes-distribution
- ctakes-dockhand
- ctakes-drug-ner
- ctakes-examples
- ctakes-fhir
- ctakes-gui
- ctakes-lvg
- ctakes-mastif-zoner
- ctakes-ne-contexts
- ctakes-pbj
- ctakes-pos-tagger
- ctakes-preprocessor
- ctakes-regression-test
- ctakes-relation-extractor
- ctakes-side-effect
- ctakes-smoking-status
- ctakes-template-filler
- ctakes-temporal
- ctakes-tiny-rest
- ctakes-type-system
- ctakes-utils
- ctakes-web-rest
- ctakes-ytex
- ctakes-ytex-uima
- ctakes-ytex-web