@@ -36,15 +36,15 @@ jobs:
3636 - name : Install DACKAR Required Libraries
3737 # Either fix scikit-learn==1.5 to allow quantulum3 to use the pretrained classifier or
3838 # Run "quantulum3-training -s" to retrain classifier
39- # python -m spacy download en_core_web_lg
39+
4040 run : |
4141 pwd
4242 conda create -n dackar_libs python=3.11
4343 conda init bash && source ~/.bashrc && conda activate dackar_libs
4444 pip install spacy==3.5 stumpy textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy==1.26 scikit-learn pyspellchecker contextualSpellCheck pandas
4545 pip install neo4j jupyterlab
4646 pip install pytest
47-
47+ # python -m spacy download en_core_web_lg [for some reason, GitHub machine complains this command]
4848 - name : Download trained models
4949 run : |
5050 conda init bash && source ~/.bashrc && conda activate dackar_libs
@@ -89,11 +89,15 @@ jobs:
8989 pip install spacy==3.5 stumpy textacy matplotlib nltk coreferee beautifulsoup4 networkx pysbd tomli numerizer autocorrect pywsd openpyxl quantulum3[classifier] numpy==1.26 scikit-learn pyspellchecker contextualSpellCheck pandas
9090 pip install neo4j jupyterlab
9191 pip install pytest
92- python3 -m spacy download en_core_web_lg
93- python3 -m coreferee install en
94- python3 -m nltk.downloader all
95- quantulum3-training -s
9692
93+ # python -m spacy download en_core_web_lg [for some reason, GitHub machine complains this command]
94+ - name : Download trained models
95+ run : |
96+ conda init bash && source ~/.bashrc && conda activate dackar_libs
97+ python -m coreferee install en
98+ python -m nltk.downloader all
99+ pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.5.0/en_core_web_lg-3.5.0-py3-none-any.whl
100+ quantulum3-training -s
97101
98102 - name : Test
99103 run : |
@@ -135,9 +139,14 @@ jobs:
135139 pip install pytest
136140 conda list
137141 which python
138- python -m spacy download en_core_web_lg
142+
143+ # python -m spacy download en_core_web_lg [for some reason, GitHub machine complains this command]
144+ - name : Download trained models
145+ run : |
146+ conda init bash && source ~/.bashrc && conda activate dackar_libs
139147 python -m coreferee install en
140148 python -m nltk.downloader all
149+ pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.5.0/en_core_web_lg-3.5.0-py3-none-any.whl
141150 quantulum3-training -s
142151
143152 - name : Test
0 commit comments