Text this: Algorithm for rapid identification of flavonoids classes