vaibhavsingh97 / random-word

This is a simple python package to generate random english words
https://pypi.org/project/random-word/
MIT License
123 stars 25 forks source link

Meaning of random word #1

Open vaibhavsingh97 opened 6 years ago

vaibhavsingh97 commented 6 years ago

Is your feature request related to a problem? Please describe. Right now, random-word gives only random words. If someone wants to know the meaning of random words than user would not able to

Describe the solution you'd like There should be a function which when called should give meaning to the word.

Additional context Look at https://developer.wordnik.com/docsdocs and implement the same 😄

jatin69 commented 6 years ago

Do you mean, let's say

x = randomWord()
meaning = randomWordMeaning(x)

Something like this? or Do you already have something in mind?

vaibhavsingh97 commented 6 years ago

@jatin69 I would prefer

x = randomWord().meaning()

or if user just want to see the meaning then

word_meaning = meaning("<word>")
igagankalra commented 6 years ago

Hey Check out the Pull Request I made, That adds this new Feature.