medspacy / cycontext

A Python implementation of the ConText algorithm for clinical text concept assertion using the spaCy framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cycontext

A Python implementation of the ConText algorithm for clinical text concept assertion using the spaCy framework.

This package is deprecated!

Development for cycontext has been moved to medSpaCy and should now be installed as:

pip install medspacy
# Option 1: Load with a medspacy pipeline
import medspacy
nlp = medspacy.load()
print(nlp.pipe_names)

# Option 2: Manually add to a spaCy model
import spacy
from medspacy.context import ConTextComponent
nlp = spacy.load("en_core_web_sm")
nlp.add_pipe(ConTextComponent(nlp))

Please see the medSpaCy GitHub page for additional information and documentation.

About

A Python implementation of the ConText algorithm for clinical text concept assertion using the spaCy framework

License:MIT License


Languages

Language:Jupyter Notebook 62.4%Language:Python 37.6%