[Haskell-cafe] How can I get a list of all English words?

MigMit migmit at gmail.com
Sun Feb 6 16:47:37 UTC 2022


Oxford English Dictionary contains more than 600000 words, by the way. And sometimes even humans have trouble discerning typos from made-up words, which may or may not be a concern for you, depending on your goal.

> On 6 Feb 2022, at 17:36, mukesh tiwari <mukeshtiwari.iiitm at gmail.com> wrote:
> 
> Hi Amber,
> 
> Can you give one example, or a test case? If you need every English word, you need to read a English dictionary, which has all the words, and store it in map, or hash-map, because list would be very slow for accessing the words. (is it the case that you want to break a line, e.g., “brown fox jumped over the lazy dog” into list of words, [brown, fox, jumped, over, the, lazy, dog]?) 
> 
> Best,
> Mukesh
> 
> On Sun, 6 Feb 2022 at 16:25, Amber Crawford <aidancrawfordd at gmail.com> wrote:
> I'm creating a project in which I need a list of every English word, so I'm wondering how I would get this. The only thing I need is that I can filter the words based on some boolean function, thanks. btw I'm pretty beginner so sry If i'm not really good at writing these.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.



More information about the Haskell-Cafe mailing list