wgap-spellchecker:拼写检查器,保证如预期的那样好写

时间:2024-05-28 08:19:27
【文件属性】:

文件名称:wgap-spellchecker:拼写检查器,保证如预期的那样好写

文件大小:4KB

文件格式:ZIP

更新时间:2024-05-28 08:19:27

JavaScript

写得好(如所承诺的)-拼写检查器 用于检查您的书写中拼写错误的单词的模块,该模块是通过库为。 它不适用于普通的写好库。 安装 到目前为止,尚未启用NPM。 克隆它即可。 git clone https://github.com/noahlange/wgap-spelling.git 用 var spelling = require ( 'wgap-spellchecker' ) ; console . log ( spelling ( 'There are som werds spellt incorrectly heer.' ) ) /* yields: [ { reason: 'som (some, son, tom)', index: 10, offset: 3 }, { reason: 'werds (words, weeds, nerds)', index: 14,


【文件预览】:
wgap-spellchecker-master
----.travis.yml(159B)
----index.js(804B)
----package.json(524B)
----test()
--------test.js(713B)
----LICENSE(1KB)
----.gitignore(35B)
----README.md(1KB)

网友评论