Some of the transformations/filters use different spacy models (en, es, zh, de). The way it is loaded needs to be standardized. The function initialize_models in initialize.py needs to be re-written to accommodate language parameter and the following transformations/filters should be updated.
Once the changes are done, test the modules individually using pytest using the below command,
pytest -s --t=<module_name>
Transformations:
Filters:
Some of the transformations/filters use different spacy models (
en,es,zh,de). The way it is loaded needs to be standardized. The functioninitialize_modelsininitialize.pyneeds to be re-written to accommodate language parameter and the following transformations/filters should be updated.Once the changes are done, test the modules individually using pytest using the below command,
Transformations:
Filters: