You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Component Overview

cTAKES consists of a number of components. Each one has unique qualities and capabilities. Each component includes at least one analysis engine (annotator), some include more. You will want to assess each component's usefulness to you. UIMA provides the tooling for selecting which annotators are used together and the order in which annotators are run. Each section in this Guide covers one component.

cTAKES provides two variants of the original cTAKES pipeline which discovers Named Entities and assigns attributes to them:

  • for processing plain text notes: cTAKESdesc/cdpdesc/analysis_engine/AggregatePlaintextProcessor.xml
  • for processing Clinical Document Architecture (CDA) formatted notes: cTAKESdesc/cdpdesc/analysis_engine/AggregateCdaProcessor.xml

Both variants use the same set of components except that the Document Preprocessor is not used for plain text.

cTAKES is not designed to be thread safe and has not been tested for thread safety.

Component Dependencies

This diagram shows which components rely on the output of another component. Following the diagram is a textual description.

  • If the input is a CDA document, the Document Preprocessor is needed at the start of the pipeline, and its output is used by Core.
  • The output of Core is used by several components, including
    • Context Dependent Tokenizer
    • Part of Speech Tagger
    • LVG
  • The output of the Part of Speech Tagger is used by the Chunker
  • The outputs of the Chunker and of LVG are used by Dictionary Lookup
    • LVG is not strictly required by the Dictionary Lookup but better results are achieved if LVG is used.
  • The output of Dictionary Lookup can be used without using LVG, the Semantic Role Labeler (which is part of the Dependency Parser) or the Assertion component, depending on which attributes are of interest.
  • The output of Dictionary Lookup is typically used by LVG, the Semantic Role Labeler (which is part of the Dependency Parser) and the Assertion component.
    Note that prior to cTAKES 2.5, the output of Dictionary Lookup was used by NE Contexts instead.
  • Depending upon which pipeline was used, the output of the Assertion annotator (or the Dictionary Lookup directly) is then used by one of the following
    • PAD Term Spotter
    • Clinical Documents Pipeline
    • Drug NER
  • If the Drug NER pipeline was used, the output of the Context Dependent Tokenizer is used by the Drug NER component.
  • If the Side Effect pipeline was used, the output of Drug NER is used by the Side Effect component
  • If the Constituency Parser or Coref-resolver pipeline was used, the output of Clinical Documents Pipeline is used by the Constituency Parser
  • If the Coref-resolver pipeline was used, the output of the Constituency Parser is used by the Co-ref resolver.
  • If the Smoking Status pipeline was used, the output of the Clinical Documents Pipeline is used by the Smoking Status component.
  • If the Template Filler pipeline was used, the output of the Relation Extractor is used by the Template Filler.

Components

With 3.1, the Template Filler component was added. For other components, you can reference the 3.0 documentation.

  • No labels