I’m working on a side project that is essentially a word search. What I want to do is when a user selects and submits a word the program needs to check that this is a valid english word. I could use advice on the best way to accomplish this.
I’ve considered using a word list like this: https://github.com/marcoagpinto/aoo-mozilla-en-dict/tree/master/en_US%20(Kevin%20Atkinson) And having my program use a loop to search for a match between user input and the list. Issue that I see is that I’m not sure how efficient this would be. Additionally I’d have to somehow format the list as an array to search through and I’m not sure how to do that.