Filter word studies to important theological terms only

Limit word study sidenotes to ~40 key theological terms like god, lord,
salvation, grace, covenant, etc. Excludes common words like walk, call,
dwell, bread that don't warrant study annotations on every occurrence.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-05 08:34:13 -05:00
parent b1c558808a
commit ab160b4abd
+16
View File
@@ -327,6 +327,22 @@ def generate_word_study_sidenotes(verse_text, book, chapter, verse_num, shown_wo
# Load word studies from JSON file
word_studies = _load_word_studies()
# Only show important theological terms (not common words like 'walk', 'call')
priority_words = {
'god', 'lord', 'spirit', 'holy', 'christ', 'messiah',
'salvation', 'save', 'redeem', 'atonement', 'propitiation', 'reconcile',
'grace', 'mercy', 'faith', 'hope', 'love', 'truth',
'sin', 'iniquity', 'transgression', 'wrath', 'judgment', 'forgive',
'covenant', 'law', 'gospel', 'word',
'heaven', 'kingdom', 'eternal', 'resurrection', 'glory',
'blood', 'sacrifice', 'lamb', 'altar', 'priest',
'righteous', 'justify', 'sanctify', 'holy',
'angel', 'prophet', 'apostle',
'baptize', 'repent', 'believe', 'confess',
'born again', 'adoption', 'elect', 'predestine',
}
word_studies = {k: v for k, v in word_studies.items() if k in priority_words}
# Get interlinear data for this verse to cross-reference Strong's numbers
interlinear = get_interlinear_data(book, chapter, verse_num)
verse_strongs = set()