RECORD R AH0 K AO1 R D
RECORD R IH0 K AO1 R D
RECORD R EH1 K ER0 D
S AO1 R DAs mentioned above, the word RECORD has three different pronunciations:
R AH0 K AO1 R DIn this case, the first two pronunciations of RECORD, which differ in the vowel sound of the first syllable, both rhyme with SWORD. But while these two pronunciations of the word "RECORD" are different, the words themselves are the same. So when we enter them into the list of rhyming words, it looks like we have a duplicate in the list of words rhyming with SWORD.
R IH0 K AO1 R D
R EH1 K ER0 D
In this example, using this pronunciation dictionary, the words OBJECT and SOUR have two pronunciations each, so the dictionary maps each of these words to a list containing two elements; each element is a list of phonemes and gives one pronunciation of the word. OBJECTOR has just one pronunciation, so the dictionary maps it to a list containing just a single element, which is a list of phonemes making up that pronunciation. The word BECAUSE has four(!) different pronunciations, so the dictionary maps this word to a list with four elements.{ 'OBJECT' : [ ['AA1', 'B', 'JH', 'EH0','K','T'], ['AH0', 'B', 'JH', 'EH1', 'K', 'T'] ], 'OBJECTOR' : [ ['AH0', 'B', 'JH', 'EH1', 'K', 'T', 'ER0'] ], 'SOUR' : [ ['S', 'AW1', 'ER0'], ['S', 'AW1', 'R'] ], 'BECAUSE' : [ ['B', 'IH0', 'K', 'AO1', 'Z'], ['B', 'IH0', 'K', 'AH1', 'Z'], ['B', 'IH0', 'K', 'AA1', 'Z'], ['B', 'IH0', 'K', 'AH0', 'Z'] ], ... }