-
Notifications
You must be signed in to change notification settings - Fork 10
pbj_examples
This example prints every sentence in a Cas. Also prints the begin, end, and part of speech of each sentence.
First Create the instance of a pbj pipeline
pipeline = PBJPipeline()
Add the file that will make the modifications to the cas you wish (Ask Sean for a cleaner explanation)
pipeline.add(SentencePrinter())
Add the PbjSender to the pipeline instance once you are done adding all other modification files to a cas
pipeline.add(PBJSender())
Initialize the pipeline (line not necessary anymore i think)
pipeline.initialize()
Start the receiver using pipeline as the parameter.
start_receiver(pipeline)
In this example we are looking for specific words that are part of certain types in the cas.
First Create the instance of a pbj pipeline
pipeline = PBJPipeline()
Add the file that will make the modifications to the cas you wish (Ask Sean for a cleaner explanation)
pipeline.add(WordFinder())
Add the PbjSender to the pipeline instance once you are done adding all other modification files to a cas
pipeline.add(PBJSender())
Initialize the pipeline (line not necessary anymore i think)
pipeline.initialize()
Start the receiver using pipeline as the parameter.
start_receiver(pipeline)
- PLACEHOLDER
- ctakes-assertion
- 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-drug-ner
- ctakes-examples-ctakes_cnlpt_py
- ctakes-fhir
- ctakes-lvg
- ctakes-ne-contexts
- ctakes-pbj
- ctakes-pos-tagger
- ctakes-preprocessor
- ctakes-relation-extractor
- ctakes-smoking-status
- ctakes-temporal
- ctakes-ytex
- ctakes-pbj
- Python COMPONENTS
- examples