NHunspell 与 Microsoft Word?
有谁知道是否有办法将 NHunspell 与 Microsoft Word 集成?
我一直在尝试找到一种方法,将开源拼写词典与 Microsoft Word 结合使用,以支持目前没有直接从 Microsoft 进行拼写检查的语言。但一直没能找到任何解决办法。
我专门与高棉语一起工作(我是 Hunspell< 高棉语拼写检查词典的作者之一/a>),许多人不使用高棉语拼写检查器的原因之一是它缺乏对 Microsoft Word 的支持。已经尝试过 Microsoft Word 集成(PAN柬埔寨 有一个针对 Word 的拼写检查器插件,但它是如此缓慢和不准确,以至于基本上无法使用
更新:我们能够使用 NHunspell 创建一个用于高棉语和 Microsoft Word 的拼写检查器。 href="http://www.sbbic.org/2014/08/08/sbbic-khmer-spelling-checker-microsoft-word/" rel="nofollow">此处以及源代码(您可以将其分叉为另一种语言)。
Does anyone know if there is a way to integrate NHunspell with Microsoft Word?
I've been trying to find a way to use opensource spelling dictionaries with Microsoft Word to enable support for languages that currently do not have an option for spell checking directly from Microsoft. But have not been able to find any solution.
I work specifically with Khmer (I am one of the authors of the Khmer spelling checker dictionary for Hunspell), and one of the reasons many do not use a spelling checker for Khmer is because it lacks support for Microsoft Word. There have been attempts at Microsoft Word integration (PAN Cambodia has a spelling checker add-in for Word but it is so slow and inaccurate that it is basically unusable.
UPDATE: We were able to create a spelling checker for Khmer and Microsoft Word using NHunspell. You can download it here along with the sourcecode (which you could fork for another language).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您正在寻找“通用拼写器应用程序编程接口”。以下是有关它的官方链接:用于 Office 拼写检查的 Microsoft Common Speller API (CSAPI)< /a>
如您所见,它并不是真正公开的,但可以从此处下载实际规范:http://spell.com.ru/dicts/csapi.pdf
如果您正在寻找示例,请在 google 上搜索“Interfaceing an Irish Spellchecker to microsoft word 2000”。
它不是 .NET 接口,而是 DLL 接口,因此您必须使用一些 C/C++ 或其他能够在程序中的某处公开 DLL 导出的语言,才能构建代理来访问 .NET。
I believe you are looking for the "Common SpellerApplication Programming Interface". Here is the official link about it: The Microsoft Common Speller API (CSAPI) for Office spell checking
As you see, it's not really public, but the actual specification can be downloaded from here: http://spell.com.ru/dicts/csapi.pdf
If you're looking for a sample, google for "Interfacing an Irish Spellchecker to microsoft word 2000".
It's not a .NET interface, it's a DLL interface, sou you'll have to use some C/C++ or other language capable of exposing DLL exports somewhere in your program to be able to build a proxy to access .NET.