Giter VIP home page Giter VIP logo

word-checker's Issues

空指针异常

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);
                        }
                    }
                }

会导致空指针

文档中的示例运行失败

版本:0.1.0

final String speling = "speling 你好以毒功毒";
Assert.assertEquals("selling 你好以毒攻毒", WordCheckers.correct(speling));

spelling没有被修复为selling,请修正程序。

项目很好,继续加油,有些疑问

我从mysql官网爬取文档后,生成单词,然后再用这个项目对单词进行检查,然后导入单词本APP来背单词。
这里有些单词识别问题:
下图是识别失败的单词,有个别像是,upload, deployment,shark这种常见的单词,没有收录
mysqlDicts3.0-error.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.