Loosely matching rhymes for x-ray analysis