danoan.word_guru.cli.commands.dictionary_commands.get_synonym module

danoan.word_guru.cli.commands.dictionary_commands.get_synonym.extend_parser(subcommand_action=None)[source]
danoan.word_guru.cli.commands.dictionary_commands.get_synonym.get_synonym(openai_key: str, cache_path: str | None, word: str, language: str, *args, **kwargs)[source]

Get synonyms of a word in the given language.

Parameters:
  • openai_key (str)

  • cache_path (str | None)

  • word (str)

  • language (str)