Loosely matching rhymes for banknote sorting machine