WordsAPI

פרמיום
Verified
על ידי dpventures | מְעוּדכָּן 23 days ago | Data
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

179ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Random words are repeating

Rapid account: Softsafari
softsafari
7 years ago

Hello,

This request is bringing back the same words repeatedly

https://wordsapiv1.p.mashape.com/words/?frequencyMin=6.73&frequencyMax=8.02&partofspeech=noun&letterPattern=[1]{3,12}$&random=true

For instance, here are the words it brought back in sequence. In 11 calls “the” was repeated twice, “for” was also repeated twice and “what” was also repeated twice. This doesn’t seem random. How can I get better random words?

Here are the words in sequence:
the
for
that
for
not
and
you
what
are
what
the


  1. a-zA-Z

Rapid account: Wordsapi
wordsapi Commented 7 years ago

You can find the number of potential words by removing the random=true parameter. If that’s not there, you’ll get a JSON object containing a results.total attribute.

Rapid account: Wordsapi
wordsapi Commented 7 years ago

Hi softsafari,
There are only 13 words that meet your criteria, so it makes sense that words would be repeated if you call that endpoint multiple times.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות