bryce-anderson / beesolver-haskell

A solver for Spelling Bee written in Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spelling Bee Solver

Solves the New York Times Spelling Bee.

This is a modification of Kevin Olivers's projects, just to see what it's like in Haskell.

Their dictionary is not the same as the one included so you may find missing words as well as extras.

Usage

$ stack build
$ stack exec beesolver-haskell-exe -- --help
The beesolver program

beesolver [OPTIONS] REQUIRED OTHERS
  Solve a Puzzle

Common flags:
  -d --dict=ITEM    Path to custom dictionary
  -w --wordsoutput  Output matching words
  -? --help         Display help message
  -V --version      Print version information

Requirements

  • Haskell stack. Version 2.9.1 is what I used. The text-icu package uses an external library and may be a pain and in addition to install the native library you'll probably need to to do this as mentioned in the docs:
$ export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

About

A solver for Spelling Bee written in Haskell

License:Other


Languages

Language:Haskell 100.0%