Closed AEGISEDGE closed 1 month ago
Hi @AEGISEDGE, thanks for pointing out the issue. I have fixed the issue now. What to do is to call extracting_topics function before the get_topics function.
I tried ur solution, but in line 92:
model.extracting_topics(texts, min_df=3, max_df=0.95, remove_top=10, stopwords=stopwords)
text
variable is not defined. I look through the context but fail to find its definition.
fixed now
Thank u for sharing ur code. When I tried to run
run_reproduce.py
, it raised an IndexError after model traning:It seems that the
self.word2topic
is empty after the training. I wonder how can I fix this. Thank u!