We are developing an application in which we need to implement spell checking for Indic languages that use ANSI fonts (not UNICODE)
我们正在开发一个应用程序,我们需要对使用ANSI字体(而不是UNICODE)的印度语言进行拼写检查
I am looking for a Dictionary Component or Source Code that will allow:
我正在寻找一个字典组件或源代码,它将允许:
- To maintain separate dictionaries like for example Legal, commercial, etc.
- Support more than one language
- If possible to allow developer to set parsing parameters so that we as developers can determine as to how given text should be broken down in words
- Support Addition of words to dictionary (should maintain separate dictionary and not modify original dictionary)
- Support custom dialog box so we can design our own dialog box (if required)
- Should be able to distinguish case of characters meaning it should not consider cascade and Cascade as same (if possible). There should be some kind of parameters that will allow us to enable/disable this feature
维护单独的词典,例如法律,商业等。
支持多种语言
如果可能的话,允许开发人员设置解析参数,以便我们作为开发人员可以确定如何在文字中细分给定文本
支持在字典中添加单词(应保持单独的字典而不是修改原始字典)
支持自定义对话框,以便我们可以设计自己的对话框(如果需要)
应该能够区分字符的情况意味着它不应该考虑级联和级联相同(如果可能)。应该有某种参数可以让我们启用/禁用此功能
If this dictionary can check spellings in another Windows App that would be an added advantage.
如果这个字典可以检查另一个Windows应用程序中的拼写,这将是一个额外的优势。
2 个解决方案
#1
As the link in the comment suggest, I would look at Addict component suite and plus pack. Dictionary wizard provide way of creating specialized dictionaries. There's also APIs "allowing for text parsing, dictionary lookup, text corrections, misspelling suggestions, thesaurus contexts and more."
正如评论中的链接所示,我会看一下Addict组件套件和plus pack。字典向导提供了创建专用字典的方法。还有API“允许文本解析,字典查找,文本更正,拼写错误建议,同义词语境等等。”
Addict was written and designed from the ground up to be as robust and flexible as possible. Developers have complete API access to all of Addict's core features, including main dictionaries, control parsers, parsing engine, entities to ignore while parsing, custom dictionaries, suggestions generation, thesaurus file, and much more.
Addict是从头开始编写和设计的,尽可能强大和灵活。开发人员可以完全访问Addict的所有核心功能,包括主要词典,控制解析器,解析引擎,解析时要忽略的实体,自定义词典,建议生成,同义词库文件等等。
#2
You should split spellchecker core system and your UI.
您应该拆分拼写检查核心系统和UI。
So, in your application, you should add any dialog boxes and configuration. Spellchecker core just works with plain text and returns list or errors with suggestions.
因此,在您的应用程序中,您应该添加任何对话框和配置。 Spellchecker核心只适用于纯文本并返回列表或错误以及建议。
There are dozens of open-source spellchecker core implementations. You can even use online services like Google's one (look at Google Wave videos).
有许多开源的拼写检查核心实现。您甚至可以使用Google等在线服务(查看Google Wave视频)。
#1
As the link in the comment suggest, I would look at Addict component suite and plus pack. Dictionary wizard provide way of creating specialized dictionaries. There's also APIs "allowing for text parsing, dictionary lookup, text corrections, misspelling suggestions, thesaurus contexts and more."
正如评论中的链接所示,我会看一下Addict组件套件和plus pack。字典向导提供了创建专用字典的方法。还有API“允许文本解析,字典查找,文本更正,拼写错误建议,同义词语境等等。”
Addict was written and designed from the ground up to be as robust and flexible as possible. Developers have complete API access to all of Addict's core features, including main dictionaries, control parsers, parsing engine, entities to ignore while parsing, custom dictionaries, suggestions generation, thesaurus file, and much more.
Addict是从头开始编写和设计的,尽可能强大和灵活。开发人员可以完全访问Addict的所有核心功能,包括主要词典,控制解析器,解析引擎,解析时要忽略的实体,自定义词典,建议生成,同义词库文件等等。
#2
You should split spellchecker core system and your UI.
您应该拆分拼写检查核心系统和UI。
So, in your application, you should add any dialog boxes and configuration. Spellchecker core just works with plain text and returns list or errors with suggestions.
因此,在您的应用程序中,您应该添加任何对话框和配置。 Spellchecker核心只适用于纯文本并返回列表或错误以及建议。
There are dozens of open-source spellchecker core implementations. You can even use online services like Google's one (look at Google Wave videos).
有许多开源的拼写检查核心实现。您甚至可以使用Google等在线服务(查看Google Wave视频)。