Meaning

class freedictionaryapi.types.meaning.Meaning(data: dict)[source]

Bases: freedictionaryapi.types.base.ParsedObject

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

  • partOfSpeech - part of speech;

  • definitions - list of definitions.

property definitions: List[freedictionaryapi.types.definition.Definition]
Returns

list of definitions (parsed objects)

Return type

list[Definition]

property part_of_speech: str
Returns

part of speech

Return type

str