clinspacy
1.0.2Clinical Natural Language Processing using 'spaCy', 'scispaCy', and 'medspaCy'
Overview
Performs biomedical named entity recognition, Unified Medical Language System (UMLS) concept mapping, and negation detection using the Python 'spaCy', 'scispaCy', and 'medspaCy' packages, and transforms extracted data into a wide format for inclusion in machine learning models. The development of the 'scispaCy' package is described by Neumann (2019) doi:10.18653/v1/W19-5034. The 'medspacy' package uses 'ConText', an algorithm for determining the context of clinical statements described by Harkema (2009) doi:10.1016/j.jbi.2009.05.002. Clinspacy also supports entity embeddings from 'scispaCy' and UMLS 'cui2vec' concept embeddings developed by Beam (2018) arXiv:1804.01486.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-03-109 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 0%
- Documented parameters
- 85%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/ml4lhs/clinspacy on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.0.2Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2021-03-20
- Total releases
- 1 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Download size
- 42 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet