danoan.word_guru.cli.commands.dictionary_commands.get_reverse_definition module

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

Get a list of words that best encodes a given text.

Parameters:
  • openai_key (str)

  • cache_path (str | None)

  • text (str)

  • language (str)