medacy.pipelines.clinical_pipeline module

class medacy.pipelines.clinical_pipeline.ClinicalPipeline(metamap=None, entities=[])[source]

Bases: medacy.pipelines.base.base_pipeline.BasePipeline

A pipeline for clinical named entity recognition. A special tokenizer that breaks down a clinical document to character level tokens defines this pipeline.

_abc_impl = <_abc_data object>
get_feature_extractor()[source]

Returns an instant of FeatureExtractor with all configs set. :return: An instant of FeatureExtractor

get_learner()[source]

Retrieves an instance of a sci-kit learn compatible learning algorithm. :return: model

get_tokenizer()[source]

Returns an instance of a tokenizer :return: