View Single Post
Old 07-09-2021, 08:19 AM   #180
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 444
Karma: 3000000
Join Date: Nov 2020
Device: none
No matter how you download the .whl file from GitHub, as long as you have the file in your PC, you can run the command in a terminal by replacing the url with the .whl file path or leave it if you can download it directly.

Code:
py -m pip install -t C:/Users/Alafande/AppData/Roaming/calibre/plugins/worddumb-libs/en_core_web_sm_3.1.0 --no-deps https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.1.0/en_core_web_sm-3.1.0-py3-none-any.whl
Please also check out this comment: https://github.com/pypa/pip/issues/9...ment-741836058

And you should remove all the soft hyphens from your book, it will affect spacy's ner component, i.e., less X-Ray entities.

Last edited by xxyzz; 07-09-2021 at 09:43 AM.
xxyzz is offline   Reply With Quote