Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get phrases for a given word #1

Open
saleem-muhammad opened this issue Dec 22, 2018 · 1 comment
Open

Get phrases for a given word #1

saleem-muhammad opened this issue Dec 22, 2018 · 1 comment

Comments

@saleem-muhammad
Copy link

Hi,

I have been jumped from https://www.datamuse.com/api/ which says "The Datamuse API is focused on finding words and phrases". I am looking for an example how to find phrases fror a given word. In https://rhymezone.com/ there is such search facility. Thanks

@dougb5
Copy link

dougb5 commented Dec 22, 2018

To find multi-word phrases that contain a word, use the "spelled like" constraint with two asterisks on either side of the word; for example:
http://api.datamuse.com/words?sp=%2A%2Aroyal%2A%2A

(The pattern syntax is described in more detail here: https://www.onelook.com/?c=faq#patterns)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants