# `Pronouncer`

class mnemosyne.libmnemosyne.pronouncer.Pronouncer(component_manager, **kwds)

  Generic text-to-speech service for words and sentences.

  Note that a single component can handle multiple languages (e.g. Google TTS) and the language to be used will be determined through the language_id property of the card_type argument.

  component_type = 'pronouncer'
  default_filename(card_type, foreign_text)
  download_tmp_audio_file(card_type, foreign_text)

    Returns a temporary filename with the audio.

  popup_menu_text = None
  show_dialog(card_type, foreign_text)

    Returns html audio tag to insert.

  used_for = None