medacy.pipeline_components.units.unit_component module

class medacy.pipeline_components.units.unit_component.UnitComponent(nlp)[source]

Bases: medacy.pipeline_components.base.base_component.BaseComponent

A pipeline component that tags units. Begins by first tagging all mass, volume, time, and form units then aggregates as necessary.

_abc_impl = <_abc_data object>
dependencies = []
name = 'unit_annotator'