Chris Knowles
Chris Knowles

Reputation: 51

Is it possible to include other Python packages when packaging a Spacy model?

I'm trying to package a Spacy model that contains some custom language components and factories.

One of the components comes from the spacy_syllables python package (it also requires pyphen).

Is it possible to include packaged code when using the spacy package command?

Upvotes: 0

Views: 39

Answers (1)

aab
aab

Reputation: 11484

Provide a partial meta.json with the additional "requirements" with spacy package -m meta.json: https://spacy.io/api/data-formats#meta

Upvotes: 2

Related Questions