word-checker
word-checker copied to clipboard
🇨🇳🇬🇧Chinese and English word spelling corrector.(中文易错别字检测,中文拼写检测纠正。英文单词拼写校验工具)
版本:0.1.0 ---------------------------------------------- final String speling = "speling 你好以毒功毒"; Assert.assertEquals("selling 你好以毒攻毒", WordCheckers.correct(speling)); --------------------------------------------- **spelling没有被修复为selling,请修正程序。**
var8 = options.iterator(); while(var8.hasNext()) { option = (String)var8.next(); Iterator var13 = this.edits(option).iterator(); while(var13.hasNext()) { String **optionEdit** = (String)var13.next(); if (wordDataMap.containsKey(optionEdit)) { CandidateDto dto = CandidateDto.builder().word(**option**).count((Integer)wordDataMap.get(**option**)).build(); candidateDtos.add(dto); } } } 会导致空指针
启动就报错了

WordCheckerHelper.isCorrect("Sunday") 会返回 false。返回的推荐词为:sundae
![Uploading notfind.png…]()
我想将该项目作为一个依赖引入到springboot项目中,而现在我并没有找到该项目自定义词库动态更新的API。我想问下该版本是否有该设计?或者后续是否有此项设计的安排?