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.3

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.3
File Size Uploaded
datamuse-python-1.4.3.tar.gz 3.9 kB Details

Built distribution (wheel)

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

Total release size: 9.9 kB

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

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

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

This release

1.4.3 This release

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