Loosely matching rhymes for photodetection