I'm a fan of logging. This can help debug issues and understand the flow of the application. You could use python's builtin `logging` library, others exist. This can add log statements to various bits of the code which has some advantages to print statements.
ie.. here you could add for the spacy loading of models
ie.. here you could add for the spacy loading of models
_Originally posted by @mammykins in https://github.com/alphagov/govuk-content-metadata/pull/96#discussion_r1152418280_