houbb / word-checker Goto Github PK
View Code? Open in Web Editor NEW🇨🇳🇬🇧Chinese and English word spelling corrector.(中文易错别字检测,中文拼写检测纠正。英文单词拼写校验工具)
License: Apache License 2.0
🇨🇳🇬🇧Chinese and English word spelling corrector.(中文易错别字检测,中文拼写检测纠正。英文单词拼写校验工具)
License: Apache License 2.0
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
spelling没有被修复为selling,请修正程序。
我从mysql官网爬取文档后,生成单词,然后再用这个项目对单词进行检查,然后导入单词本APP来背单词。
这里有些单词识别问题:
下图是识别失败的单词,有个别像是,upload, deployment,shark这种常见的单词,没有收录
mysqlDicts3.0-error.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.