wordsMatch function

bool wordsMatch(
  1. String word1,
  2. String word2
)

Match transcribed words with Surah words

Implementation

bool wordsMatch(String word1, String word2) {
  return normalizeArabic(word1).toLowerCase() ==
      normalizeArabic(word2).toLowerCase();
}