You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to generate small words with length 4 or less, generator fails to do so. The program retries 3 times, but throws an exception after that.
I understand that it is because Wordnik responds with code 0, is there anything that can be done to give wordnik extra time to find the word?
To Reproduce
import random_word
r = random_word.RandomWords()
print(r.get_random_word(maxLength=4)
Expected behavior
return a word with specified number of characters
Environment (please complete the following information):
OS: [Ubuntu]
Python [3.10]
random-word [ 1.0.7]
The text was updated successfully, but these errors were encountered:
When trying to generate small words with length 4 or less, generator fails to do so. The program retries 3 times, but throws an exception after that.
I understand that it is because Wordnik responds with code 0, is there anything that can be done to give wordnik extra time to find the word?
To Reproduce
Expected behavior
return a word with specified number of characters
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: