neooffice / NeoOffice

Other
34 stars 5 forks source link

Spell Checker - LanguageTool integration #13

Open froses opened 1 year ago

froses commented 1 year ago

Hi,

There is a problem with Catalan spelling checker. I know you are using the macOS spelling checker, but macOS is unable to understand that in Catalan the middle dot between two "L" is not a word separator. So, words as "col·lecció" ("collection") are spelled as two words "col" ("cabbadge") and "lecció" (mining nothing and, obviously, marked as error). When I ask for well spelled alternatives, the alternative is "col·lecció", so we are in an eternal loop.

I know NeoOffice team can't fix it, but I suggest offering LanguageTool as a spelling checker alternative as you do with the grammar checker. LanguageTools works fine as spelling checker in all supported languages (Catalan included).

The latest LibreOffice version (7.4.x) offers a new integration of LanguageTool using the LanguageTool public API. It's interesting because it eliminates the need to install the LanguageTool Plugin (but you need an Internet connection to use LanguageTool).

Recently, LanguageTool offers a deep integration with macOS built-in apps (beta) (Mail, Messages, and Notes). The spelling and grammar checking are totally integrated with those apps. LanguageTool team announced the deep integration with more apps in a future. Why not with NeoOffice.

So, please, consider the possibility to offer LanguageTool as a spelling checker alternative to macOS spelling checker.

plubius commented 1 year ago

I took a look at the new LanguageTool integration in LibreOffice 7.4 and it looks like a very nice feature. We have just started working on upgrading the NeoOffice code to use the LibreOffice 7.4.x code and we should be able to get their new LanguageTool integration as part of the upgrade.

It will take at least a few months to get the upgrade to a beta release but I have set the milestone to NeoOffice 2023 so that we don't forget to test and fix any bugs in LibreOffice's integrated LanguageTool after we finish upgrading our code.

froses commented 1 year ago

Hi!

Thanks to consider my proposal. I think the LanguageTool team is doing an impressive job. The seamless integration with Mail, Messages, and Notes is really remarkable.

Be aware with the LibreOffice 7.4 code integration. I can’t use it with Monterey nor Ventura. LibreOffice 7.4 crashes continuously when I do a vertical scroll using my mouse. The NeoOffice vertical scroll works fine.

Best regards,

Ftancesc Rosés

El 11 oct. 2022, a les 23:36, PL @.***> va escriure:

I took a look at the new LanguageTool integration in LibreOffice 7.4 and it looks like a very nice feature. We have just started working on upgrading the NeoOffice code to use the LibreOffice 7.4.x code and we should be able to get their new LanguageTool integration as part of the upgrade.

It will take at least a few months to get the upgrade to a beta release but I have set the milestone to NeoOffice 2023 so that we don't forget to test and fix any bugs in LibreOffice's integrated LanguageTool after we finish upgrading our code.

— Reply to this email directly, view it on GitHub https://github.com/neooffice/NeoOffice/issues/13#issuecomment-1275300712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6VTSPAYPUI3Q6OECH3TR3WCXMUVANCNFSM6AAAAAARCEPXIQ. You are receiving this because you authored the thread.

plubius commented 1 year ago

Well the bad news is that I have made no progress on upgrading NeoOffice to LibreOffice 7.x. The changes in LibreOffice since LibreOffice 4.4 have been massive so I would essentially need to reimplement signficant parts of the NeoOffice code.

The open secret is that I am doing that, but in LibreOffice 7.5.x directly so an integrated LanguageTool is not likely to ever be added to NeoOffice.

Does LibreOffice 7.5.1 crash when using vertical scroll? I was able to vertically scroll with my mouse wheel in a large Writer document without any problem but I am running macOS Monterey.

froses commented 1 year ago

Hi Patrick,

LanguageTool's integration in LibreOffice 7.5.x through API has some problems when more than one language is used in the same paragraph. However, the LanguageTool extension can be used without any issues.

The issue with vertical scroll has, thankfully, been resolved.

Thank you so much for your efforts!

Best regards,

Francesc

El 11 oct. 2022, a les 23:36, PL @.***> va escriure:

I took a look at the new LanguageTool integration in LibreOffice 7.4 and it looks like a very nice feature. We have just started working on upgrading the NeoOffice code to use the LibreOffice 7.4.x code and we should be able to get their new LanguageTool integration as part of the upgrade.

It will take at least a few months to get the upgrade to a beta release but I have set the milestone to NeoOffice 2023 so that we don't forget to test and fix any bugs in LibreOffice's integrated LanguageTool after we finish upgrading our code.

— Reply to this email directly, view it on GitHub https://github.com/neooffice/NeoOffice/issues/13#issuecomment-1275300712, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6VTSPAYPUI3Q6OECH3TR3WCXMUVANCNFSM6AAAAAARCEPXIQ. You are receiving this because you authored the thread.