Skip to content

ctakes pbj and ctakes cnlpt examples

Sean Finan edited this page Sep 19, 2024 · 1 revision

End-to-end PBJ Examples

Temporal Example

  • You first need to get the API side up and running. To do this you need to follow the steps listed here.
  • Once that is running you need to then create this configuration for StartTemporalExample.piper file.
    -p org/apache/ctakes/pbj/pipeline/StartTemporalExample
    -i (input)
    -a (folder where your Artemis broker is)
    -d (enviroment)
    -o (output)
    --key (UMLS key)
  • You should now be able to run that piper file while the API side is running. You can look at the output of running the piper file in "temporal_py.log" as well as the output file that you put into the configuration.

Negation Example

  • You first need to get the API side up and running. To do this you need to follow the steps listed here.
  • Once that is running you need to then create this configuration for StartNegationExample.piper file.
    -p org/apache/ctakes/pbj/pipeline/StartNegationExample
    -i (input)
    -a (folder where your Artemis broker is)
    -d (enviroment)
    -o (output)
    --key (UMLS key)
  • You should now be able to run that piper file while the API side is running. You can look at the output of running the piper file in "negation_py.log" as well as the output file that you put into the configuration.

DTR Example

  • You first need to get the API side up and running. To do this you need to follow the steps listed here.
  • Once that is running you need to then create this configuration for StartDtrExample.piper file.
    -p org/apache/ctakes/pbj/pipeline/StartDtrExample
    -i (input)
    -a (folder where your Artemis broker is)
    -d (enviroment)
    -o (output)
    --key (UMLS key)
  • You should now be able to run that piper file while the API side is running. You can look at the output of running the piper file in "dtr_py.log" as well as the output file that you put into the configuration.
Clone this wiki locally