【文件属性】:
文件名称:Letter-Matrix:Haskell 中的单词搜索字母矩阵求解器
文件大小:161KB
文件格式:ZIP
更新时间:2021-06-22 09:12:03
Haskell
字母矩阵
用大约 20 行 Haskell 编写的单词搜索游戏或字母矩阵求解器。
编译运行
编译所有优化。
ghc -O2 --make Solver.hs
使用字典和输入文件作为命令行参数运行求解器。
./Solver dictionary/eng.dic example/example.txt +RTS -s
euphemism
icon
conn
juxtaposition
posit
position
climax
lima
sarcasm
cont
text
ambiguity
pate
temp
temple
cacophony
phony
akin
king
conn
notation
rios
catharsis
thar
narrative
attn
palm
person
personification
fica
cation
notation
soliloquy
【文件预览】:
Letter-Matrix-master
----.gitignore(125B)
----LICENSE(1KB)
----README.md(2KB)
----Solver.hs(908B)
----example()
--------example.txt(480B)
--------example3.txt(9KB)
--------example2.txt(811B)
----dictionary()
--------LICENSE.txt(14KB)
--------eng.dic(414KB)