node-spellchecker:SpellChecker节点模块

时间:2024-06-11 01:27:31
【文件属性】:

文件名称:node-spellchecker:SpellChecker节点模块

文件大小:3.16MB

文件格式:ZIP

更新时间:2024-06-11 01:27:31

C++

SpellChecker节点模块 , 或本地绑定,具体取决于您的平台。 Windows 7及更低版本以及Linux将依赖Hunspell。 正在安装 npm install spellchecker 使用 SpellChecker = require ' spellchecker ' SpellChecker.isMisspelled(word) 检查单词是否拼写错误。 word -串字检查。 如果单词拼写错误,则返回true否则返回false 。 SpellChecker.getCorrectionsForMisspelling(word) 获取拼写错误的单词的更正。 word -字符串字得到更正。 返回一个非空但可能为空的字符串更正数组。 SpellChecker.checkSpelling(语料库) 识别文本语料库中拼写错误的单词。 corpus -要进行拼写检


【文件预览】:
node-spellchecker-master
----binding.gyp(4KB)
----src()
--------main.cc(9KB)
--------buffers.h(594B)
--------worker.h(541B)
--------spellchecker_win.cc(10KB)
--------transcoder.h(777B)
--------transcoder_posix.cc(3KB)
--------spellchecker_hunspell.h(948B)
--------spellchecker_linux.cc(249B)
--------spellchecker_hunspell.cc(7KB)
--------spellchecker.h(2KB)
--------worker.cc(1KB)
--------transcoder_win.cc(5KB)
--------spellchecker_mac.mm(5KB)
--------spellchecker_win.h(2KB)
--------spellchecker_mac.h(910B)
----lib()
--------spellchecker.js(3KB)
----.npmignore(84B)
----spec()
--------spellchecker-spec.coffee(26KB)
--------dictionaries()
----.travis.yml(471B)
----LICENSE.md(1KB)
----README.md(4KB)
----appveyor.yml(347B)
----.gitignore(64B)
----package-lock.json(12KB)
----package.json(615B)
----vendor()
--------hunspell_dictionaries()
--------hunspell()

网友评论