View Single Post
Old 02-11-2023, 05:18 PM   #1615
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by del.libro View Post
If it helps, the only place copy_reg (which is the P2 version of P3's copyreg) is in nltk/english.pickle. So, it seems you need to upgrade to a recent version of NLTK. I looked at NLTK on Github, but don't see the 'lite' version. So, my guess is this won't be a quick fix, but I haven't done any serious development in almost a decade, so this is only a barely educated guess.
Thanks for taking a look. My quick look myself in response found that NLTK Lite became NLTK at version 2.0 and along the way Python 3 migrated. I cannot remember what other dependencies etc there were in that plugin (10 years or so I wrote it) to know if that is a straightforward upgrade or if there are other libraries in there depending on it which will make this all a big thing or not.

All will no doubt be revealed when I find time to peek at the code again…
kiwidude is offline   Reply With Quote