Loosely matching rhymes for multiple sampling inspection