homonym has definitions from the field of linguistics
1
[ noun ] (linguistics) two words are homonyms if they are pronounced or spelled the same way but have different meanings

Related terms

word homophone homograph

*