docs: def rhymes(word):
      """Get words rhyming with a given word.
  
      This function may return an empty list if no rhyming words are found in
      the dictionary, or if the word you pass to the function is itself not
      found in the dictionary.
  
      .. doctest::
  
          >>> import pronouncing
          >>> pronouncing.rhymes("conditioner")
          ['commissioner', 'parishioner', 'petitioner', 'practitioner']
  
      :param word: a word
      :returns: a list of rhyming words
      """
      phones = phones_for_word(word)
      combined_rhymes = []
      if phones:
          for element in phones:
              combined_rhymes.append([w for w in rhyme_lookup.get(rhyming_part(
                                      element), []) if w != word])
          combined_rhymes = list(chain.from_iterable(combined_rhymes))
          unique_combined_rhymes = sorted(set(combined_rhymes))
          return unique_combined_rhymes
      else:
          return []