45 2
Contact Author Sign in to rate

(Legacy) Spelling Police™

0.08MB. Updated 2020-03-03. Only supports Anki 2.1.x.
The author has shared 6 other item(s).

Description

(Looking for a new maintainer) About: If you read "The Shallows", it describes the over reliance of spell checkers in modern software. Well, the over reliance of a lot of things in modern tools... But the basic idea is that auto-correct is making us stupid. This addon follows that idea and is off by default, but when turned on, spelling police nags you and points out all your spelling errors. It does not fix spelling mistakes for you. That's your job. This tough love approach will help you to learn to spell better. (Hopefully...) Disclosure: This addon was written to scratch an itch on how removing auto correct would impact learning and long term retention. It was not meant for spellchecking or such features that most modern software come with. If this is something you need, feel free to fork or start your own project. Dictionaries: It uses .bdic files which is used by chrome. You can download some of them here: https://github.com/cvsuser-chromium/third_party_hunspell_dictionaries Here is one example file: https://github.com/cvsuser-chromium/third_party_hunspell_dictionaries/blob/master/en-US-3-0.bdic There are custom user-created dictionaries posted here. Setup: Go to `Tools > Dictionary Configurations` and click the browse button. Put all your .bdic files into this "dictionaries" folder. You may need to restart the first time after installing new dictionaries. Once you have it setup, enable or disable the dictionaries of your choice. More than one is allowed, but try to avoid language conflicts (e.g. Chinese and Japanese). Setup Instruction for Alternate Versions of Anki: Alternate versions of Anki uses qt5.9 that requires a special folder called `qtwebengine_dictionaries` to be created in the anki.exe folder. It uses the qtwebengine_dictionaries directory relative to the executable. This addon will try to create it, but you will need Read-Write permissions to do so. The same applies to mac and linux, but the folder location may differ depending on your distro. Screenshots: Changelogs: 3/02/2020 - v0.3.2: Added support and setup instruction for alternate version of anki using qt5.9. 2/29/2020 - v0.3.0: Added Dictionary Manager. 2/26/2020 - v0.2.0: Added support for addon:Edit field during review. 2/18/2020 - v0.1.0: Optional autocorrect was added to configs (Thanks dgeranton). Now you guys can go find something else to complaint about. License: This addon is a labor of love and licensed under the GPL. If you find it useful, consider paying something forward by supporting some charitable endeavors. Suggestions: https://iccf-holland.org/ https://www.vim.org/sponsor/index.php Derivative works or forks published with no added values should also include the above statement. .

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

1410276506

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1633537789
Better than all spelling addons including Glutanimate's. Could you however add a way to add words to dictionaries and remove the cloze syntax from being checked? (c1, c2, etc)
Comment from author
I'm afraid not, spell checking is done by the Anki browser (Qt). These types of addons just enables spell checking and adds GUI crap to toggle different dictionaries on/off. Those extra features you're asking for is not yet supported by the toolkit. You have to ask the architects, not the code monkey. https://bugreports.qt.io/browse/QTBUG-64381

Hmmm... Now that you mentioned it, it doesn't make sense for the free version to be better then the paid version. I may have to scale back on some of the features.
on 1629688717
Very nice
on 1624254480
Great addon! I hope you win a million dollars in the lottery.
on 1623093026
The Author is funny
on 1619754315
Nice Addon! I just can't see any suggestions. How can I enable it?

Update: Fixed after enable duck mode.
on 1619450320
Love it :D
on 1617907882
Good
on 1617361444
Should be implemented in Anki
Must have add-on
on 1616089820
Not working on Anki latest version
Comment from author
Nuclear launch detected
on 1615901784
doesn't work
Comment from author
My 8 balls says: Try again...
on 1615240938
ANKI Version 2.1.38
perfect now
Comment from author before post was edited
It's a problem with your qt version, I have no control over it. Ask mommy to buy you a new computer? ¯\_(ツ)_/¯
on 1613272971
Hi, I love this add-on!

The only question I have is how do you make it so that whenever a word is misspelled, there are suggestions. Now, I only have the red line under the misspelled word, and there are no suggestions.
Comment from author
They are turned off by default. Users are encouraged not to use spellcheckers. But you may enable it in the config settings.

"The friendlier the software, the dumber the user." --Nick. Carr
on 1613269961
Fantastic!! Incredible helpful, muchas gracias
on 1611241687
Great add on!
One question: Is there a way to disable the add on for certain decks or card types while keeping it enabled for others? I have a spelling deck where I type sentences and having the spell check on for these cards defeats the purpose. Thanks!
Comment from author
That's something I need to think about. I have mine turned off by default.
My original goal was to discourage the use of spellcheckers, but that didn't work out too well as it turns out.
on 1610708566
does what it says, very useful!!
on 1610437852
Awesome, thank you!
on 1609885990
Works well!
on 1609301837
It works! If you've installed Chrome, you might find dictionary file at:

--------------------
<Windows 10>
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\en-US-8-0.bdic

<Linux - Fedora>
~/.config/google-chrome/Dictionaries/en-US-9-0.bdic
--------------------

After finding the bdic file, copy it to:
--------------------
<Windows 10>
%APPDATA%\Anki2\dictionaries\en-US-8-0.bdic

<Linux>
~/.local/share/Anki2/dictionaries
--------------------

After that, you may enable or disable bdic by configuring [Tools > Dictionary Configuration] in Anki.
on 1602147337
it works well, but need auto-on this Spelling Police. every deck making I turn on option...
on 1601828294
I save a lot of time with this. I am a very perfectionist and I want everything to be well written, so I used to spend a lot of time fixing some words during the reviews that I had not noticed. Fewer words escape me now. It would be great to be able to access more complete dictionaries or to be able to add new terms so that it stops detecting them as incorrect.
on 1600799904
Works perfect thanks
on 1600255969
Works well, thank you!
on 1597839150
Glutaminate charges people for this add-on (sigh) so thank you for making this affordable for everyone!! You rock!!! It works as of 08/19/2020
Comment from author
To each his own I guess. His version comes with babysitting duties.
on 1596380066
Needed this for creating cards!
on 1596214157
Great addon, thanks
on 1594568521
No kidding, I like your sense of humor. Also, thanks for the hard work.
on 1594205007
For someone who struggles with spelling this is a lifesaver!
I was wondering though if you knew of any medical dictionaries that would work with this add-on because I struggled to find any on the git hub page (I may have missed it though).
Comment from author
I don't know sorry. Maybe ask someone who's in the medical profession.
on 1591246620
Really amazing add-on! I've searched quite a bit but have not found an answer to this question. I currently have a .txt file containing a medical dictionary. I was unable to locate such a .bdic file, however.

Do you know of a way I can convert this .txt to a .bdic --- or is there a way to add a txt file to my dictionaries?
on 1589706761
I love this but I am not sure why my suggested alternative words in not displayed when I right-click on a misspelt word.
on 1587309938
You could use this deck to make a dictionary?
on 1586683640
I love this plugin, adding a config file instead of changing the python script directly would make it better.
Comment from author
?? Config file was added months ago... Sounds like your addon updates are screwed up.
on 1586442708
Edit 1: okay no worries - thanks for fast reply! Add-on works great btw

Amazing, but I'm struggling to find a .bdic file that includes medical terminology (is it possible to get the dictionary used by Microsoft Word?)

Alternatively, could it be possible to have an 'Add to Dictionary' option (either actually adding to the dictionary, or even just preventing that particular word from ever being underlined)?

Thank you!
Comment from author before post was edited
medical bdic: As I am not a medical student, I wouldn't have access or a need for such a thing, maybe somebody will share?

Add to Dictionary: These may come in the future, but the current toolkit does not allow it. See bug report: https://github.com/lovac42/SpellingPolice/issues/2
on 1585886648
Awesome!
on 1585254343
I know Ill be hated for this complaint/suggestion but is there anyway for it to correct on its own without me having to right click and select the corrected word? kind of like how word does it...I have all my settings set to "true"
Comment from author
Just wait a day, someone will try to sell you this idea.
on 1584133414
It works.
on 1583268963
What the Duck! It underscores wrong words, but doesn't suggest the right word!

Edit: It's fixed now after enabling that "bold" thing option in config. Thanks for you efforst.
Comment from author
My point exactly! https://www.youtube.com/watch?v=MtN1YnoL46Q

Spell checking is handled by the Qt toolkit, this addon is nothing more than a fancy checkbox that enables or disables this built-in feature. About 3 lines of code. The quality and accuracy of spelling checking depends on your version of Qt and the dictionary file(s) you are using. So replacing your dictionary with the new ones from chrome (en-US-9-0.bdic) should improve things.
on 1582693675
This is great! Does anyone know how to add to the dictionary? I would like to add medical terminology so that it doesn't light up everything I type. I have a Medical.dic file, but have now clue how to turn it into a .bdic file.
Comment from author
Only .bdic files are supported, google is your friend? I'm on windows, so most of those tools aren't available to me or I can't get admin to sign off on it.
on 1582653864
Finally, the messiah has arrived. Just as good Glutanimate's paid version on Patreon--perhaps even better because it supports custom dictionaries!

Thank you very much. By the way, I appreciate your sassy comments in the description and review replies.
on 1582105332
Thanks for adding the auto correction it's so great !
on 1575801967
Usefull app. Is there an easy way to add words manually into the spellchecker? Would be grateful if you could recommend a way. Thanks for taking time and making this extention available for people you don't even know.
Comment from author
Not at this point I'm afraid.
on 1575727795
This a very useful extention. I honestly think that the author's idea that the spellchecker shouldn't auto correct because everyone's gotta learn how to spell correctly is flawed. For instance, in my case, I paste some notes from PDF, and occasionally when I paste, words get distorted so I need a spellchecker.

On another note, two questions

1) Would it be possible to add words in the dictionary? (especially for proper names)
2) If I from time to time add a proper name on Google's spell checker and later replace the previously copied bdic file, can I resolve this issue as a work-around?
Comment from author
Anything can be fixed, just need to find the time for these personal projects. And pull requests are welcome for (one) and (two).
on 1574150837
I downloaded it and the spelling police check is on but it's not telling me if I misspelled a word. Can you please tell me what's wrong?
Comment from author
https://github.com/lovac42/SpellingPolice/issues/1
on 1573741163
Hi lovac42,
what is the "paid version from another dev that comes with autocorrect." that you mentioned?

I'm curious what it can do although I agree that it is better for memory and understanding if the user looks up words and rules.
Comment from author
Sorry, these feedbacks shouldn't become advertisments for close source. But you can google it.
on 1573143928
You can still offer other possible words without auto-correction. User can pick what they're trying to spell from the list and type it. That's not auto-correct. Most of the time, if the user knows how to spell then the word then it would not be misspelled in the first place. The way the plugin is currently is 1/2 useful where user would still have to go through the trouble of googling the word for correct spelling if it's a word they really can't spell.
Comment from author
That is an interesting idea. But it's probably the tedious process of looking up a word that forces the mind to remember as a way to cope with and avoid such unnecessary steps in the future. I suppose I could have a popup and force you to type the word 5X before replacing it, but then someone clever could look in to the code and bypass it. And as I recently found out, there is a paid version from another dev that comes with autocorrect. Maybe reach out and see if you can buy a copy from him.
on 1570290839
Is there a way to have it stay on so you are not having to check the box every time you open a new card?
Comment from author
Check source code, change CHECK_ON_STARUP to True.
on 1569168772
It works. I was looking for something like this because English isn't my first language.
I wish it would recommend some correction though.
Comment from author
I am not against others forking and adding features, but I am strongly against corrections. Tough it out.
on 1563097598
works well 👍