Phonetic

class freedictionaryapi.types.phonetic.Phonetic(data: dict)[source]

Bases: freedictionaryapi.types.base.ParsedObject

Implements the object of API JSON response that consists of phonetics data:

  • text - transcription;

  • audio - links on pronunciation (mp3 audio file).

property audio: str
Returns

audio of phonetic (link on audio .mp3)

Return type

str

Alias of Phonetic.audio property

Returns

link on audio (.mp3) with pronunciation

Return type

str

property text: str
Returns

text of phonetic (transcription)

Return type

str

property transcription: str

Alias of Phonetic.text property

Returns

transcription

Return type

str