ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.76k stars 1.08k forks source link

Support of spellcheck engines other than Hunspell #326

Open badaa opened 6 years ago

badaa commented 6 years ago

Do you want to request a feature or report a bug? feature What is the current behavior? None. What is the expected behavior? Currently, Onlyoffice has support for only hunspell spelling engine. How can I integrate another spell checking engine?

ShockwaveNN commented 6 years ago

Currently we have no way to implement another spellcheck engine

badaa commented 6 years ago

Hi, I tend to think Onlyoffice should fix the architecture of the spell checking APIs to stay implementable and independent from any spell checking engines. The ideal example of a such architecture is Indesign's (Adobe) linguistic plugins or Microsoft's CSAPI or OpenOffice/Libreoffice XSpellAlternatives. Hunspell is a good spelling engine but the dictionaries are insufficient, especially for minority languages.

wapsi commented 1 year ago

+1 for this idea.

At the moment it's impossible to spell check Finnish language with Hunspell. I think it would be a good idea to implement support for other spell checking libraries in OnlyOffice, like libenchent (https://github.com/AbiWord/enchant) or sonnet (https://github.com/KDE/sonnet). They both support 3rd party spell checking plugins, like Finnish spell checking library Voikko (https://github.com/voikko).

Or, if the Finnish is the only language that can't be spell checked in OnlyOffice, one option could be to implement support for Voikko spell checker directly into OnlyOffice?