Files
kjv_api/tools/transcript_parse.py
T
2023-09-12 14:55:26 -07:00

12 lines
655 B
Python

#Here we will take the transcript of a sermon, extract references to scripture and store in
# a sqlite database by scripture UID per what's in the kjv.db
# This will write to a new db, sermons.db, with the following table
# key, verse_id, sermon_name, sermon_preacher, sermon_denomination, sermon_link, sermon_timestamp
# Need to do a study of how scripture is transcoded, as in, is it "matthew fifeteen seven" or "Matthew 15:7" and account
# for those differences.
# This tool is only for populating the database when given
usage = """Transcript Parser by Tyler Dinsmoor
Usage: python3 transcript_parse.py sermon_transcript.txt [../data/sermons.db]
"""