Pre-publication review draft
日常訳NICHIJOYAKU日本語 ↗

OPEN SOURCE

software/scripts/build_originals.py

Read on this site and download the files you need.

Nichijoyaku was created using AI. A complete review by human biblical-language and biblical-studies specialists has not been established. Read alongside established translations and original-language resources.

← Back to the open-source guide

software/scripts/build_originals.py16 linesDownload this file ↓

This is the same source included in the download. Each line number is a link you can save or share.

File verification detailsSHA-256 f4d3b87858ada6e223e81403ad245e5e48c226282c1dded52386d82064c91880
1#!/usr/bin/env python32"""Build original-language parallel assets without translation API calls."""3import argparse4import sys5from pathlib import Path6sys.path.insert(0, str(Path(__file__).resolve().parents[1]))7from src.output.originals import WEB, build89if __name__ == '__main__':10    parser = argparse.ArgumentParser(description=__doc__)11    parser.add_argument('--out', type=Path, default=WEB/'public/originals')12    args = parser.parse_args()13    report = build(args.out)14    print(f"Wrote {len(report['files'])} books; {report['site_references']} site references; "15          f"{len(report['without_original'])} explicitly without source text.")16