story-to-pack: add the corpora and the catalogue v2/v3
Fourteen corpora split and classified: aesop, bierce, chekhov, holmes, keefe, lawson, lorimer, maupassant, nobody, plaintales, poe, torchy, wallingford and winesburg, each with its splitter and the hand-written groups and pages; catalogue v2 and v3; and the shared splitters gutenberg_chunks.py, se_split.py and se_build.py. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019rwKTmug58sEsJ72AuWsEi
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e5617b86ba
commit
3a4758172d
@@ -0,0 +1,6 @@
|
||||
"""python3 dump.py A B prints scenes A..B for reading (same as ../jacobs/dump.py)."""
|
||||
import json, sys
|
||||
c = json.load(open('chunks.json'))
|
||||
a, b = int(sys.argv[1]), int(sys.argv[2])
|
||||
for i in range(a, b + 1):
|
||||
print(f'=== {i} (story {c[i]["story"]}, {c[i]["words"]}w)\n' + c[i]['text'])
|
||||
Reference in New Issue
Block a user