-
Notifications
You must be signed in to change notification settings - Fork 21
ctakes relation extractor
The relation extractor is designed to annotation relations between certain Event, Entity and Modifier annotations.
There are currently models trained for detecting body site and severity using machine learning with a model trained on manually annotated clinical data.
Clinical Pipeline with degree-of and location-of relations.
$\textcolor{gray}{\textsf{// Clinical Pipeline with degree-of and location-of relations. }}$
$\textcolor{gray}{\textsf{// Default Clinical Pipeline }}$
$\textcolor{magenta}{\textsf{load}}$ DefaultFastPipeline
$\textcolor{gray}{\textsf{// degree-of, relation-of }}$
$\textcolor{magenta}{\textsf{load}}$ RelationSubPipe
Commands and parameters to create a default relation extraction sub-pipeline.
$\textcolor{gray}{\textsf{// Commands and parameters to create a default relation extraction sub-pipeline. }}$
$\textcolor{gray}{\textsf{// This is not a full pipeline. }}$
$\textcolor{gray}{\textsf{// Modifiers. Use addLogged to log start and finish of processing. There aren't default models, so set specifically }}$
$\textcolor{green}{\textsf{add}}$ $\textcolor{blue}{\textsf{ModifierExtractorAnnotator}}$ $\textcolor{purple}{\textsf{classifierJarPath}}$ =$\textcolor{violet}{\textsf{/org/apache/ctakes/relation/extractor/models/modifier_extractor/model.jar}}$
$\textcolor{gray}{\textsf{// Degree of severity, etc. }}$
$\textcolor{green}{\textsf{add}}$ $\textcolor{blue}{\textsf{DegreeOfRelationExtractorAnnotator}}$ $\textcolor{purple}{\textsf{classifierJarPath}}$ =$\textcolor{violet}{\textsf{/org/apache/ctakes/relation/extractor/models/degree_of/model.jar}}$
$\textcolor{gray}{\textsf{// Location. }}$
$\textcolor{green}{\textsf{add}}$ $\textcolor{blue}{\textsf{LocationOfRelationExtractorAnnotator}}$ $\textcolor{purple}{\textsf{classifierJarPath}}$ =$\textcolor{violet}{\textsf{/org/apache/ctakes/relation/extractor/models/location_of/model.jar}}$
Clinical Pipeline with section, paragraph and list detection and degree-of and location-of relations
$\textcolor{gray}{\textsf{// Clinical Pipeline with section, paragraph and list detection and degree-of and location-of relations }}$
$\textcolor{gray}{\textsf{// Default Clinical Pipeline with section, paragraph and list detection }}$
$\textcolor{magenta}{\textsf{load}}$ SectionedFastPipeline
$\textcolor{gray}{\textsf{// degree-of, relation-of }}$
$\textcolor{magenta}{\textsf{load}}$ RelationSubPipe
Thread Safe Default Clinical Pipeline with degree-of and location-of relations
$\textcolor{gray}{\textsf{// Thread Safe Default Clinical Pipeline with degree-of and location-of relations }}$
$\textcolor{gray}{\textsf{// Default Clinical Pipeline }}$
$\textcolor{magenta}{\textsf{load}}$ TsDefaultFastPipeline
$\textcolor{gray}{\textsf{// degree-of, relation-of }}$
$\textcolor{magenta}{\textsf{load}}$ TsRelationSubPipe
Commands and parameters to create a relation extraction sub-pipeline.
$\textcolor{gray}{\textsf{// Commands and parameters to create a relation extraction sub-pipeline. }}$
$\textcolor{gray}{\textsf{// This is not a full pipeline. }}$
$\textcolor{gray}{\textsf{// Modifiers. Use addLogged to log start and finish of processing. There aren't default models, so set specifically }}$
$\textcolor{green}{\textsf{add}}$ $\textcolor{blue}{\textsf{concurrent.ThreadSafeModifierExtractor}}$ $\textcolor{purple}{\textsf{classifierJarPath}}$ =$\textcolor{violet}{\textsf{/org/apache/ctakes/relation/extractor/models/modifier_extractor/model.jar}}$
$\textcolor{gray}{\textsf{// Degree of severity, etc. }}$
$\textcolor{green}{\textsf{add}}$ $\textcolor{blue}{\textsf{concurrent.ThreadSafeDegreeExtractor}}$ $\textcolor{purple}{\textsf{classifierJarPath}}$ =$\textcolor{violet}{\textsf{/org/apache/ctakes/relation/extractor/models/degree_of/model.jar}}$
$\textcolor{gray}{\textsf{// Location. }}$
$\textcolor{green}{\textsf{add}}$ $\textcolor{blue}{\textsf{concurrent.ThreadSafeLocationExtractor}}$ $\textcolor{purple}{\textsf{classifierJarPath}}$ =$\textcolor{violet}{\textsf{/org/apache/ctakes/relation/extractor/models/location_of/model.jar}}$
Thread Safe Clinical Pipeline with section, paragraph and list detection and degree-of and location-of relations.
Ts Sectioned Relation Pipeline
$\textcolor{gray}{\textsf{// Thread Safe Clinical Pipeline with section, paragraph and list detection and degree-of and location-of relations. }}$
$\textcolor{gray}{\textsf{// Default Clinical Pipeline with section, paragraph and list detection }}$
$\textcolor{magenta}{\textsf{load}}$ TsSectionedFastPipeline
$\textcolor{gray}{\textsf{// degree-of, relation-of }}$
$\textcolor{magenta}{\textsf{load}}$ TsRelationSubPipe
- 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