One of the features of Tarteel is the highlighting of mutashabihat—words or phrases in the Quran that have similar meanings or forms. When you enable the mutashabihat feature, you will see different colors applied to these words within a single ayah. I am not sure what database are they using or how they are able to do it. If the same can be incorporated in your app, it will be helpful.