Loosely matching rhymes for telegraph switching