def gatherText(self):
''' Takes a TinyDB with a "text" field and combines all the text into
a one list of texts
'''
all_text = ""
for item in self.db:
all_text = all_text + " " + clean_text(item['text'])
self.text = all_text
评论列表
文章目录