NHunspell with Microsoft Word?

Does anyone know if there is a way to integrate NHunspell with Microsoft Word?

I am trying to find a way to use open source spelling dictionaries with Microsoft Word to enable support for languages ​​in which there is currently no way to check spelling directly from Microsoft. But could not find a solution.

I work specifically with the Khmers (I am one of the authors of the Khmer word validation dictionary for Hunspell ), and one of the reasons for many is not to use spell checking for Khmer because it lacks Microsoft Word support. There have been attempts to integrate Microsoft Word ( PAN Cambodia has a spell checker add-in for Word, but it is so slow and inaccurate that it is mostly unusable.

UPDATE: We were able to create spellcheckers for Khmer and Microsoft Word using NHunspell. You can download here along with the source code (which you can develop for another language).

+4
source share
1 answer

I believe you are looking for the "Common SpellerApplication Programming Interface". Here's the official link: Microsoft Common Speller API (CSAPI) for Office Proofing

As you can see, it is not public, but the actual specification can be downloaded here: http://spell.com.ru/dicts/csapi.pdf

If you are looking for a sample, google for "Interacting with the Irish Checklist on Microsoft Word 2000"

This is not a .NET interface, it is a DLL interface, so you will have to use some C / C ++ or other languages ​​that can expose DLL export somewhere in your program in order to be able to create proxies for accessing .NET.

+4
source

All Articles