raksha-rehal
commited on
Commit
•
c3e06e3
1
Parent(s):
cbddd1d
Update separate-stories.py
Browse files- separate-stories.py +3 -3
separate-stories.py
CHANGED
@@ -5,13 +5,13 @@ def main():
|
|
5 |
|
6 |
json_array = []
|
7 |
|
8 |
-
with open('all_titles.txt', encoding="utf-8") as title_file:
|
9 |
all_titles = title_file.read().splitlines()
|
10 |
|
11 |
-
with open('cleaned_merged_fairy_tales_without_eos.txt', encoding='UTF-8') as stories_file:
|
12 |
content = stories_file.read().splitlines()
|
13 |
|
14 |
-
with open('lines.txt', encoding="utf-8") as lines_file:
|
15 |
all_lines = lines_file.read().splitlines()
|
16 |
|
17 |
|
|
|
5 |
|
6 |
json_array = []
|
7 |
|
8 |
+
with open('resources/all_titles.txt', encoding="utf-8") as title_file:
|
9 |
all_titles = title_file.read().splitlines()
|
10 |
|
11 |
+
with open('resources/cleaned_merged_fairy_tales_without_eos.txt', encoding='UTF-8') as stories_file:
|
12 |
content = stories_file.read().splitlines()
|
13 |
|
14 |
+
with open('resources/lines.txt', encoding="utf-8") as lines_file:
|
15 |
all_lines = lines_file.read().splitlines()
|
16 |
|
17 |
|