mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user