Skip to main content

Library Documentation

If you encounter any problems or have suggestions for improvement while using this library, we kindly request that you open an issue on our GitHub repository. Your feedback is invaluable in helping us enhance the quality and functionality of the library. Please feel free to describe the issue in detail, including any relevant information, steps to reproduce, or expected behavior. We appreciate your contribution to making this library better for all users. Thank you.

Function Documentation

getAdjectiveByRelation

Retrieves adjectives related to a given noun within specific topics using the Datamuse API.

Args:

  • word1 (str): The noun for which you want to find related adjectives.
  • word (str): The topics to consider for related adjectives.

Returns:

  • str: A space-separated string of related adjectives.

getWordSpelledSimilar

Retrieves words that are spelled similarly to a given word using the Datamuse API.

Args:

  • word (str): The word to find similar spellings for.

Returns:

  • str: A space-separated string of words with similar spellings.

getWordsThatSoundSimilar

Retrieves words that sound similar to a given word using the Datamuse API.

Args:

  • word (str): The word to find words that sound similar to.

Returns:

  • str: A space-separated string of words that sound similar.

nouns_described_by_adjective (Deprecated)

Retrieves nouns commonly described by a given adjective using the Datamuse API.

Args:

  • adjective (str): The adjective to find associated nouns for.

Returns:

  • str: A space-separated string of associated nouns.

Note: This function is deprecated. Please use 'getNounsMatchingAdjective' instead.

getNounsMatchingAdjective

Retrieves nouns commonly described by the given adjective using the Datamuse API.

Args:

  • adjective (str): The adjective to find associated nouns for.

Returns:

  • str: A space-separated string of associated nouns.

getWordWithDifferentPrefix

Retrieves words related to 'word1' that have a specific 'word' prefix using the Datamuse API.

Args:

  • word1 (str): The base word to find related words for.
  • word (str): The desired prefix for related words.

Returns:

  • str: A space-separated string of related words.

getWordWithDifferentSuffix

Retrieves words related to 'word1' that have a specific 'word' suffix using the Datamuse API.

Args:

  • word1 (str): The base word to find related words for.
  • word (str): The desired suffix for related words.

Returns:

  • str: A space-separated string of related words.

getWordWithCertainAmountOfLetters

Retrieves words with a specific number of letters that combine 'word1', 'letters', and 'word2' using the Datamuse API.

Args:

  • word1 (str): The first part of the word.
  • letters (str): The specific letters to include.
  • word2 (str): The second part of the word.

Returns:

  • str: A space-separated string of words with the specified letters and format.

getRhymingWords

Retrieves words that rhyme with 'rhyming_word' and are related to 'base_word' using the Datamuse API.

Args:

  • base_word (str): The base word to find related rhyming words for.
  • rhyming_word (str): The word to find rhyming words for.

Returns:

  • str: A space-separated string of related rhyming words.

getWordRythm

Retrieves words that rhyme with a given word using the Datamuse API.

Args:

  • word1 (str): The word to find rhyming words for.

Returns:

  • str: A space-separated string of rhyming words.

getWordSuggestions

Retrieves word suggestions based on an input word using the Datamuse API.

Args:

  • word1 (str): The input word to get suggestions for.

Returns:

  • str: A space-separated string of suggested words.

getWordThatFollowWord

Retrieves words that follow 'base_word' in a sentence and start with the specified 'prefix' using the Datamuse API.

Args:

  • base_word (str): The base word to find following words for.
  • prefix (str): The desired prefix for following words.

Returns:

  • str: A space-separated string of following words.

getWordThatDescribesAdjective

Retrieves words that commonly describe the given adjective using the Datamuse API.

Args:

  • word1 (str): The adjective to find associated describing words for.

Returns:

  • str: A space-separated string of describing words.

getWordTriggeredByAssociation

Retrieves words triggered by association with a given word using the Datamuse API.

Args:

  • word1 (str): The word to find associated words for.

Returns:

  • str: A space-separated string of associated words.

Metadata

Release files for datamuse-python 1.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datamuse-python 1.3.5
File Size Uploaded
datamuse-python-1.3.5.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datamuse-python 1.3.5
File Interpreter ABI Platform
datamuse_python-1.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 18.1 kB

Release files / datamuse-python-1.3.5.tar.gz

Download URL datamuse-python-1.3.5.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ac8bba31ddd1d878c2ad803c68d56b2caa14efa90b468529490945c9d061e3aa
BLAKE2b-256 checksum
How to use checksums
8ba1a0ef55d660029ea454d8c44031e4f7ded6330c97fe3172a2e9c672f1b218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / datamuse_python-1.3.5-py3-none-any.whl

Download URL datamuse_python-1.3.5-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37d77eaf011260328cf5857efb7aece7cb972a2981cde4b39a7c32eec4eeb682
BLAKE2b-256 checksum
How to use checksums
3bf3169b8a0aa5c92c232452dc27d8c80a5f8e7963815473f73375dad6904b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

1.4.8

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

This release

1.3.5 This release

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3

2 release files

1.2

1 release file

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page