Loosely matching rhymes for flame detector