【文件属性】:
文件名称:Spell-Checker
文件大小:524KB
文件格式:ZIP
更新时间:2021-03-19 18:47:59
C
拼写检查程序
C语言中的Trie数据结构分配
描述
该程序接受来自用户的字符串输入,从中构建一个trie结构。然后,用户提供第二个字符串输入(某些文本),程序将检查文本中的所有单词,并返回在词典中找不到的单词。
档案文件
spellchecker.pdf文件说明了分配。
dictionary.c和dictionary.h包含trie的定义和功能。
speller.c是主要的。
.txt文件是该程序的示例。
如何使用
对于手动运行:
make speller
./speller
``` followed by the input.
2. For testing:
做榜样
3. For checking correctness:
做检查的例子
4. For debugging:
制作调试示例
【文件预览】:
Spell-Checker-main
----exampleInput2.txt(1.28MB)
----Makefile(454B)
----exampleInput1.txt(62B)
----dictionary.h(462B)
----spellchecker.pdf(141KB)
----README.md(828B)
----dictionary.c(2KB)
----speller.c(1KB)
----.README.md.swp(1024B)
----exampleOutput1.txt(17B)