# Launching into clinical space with medspaCy: a new clinical text processing toolkit in Python

Source: [Launching into clinical space with medspaCy: a new clinical text processing toolkit in Python](<https://www.sota2.com/research/paper/68fa6a2c1e209131cea26947>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-07-09T05:00:01.225Z

Authors: Hannah Eyre, Alec B Chapman, Kelly S Peterson, Jianlin Shi, Patrick R Alba, Makoto M Jones, Tamara L Box, Scott L DuVall, Olga V Patterson (1 and 2) \_\_INSTITUTION\_9\_\_ VA Salt Lake City Health Care System, (2) University of Utah, Salt Lake City, UT, USA, (3) Veterans Health Administration Office of Analytics, Performance Integration)

Published: 2021-06-14T23:19:13.000Z

## Abstract

Despite impressive success of machine learning algorithms in clinical natural language processing (cNLP), rule-based approaches still have a prominent role. In this paper, we introduce medspaCy, an extensible, open-source cNLP library based on spaCy framework that allows flexible integration of rule-based and machine learning-based algorithms adapted to clinical text. MedspaCy includes a variety of components that meet common cNLP needs such as context analysis and mapping to standard terminologies. By utilizing spaCy's clear and easy-to-use conventions, medspaCy enables development of custom pipelines that integrate easily with other spaCy-based modules. Our toolkit includes several core components and facilitates rapid development of pipelines for clinical text.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Section Identification on MedSecId Corpus](<https://www.sota2.com/research/sota/section-identification-on-medsecid-corpus.md>): Section Identification; MedSecId Corpus; Accuracy: 56.63.

- [Section Identification on i2b2 Corpus 2010](<https://www.sota2.com/research/sota/section-identification-on-i2b2-corpus-2010.md>): Section Identification; i2b2 Corpus 2010; Accuracy: 38.45.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2106.07799>)

[PDF](<https://arxiv.org/pdf/2106.07799.pdf>)
