diff --git a/create_model_package.bash b/create_model_package.bash index 6d81fdd..bc4b89d 100755 --- a/create_model_package.bash +++ b/create_model_package.bash @@ -1,7 +1,6 @@ #!/bin/bash -python -m spacy package spacy_models/final_model spacy_models/model_package --force +python -m spacy package spacy_models/final_model spacy_package --force -cd spacy_models/model_package/zh_core_web_sm-0.1.0 +cd spacy_package/zh_core_web_sm-0.1.0 python ./setup.py sdist - diff --git a/workflow.md b/workflow.md index 17dc154..9978061 100644 --- a/workflow.md +++ b/workflow.md @@ -101,3 +101,8 @@ * input: `spacy_models/dependency_model`, `spacy_models/ner_model` * output: `spacy_models/final_model` * script: `merge_submodel.py` + +## create package + * input: `spacy_models/final_model/` + * output: `spacy_package/` + * script: `./create_model_package.bash`