Build a fuzzy index to ease searching for the Surah, the Ayah, and the char index of the best-matching word in the phonetic script.
Inputs:
String s: the string that I want to search
Int window_size: the size of the window that we will search inside
Outputs:
Int surah_id: the id of the retrieved surah
Int ayah_id: the id of the retrieved ayah
Int idx: the index of the best-match first char
Build a fuzzy index to ease searching for the Surah, the Ayah, and the char index of the best-matching word in the phonetic script.
Inputs:
String s: the string that I want to search
Int window_size: the size of the window that we will search inside
Outputs:
Int surah_id: the id of the retrieved surah
Int ayah_id: the id of the retrieved ayah
Int idx: the index of the best-match first char