Python 3.7.3, gensim 3.8.1: UnboundLocalError: local variable 'doc_no2' referenced before assignment #2670
Labels
bug
Issue described a bug
difficulty easy
Easy issue: required small fix
impact HIGH
Show-stopper for affected users
reach LOW
Affects only niche use-case users
Client code:
model = LogEntropyModel(corpus=data_corpus, normalize=True)
Referenced code:
https://github.com/RaRe-Technologies/gensim/blob/44ea7931c916349821aa1c717fbf7e90fb138297/gensim/models/logentropy_model.py#L115
Exception thrown:
The text was updated successfully, but these errors were encountered: