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

To Use The Library

from datamusepython import DatamusePython
print(DatamusePython.{function})

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.4.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.4.5
File Size Uploaded
datamuse-python-1.4.5.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 9.9 kB

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

Download URL datamuse-python-1.4.5.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ade74abccb99aceb37e031e61421960ff97cd778eb1008626af304c7511f5081
BLAKE2b-256 checksum
How to use checksums
ecca406eab601c11af74e36aa3347ca843c8358bf15487e0165a5e365fc11d72
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.4.5-py3-none-any.whl

Download URL datamuse_python-1.4.5-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5a7794db88cf3ddde7b7a832bbb8f571c676364cd383f2ba110e59208fca559
BLAKE2b-256 checksum
How to use checksums
c60d9a2355a2b5dbe9a1260e3d0903cbcf66c53d08dd347d25b98b32563d9a63
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

This release

1.4.5 This release

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

1.3.5

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