Open source spell check

后端 未结 4 1254
臣服心动
臣服心动 2021-02-19 18:54

Was evaluating adding spell check to a product I own. As per my research the major decisions that need to be made:

  1. The library to use.
  2. <
相关标签:
4条回答
  • 2021-02-19 19:28

    I've used Hunspell for a few things, and I don't really have any horror stories with it. I've only used it with English (American) though, but it claims to work with other languages.

    As for licensing, it offers a choice of GPL, LGPL, and MPL. If you don't like the MPL, you can always choose to use the LGPL.

    0 讨论(0)
  • 2021-02-19 19:33

    As already mentioned Hunspell is a state of the art spell checker. It is the Open Office, Thunderbird, Firefox and Google Chrome spell checker. Ports to all major programming languages are available. It works with the Open Office Directories, so a lot of languages are supported.

    0 讨论(0)
  • 2021-02-19 19:48

    Here is a good demonstration by Peter Norvig: I find this simple explanation much more intuitive. Follow the links in the doc as well for more indepth analysis.

    http://norvig.com/spell-correct.html

    0 讨论(0)
  • 2021-02-19 19:49

    There are several pupular options that widely used: myspell, aspell. Check them.

    • http://en.wikipedia.org/wiki/MySpell
    • http://en.wikipedia.org/wiki/GNU_Aspell
    0 讨论(0)
提交回复
热议问题