Phonetic¶
- class freedictionaryapi.types.phonetic.Phonetic(data: dict)[source]¶
Bases:
freedictionaryapi.types.base.ParsedObjectImplements 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
- property link_on_audio_with_pronunciation: str¶
Alias of
Phonetic.audioproperty- 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.textproperty- Returns
transcription
- Return type
str