Spacy integration

Spacy integration#

spaCy is a library for advanced Natural Language Processing in Python.

medkit supports spaCy through input and output conversions as well as annotators.

Task

Operation

Load a spaCy Doc

SpacyInputConverter

Convert documents to spaCy Doc

SpacyOutputConverter

Annotate segments using a spaCy pipeline

SpacyPipeline

Annotate documents using a spaCy pipeline

SpacyDocPipeline

Detect syntactic relations between entities

SyntacticRelationExtractor

Note

You may refer to medkit.text.spacy for more information.