Comprehensive information about data sources, loading processes, and update procedures
load_data() function runs when the Flask app startsdata dictionarypython web_app.py againAll data files are located in:
D:\Playground\
Ensure file names and formats match exactly when updating
data = {
'metadata': { # Book information from tanakh_metadata.json
'Genesis': {...},
'Exodus': {...},
...
},
'hebrew_pointed': "...", # Content from tanakh_pointed_hebrew.txt
'hebrew_unpointed': "...", # Content from tanakh_unpointed_hebrew.txt
'hebrew_flattened': "...", # Content from tanakh_flattened.txt
'english_torah': "...", # Content from torah_english.txt
'statistics': "...", # Content from tanakh_statistics.txt
'connections': [...] # Parsed connection data
}