Reputation: 51
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
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