CogStack / MedCATservice

Running MedCAT as a RESTful web service
17 stars 14 forks source link

Use a build-time variable for configuring spaCy models #24

Closed sandertan closed 2 years ago

sandertan commented 2 years ago

When using MedCAT for a different language than English, it can be useful to use a different spaCy model. A spaCy model can be included in the MedCAT model pack, but when not using this functionality, it can be useful to install models in the Docker image. This can be done by setting a build-time variable. See the SPACY_MODELS variable in Dockerfile for default value and usage.

This PR adds: