name stringlengths 3 63 | text stringlengths 40.4k 8.54M |
|---|---|
9-nine- Episode 1 | "*A while back, there was this anime called Mobius Ring, the Cycle of Reincarnation.*\n*The town I l(...TRUNCATED) |
9-nine- Episode 2 | "*Everyone has a few memories they hold especially dear.*\n*Things they can't forget. Things they mu(...TRUNCATED) |
9-nine- Episode 3 | "*Scarcely half a month has passed since the new term began and I became a second-year.*\n*And yet t(...TRUNCATED) |
9-nine- Episode 4 | "Sophitia: \"Why, good afternoon. Or perhaps, good evening?\"\nSophitia: \"I suppose it's Kakeru's W(...TRUNCATED) |
A Clockwork Ley-Line - Daybreak of Remnants Shadow | "*――I've gotten fairly used to this bizarre academy.*\n*The principal who I can't see as anythin(...TRUNCATED) |
A Clockwork Ley-Line - Flowers Falling in the Morning Mist | "*I walk through the lush greenery of a forest.*\n*It's dark and dense, like a scene from a picture (...TRUNCATED) |
A Clockwork Ley-Line - The Borderline of Dusk | "*...It was a sunny afternoon when the letter arrived.*\n*Everyone else in the family was out, and I(...TRUNCATED) |
A Kiss for The Petals Maidens of Michael | "Risa: \"I'm stuffed!\"\n*It was our lunch break. Putting away my empty lunchbox, I promptly rose to(...TRUNCATED) |
A Kiss for The Petals Remembering How We Met | "*As the seasons rolled on, the shape of things continued to change.*\n*Summer's torturous heat had (...TRUNCATED) |
A Summer's End Hong Kong 1986 | "*When I think of my life,*\n*What I have,*\n*And what I've accomplished,*\n*I think I'm quite conte(...TRUNCATED) |
End of preview. Expand
in Data Studio
import json
import os
import ftfy
dataset = []
for filename in sorted(os.listdir("./visual-novels-parsed/TXT")):
txt_path = os.path.join(TXT_DIR, filename)
with open(txt_path, "r") as f:
txt_data = ftfy.fix_text(f.read()).strip()
dataset.append(
{
"name": ftfy.fix_text(filename.replace(".txt", "")).strip(),
"text": txt_data,
}
)
with open("./visual-novels-parsed/train.json", "w") as f:
json.dump(dataset, f, indent=2)
- Downloads last month
- 7