You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all thanks for developing this clean and handy tool.
When I call nlp.train_lda_model() I get the following error:
ModuleNotFoundError: No module named 'gensim.models.lda'
This makes sense, because I am using gensim 4.2 which doesn't have this module but instead a module called gensim.models.ldamodel. As I understand, litstudy.nlp should detect which version of gensim I am running here:
Activity
LeonardWilleke commentedon Mar 14, 2024
So far I used
Python==3.7as stated in the README, but the moduleimportlib.metadataseems to be only available forPython >= 3.8: https://docs.python.org/3/library/importlib.metadata.html#module-importlib.metadataHowever with
Python 3.8some other packages fail, probably need to reinstall them.LeonardWilleke commentedon Mar 14, 2024
The original error returned after re-installing the other packages. I found that
importlib.metadataandgensimwork as intended. This simple scriptreturns
4as expected. I'm puzzled.Tim0th1 commentedon Apr 3, 2024
Litstudy is great. Also agree with this bug as reported.
Temporarily, the NMF topic model is a working substitute and does not require the gensim_mayor version control.
hapuuma commentedon Sep 8, 2024
Any news regarding LDA?