I want the WordFrequencyData of the whole WordList[]

However it takes too long to get the result.

WordFrequencyData /@ WordList[Language -> "English"]

Is there a faster workaround?

  • 1
    $\begingroup$ WordFrequencyData uses an external database (Google Ngrams) to retrieve the information so it is naturally much slower than a local function. Consider that you are trying to run roughly 40,000 such searches with your wordlist, and you'll see that it's unlikely you can make this fast. Finally, consider that you could feed the whole list to WordFrequencyData and obtain an association as the output, rather than mapping the function of the list. I don't expect the latter to be much faster, but it's probably a better way to store the results. $\endgroup$
    – MarcoB
    Apr 22, 2022 at 13:11

1 Answer 1


You can sped it up a bit. Do NOT Map. If function can take lists - go with that functionality. Take 100 words sample:


and compare timings on it:





If you have multiple cores you can try to get it in batches and parallelize. For instance:

dict = WordList[];


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.