hunspellcheck:Hunspell拼写检查器生成器

时间:2024-04-28 12:02:21
【文件属性】:

文件名称:hunspellcheck:Hunspell拼写检查器生成器

文件大小:27KB

文件格式:ZIP

更新时间:2024-04-28 12:02:21

Python

hunspellcheck 该库是使用hunspell编写拼写检查器的助手。 如果您想对不同文件类型的几个拼写检查器的执行和编写进行标准化处理,并针对拼字字典进行拼写检查,那么该库非常适合您。 它将允许您重复使用某些使用hunspell进行拼写检查的模式。 特征 优雅地处理丢失的字典。 通过文件路径的自定义词典。 通过文件路径的个人词典。 参数解析器构建。 经过充分测试的系统调用hunspell 。 拼写检查过程中一组回调的定义。 安装 pip install hunspellcheck 例子 让我们编写一个.txt文件的拼写检查器。 真的很简单: CLI界面 """__main__.py""" import argparse import sys from hunspellcheck import ( extend_argument_parser , ren


【文件预览】:
hunspellcheck-master
----MANIFEST.in(34B)
----.github()
--------dependabot.yml(326B)
--------workflows()
----tests()
--------test_spellchecker.py(9KB)
--------test_cli()
--------test_real_implementation()
--------test_hunspell()
----LICENSE(1KB)
----.yamllint(1KB)
----setup.cfg(2KB)
----hunspellcheck()
--------spellchecker.py(5KB)
--------__init__.py(633B)
--------hunspell()
--------cli()
----setup.py(39B)
----.gitignore(58B)
----README.md(3KB)
----.editorconfig(311B)
----.bumpversion.cfg(114B)
----.pre-commit-config.yaml(1KB)

网友评论