Loosely matching rhymes for optical-fiber transmission