boudinfl / pke

Python Keyphrase Extraction module
GNU General Public License v3.0
1.55k stars 291 forks source link

variable referenced before assignment in "Add loading LDA model capability" push #198

Closed thundes closed 2 years ago

thundes commented 2 years ago

Found in single_tpr.py: If the user does not manually assign an lda_model then "dictionary variable is not set, introducing the "local variable 'dictionary' referenced before assignment" error.

boudinfl commented 2 years ago

Thanks for mentioning that issue, now fixed in 5db9af625936e16a806490744e5a6bf81c92a54f

f.