Fixes #25 by adding article title in markdown format to wiki text

This commit is contained in:
Piotr Czapla
2019-01-01 15:07:02 +01:00
parent 4a858f3572
commit 0945c699c7
+1 -1
View File
@@ -24,7 +24,7 @@ def get_texts(root):
if text.strip() == title:
# print('No content continuing...')
continue
yield text
yield (f"={title}=\n"+text)
def write_wikitext(file_path, text_iter, mt, num_tokens, mode='w'):