You might be interested in Andrew Bannister&#x27;s research on computer analysis of the Quran. He wrote a book on it [1], and there&#x27;s also this paper which gives a high-level overview [2].<p>[1] <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Oral-Formulaic-Study-Quran-Andrew-Bannister&#x2F;dp&#x2F;0739183575" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Oral-Formulaic-Study-Quran-Andrew-Bann...</a><p>[2] <a href="http:&#x2F;&#x2F;www.academia.edu&#x2F;9490706&#x2F;Retelling_the_Tale_A_Computerised_Oral-Formulaic_Analysis_of_the_Qur_an" rel="nofollow">http:&#x2F;&#x2F;www.academia.edu&#x2F;9490706&#x2F;Retelling_the_Tale_A_Compute...</a>