Matched by real pronunciation, not just spelling.

pgm

/P IY1 JH IY1 EH1 M/

Perfect rhymes

4 syllables

Near rhymes