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

mukesh tiwari mukeshtiwari.iiitm at gmail.com
Sun Feb 6 16:36:08 UTC 2022


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20220206/b797dc5e/attachment.html>


More information about the Haskell-Cafe mailing list