ankitects / anki

Anki's shared backend and web components, and the Qt frontend
https://apps.ankiweb.net
Other
18.36k stars 2.1k forks source link

Automatic spell check, custom dictionary OR Integration into mac ecosystem #1938

Open ParadoxicalEmboli opened 2 years ago

ParadoxicalEmboli commented 2 years ago

Having a spellchecker on hand is extremely useful. Currently I am using (https://ankiweb.net/shared/info/1410276506) which works with the latest version ( ⁨2.1.54 (b6a7760c)⁩) Qt5 but not Qt6 (for the M1 macs). It would be great to simply have this addon built into anki so that Anki gets spell check support in all fields. Further, this addon can be configured to use any custom dictionary, for me I have a medical, english, and german dictionary plugged in and they work wonderfully. Please integrate spell check into anki.

as an aside, it would also be helpful if anki was able to work with the basic mac system abilities such as look up (hard press) and dictionary/spell checker that is available on the mac itself.

glutanimate commented 2 years ago

I have a Qt5/Qt6-compatible version of Spell Checker in the works that's very close to release. I'd be happy to submit a PR once the new version has seen some testing & maturing as an add-on, if you're still up for that @dae (this time within a reasonable time-frame on my end).

That was the original plan with the add-on, so the code is very Anki-idiomatic and can be easily merged into Anki after some adjustments. With this new release especially, everything is fully typed and in line with Anki's current code style.

Same with the UI, which was written from the ground up with the intent to become part of Anki proper at some point:

spell-checker

And I'd be happy to work on any adjustments, UI or otherwise, as we hit the PR stage of course

dae commented 2 years ago

If you're happy to contribute it, that would be appreciated, and I'm sure it would make a lot of Anki users happy.

calania commented 2 years ago

@glutanimate Don't want to rush you but have you made any progress since you last posted?

glutanimate commented 2 years ago

@calania Yep, on it! Currently in the midst of releasing another major project, but I'm hoping to post a progress update soon.

debnath-d commented 1 year ago

Any update on this?

user1823 commented 1 year ago

@glutanimate, any update on this?

xylphe commented 11 months ago

Maybe in Anki 23.10?

user1823 commented 11 months ago

Until the spellchecker gets integrated into Anki, Windows and Linux users can use https://ankiweb.net/shared/info/369581638.

This add-on works with all the latest versions of Anki, including the 23.10 betas.

glutanimate commented 11 months ago

Sorry guys, to give you an update: My focus right now in terms of Anki contributions is on helping with native IO. Once that work is complete, I'm planning on revisiting spell checking.