Quote:
Originally Posted by xxyzz
Just pass the path of these files as arguments to the script:
Code:
$ cd data
$ python add_lemmas.py path_of_kll.en.en.klld path_of_LanguageLayer.en.ASIN.kll
$ cd ..
$ calibre-customize -b .
|
please forgive me for being this dumb, but it gives me this error:
Code:
Processing LanguageLayer.en.ASIN.kll
cn-kll.en.en.klld has 75819 lemmas
added 316 lemmas
lemmas.json has 22334 lemmas
Traceback (most recent call last):
File "D:\Elegram\WordDumb-master\data\add_lemmas.py", line 62, in <module>
with open('lemmas.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'lemmas.json'
and during this lemmas.json gets deleted