J.K. Tauber has done a huge amount of work in this area. See https://jktauber.com. He uses python but I still find his stuff enormously helpful. here is something I have put together: https://kloro2006.github.io/bible-hub-portal/. it wd have been impossible without his help. also I use this to get Perl to play nice with Greek characters: use open ':encoding(utf8)'; I think I got it from Tauber's site.