Commit 956f18de authored by dirk.wintergruen's avatar dirk.wintergruen

debugging

parent ac480a74
......@@ -513,10 +513,20 @@ class Analyser(object):
#gam = 0.1 # difficulty of moving up a state; larger gamma --> harder to move up states, less bursty
n = len(d) # number of timepoints
cnt = 0
with open("/tmp/uniq_w","w",encoding="utf-8") as outf:
for w in self.uniqueWords:
outf.write(f"{w}\n")
unique_words_tmp = filter(filter_func, self.uniqueWords)
unique_words_list = list(unique_words_tmp)
size = 300
with open("/tmp/uniq_w_l", "w", encoding="utf-8") as outf:
for w in unique_words_list:
outf.write(f"{w}\n")
self.createAllPresentWordsPerYearMonth(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment