Misspelled - Chat Spellchecker
Misspelled is a chat spell-checker addon. Misspelled watches the chat messages you type, highlighting any misspellings and offering suggestions for any misspelled words it finds.
I've included in the US & UK English dictionaries some Warcraft specific proper nouns, including the zone names, and all dungeon and raid boss names. Your friends and guild members are also automatically added, and shouldn't get flagged as misspelled words..Misspelled utilizes the HunSpell style, affix (prefix/suffix) compressed dictionaries. The same ones used in Chrome, Firefox, and OpenOffice. Misspelled provides suggestions based on words that phonetically sound like the misspelled word, along with providing suggestions based on common mistakes of spelling. While Misspelled can detect nearly the same number of individually correctly spelled words as OpenOffice, it's suggestion engine, is "somewhat" less complicated, than the HunSpell implementation.
Misspelled includes dictionaries for US-English, UK-English, French, German, Italian, Russian (experimental), and Spanish. The appropriate dictionary, for your game client locale, will auto-load, or you can manually choose what dictionary to use from Misspelled's Interface/Addons options page.
I'm attempting to localize the menus and configuration page. You can help by visiting: http://www.wowace.com/addons/misspelled/localization
Misspelled works with WIM (Wow Instant Messenger), and is compatible with: Prat, Skinner, and Chatter.
Usage note: Spell Checking is performed as you complete each word you've typed. The last word in the chat box, isn't spell checked until you type some form of word terminator, either a period, space, or some other word separating punctuation. Spell checking is very fast; but isn't performed needlessly, while a word is being typed.
Misspelled is compatible with Wow, Wow Classic/Wrath/Cata If you are having problems with Misspelled, please try updating or disabling all other chat addons you may be running.
Official Distribution Points
Curse: http://www.curse.com/addons/wow/misspelled
WowInterface: http://www.wowinterface.com/downloads/info13493-Misspelled.html
Donations accepted to: https://www.paypal.com
Change Log:
- v1.11.3 - Updated for The War Within. Addon options are working and some proper nouns for TWW for the US and GB dicrionaries were added.
- v1.9.5 - Fixed packaging issue to publish Wrath version. Added the word: Oathstone to the US and GB dictionary word lists. Fixed a few escape sequence errors Luacheck found.
- v1.9.0 - TOC update for Wow 10.0 Dragonflight. Added some proper nouns for Dragonflight for US and GB dictionaries.
- v1.8.8 - Added proper nouns for Shadowlands Eternity's End
- v1.8.7 - TOC update for Wow 9.2, Classic and BCC
- v1.8.6 - TOC updated for compatibility with Wow 9.1.5, Classic and BCC
- v1.7.4 - Fixes for Wow Classic
- v1.7.2-r76 - Added updates suggested by tammymg to only allow a max of 12 color code tags in the chat edit box, and fixed a local var typo.
- v1.7.1-r75 - TOC bump for patch 8.1. Fixed suggestion popup error, and dictionary editor PlaySound errors.
- v1.5.18-r66 - TOC Bump for patch 5.2. Teh vs the, hard coded rule added.
- v1.5.15-r63 - Added some Pandaria proper nouns to the enUS English dictionary.
- v1.5.11-r59 - Added missing Cataclysm instance boss names, to the enUS English dictionary.
- v1.5.10-r58 - Version bump to update embedded libs.
- v1.5.08-r56 - Added some Cataclysm proper nouns to the enUS and enGB dictionaries. (New zone names, dungeons, bosses, Worgen, etc...)
- v1.5.07-r55 - Fix needed for compatibility with the PTR v4 and Cataclysm game client.
- v1.5.06-r54 - Added support for UI localization. Now I just need some help with translations. "Fixed" compatibility with the addon Gryphonheart Items. (GHI) Gryphonheart Items begins it's item color tags with a (|C) capitol C (vs the standard |c). I added that possibility to the chat text parsing routines.
- v1.5.04-r52 - Added itIT Italian dictionary, including Chromium delta words.
- v1.5.03-r51 - Fix an error preventing the enGB dictionary from loading.
- v1.5.02-r50 - Added ruRU - Russian dictionary (experimental), and support for PTR patch 3.3.5's IM chat changes, that introduce multiple chat edit boxes. This version is compatible with both release and PTR versions of the game client.
- v1.4.02-r48 - Corrected a typo in the .toc file. The addon Title entry was mistakenly mistyped. "Mispelled" was changed to "Misspelled". Changing the title, may re-enable the addon, where it has been explicitly disabled.
- v1.4.01-r47 - Added a UK English (enGB) dictionary. Those wanting to use this dictionary, should uncheck the auto-dictionary selection option, and select the enGB option, then reload. Like the other Misspelled dictionaries, this one was derived from the enGB dictionary included in Openoffice & Chromium. Included in this dictionary are the Wow proper nouns I included in the US English dictionary, including zone names, raid boss names, and a few other Warcraft specific words. Due to the similarity to US English, the suggestion engine uses the same phonetic rules for both dictionaries.
- r46 - TOC updated for patch 3.3
- r45 - Added UI to show, and allow deletes, of words added to user dictionary. You'll find the "Edit Dictionary..." button, in the Interface/Options area. Reminder: you can add words to your user dictionary, by right-clicking a misspelled word, and clicking, "Add to Dictionary"
- r42 - Beta release for PTR Patch 3.3. Misspelled is fully compatible with the current PTR. This beta release contains only a TOC bump, and no other changes. I'll leave this release flagged as beta until patch 3.3 is released and I can perform final testing.
- r41 - Fixed a version number typo.
- r40 - Modified a hook to WIM, needed to remove the highlighting of misspelled words, prior to sending a chat message to the server. The author of WIM is due to add a specific API, just for this purpose, in the next release.
Added the following words to the US English dictionary (includes some proper nouns from the patch 3.3 PTR): Frostwing, Sindragosa, Baine, San'layn, Bronzebeard, Valanar, Doomguard, Saurfang, Plagueworks, Highlord, Tirion, Valithria, runeblade, Fordring, Muradin, Putricide, Deathwhisper, Hippogryph, Bloodhoof, Lich, Frostmourne, Wrynn, Marrowgar, wyrm, Skybreaker, undeath, Orgrim's, Dreamwalker, Shadowfiend, Mograine, Darion, Lana'thel - r39 - Added 77 additional words to the US English dictionary. (Patch 3.2 instance boss names)
- r37 - Replaced French dictionary with the one used in Chromium. I included the additional words Chromium added.
- http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/hunspell/dictionaries/ (fr_FR.dic_delta)
Fixed a typo/bug in the UTF8 section of RemovePrefix. This was causing words to be flagged as misspelled, if you were using one of the UTF8 (non-English) dictionaries and the word contained one of the affix compressed prefixes, even though the word was spelled correctly. - r36 - Added a French dictionary.
- r35 - Hopefully fixed the issue that was crashing client.
Hooked ChatThrottleLib:SendChatMessage so I can clean any misspelled highlighted words before the message is sent. - r34 - Misspelled now adds spell-checking to WIM chat windows. Please report any issues you have with this new feature.
- r33 - Guild member and friends player names phonetic codes were always being generated using the US English phonetic code routine. The generic phonetic code is now used for German and Spanish. Locals added for ipairs and pairs, to WordDict.lua, to increased speed.
- r32 - Added 642 new base words to the US English dictionary. See the change-log for more info.
- r31 - Fix an error occurring for new users that were not using a prior version and didn't have a savedVariables Misspelled.lua file.
- r30 - Spanish (esES) dictionary support added.
There is a new interface options page, that allows you to manually select a dictionary to load.
Fewer and better suggestions returned for misspelled words.
UTF8 multi-byte character encodings support added. - r25-r27 Capitalized misspelled words will stay capitalized after selecting a replacement suggestion. Long term I want to detect the beginning of a sentence, so I can correct incorrect Capitalization. For now this change should help.
Added these characters to the list of word separators: "(", ")", ";"
The Suggestion ranking EditDistance method's substitution cost, is now case insensitive. - r24 - Changed the misspelled highlighting to a medium-cyan-ish color. Hopefully this will make it easier to see misspelled words in all the common channels: Say, Party, Raid, Guild, Whisper, Trade, Yell
- r23 - Added Ace3 OptionDep tag to the .toc, so the addon would properly load for those running without libs embedded.
- r22 - Now uses AceEvent to replace the hidden frame and OnEvent hook needed to load guild members.
Added the "words" LFG and LFM to the US English dictionary.
When a suggestion is selected to replace a given misspelled word (or Ignore or Add to Dic. was selected), the cursor was positioned at end of the replaced word. Now, if there is a space after that word, the cursor is positioned to the right of that space. This should reduce the spell-checking needed when the only character on the line, to the right of a cursor, is a space. - r21 - Changed some of the frame xlm code, to hopefully hide a phantom dropdown frame that was being reported showing up.
- r20 - A German dictionary has been added and will load if you are using the German client.
Note: No Warcraft specific proper nouns have been included in the German dictionary.
Did some work to help ensure Misspelled's compatability with other chat addons.
Various speed improvements. - r19 - Fix for errors reported loading friends player names into the dictionary.
- r18 - Reduced memory needed to store the dictionary in half. Affix keys and phonetic codes are no longer stored using subtables. Memory usage went from 11.6Mb to 5.7Mb
The user dictionary storage format was changed to match the, updated, in memory dictionary storage format. Any existing user dictionaries will be converted the first time you load r18.
Improved the suggestions generation, especially when the word contains a capital letter.
Maximum number of suggestions returned is now 8, not 10. - r17 - No UI or functionality changes. Made some parts of the code more efficient.
- r16 -
Maximum suggestions increased to 10
Fixed an error where words in all CAPS, or words that contained numbers were throwing a Lua error.
Fixed the chat edit cursor position so it moves naturally as you perform edits in and around misspelled highlighted words. Wow this was a lot of work. Did you know you can crash Wow, with an invalid cursor position!
Fixed a problem where the spell checking routine was firing twice, if it found a misspelled word.
More code cleanup. There shouldn't be any remaining, non reachable code.
We're getting very near release quality! - r15 - The Misspelled word suggestions pop-up dialog now takes up less space. And a "Cancel" option was added to the bottom of the pop-up.
Guild members weren't always loading. The loading guild members routine is now delayed until the first ChatEditBox_OnTextChanged event. I wasn't always getting guild member info during addon loading. - r14 - Fixed error loading guild members
- r13 - Your friends and guild roster are now, upon zone-in, added to the list of correctly spelled words. Suggestions that match a friend or guild member player name are flagged with either (Friend) or (Guild), in the suggestions right-click pop-up. Lots of cleanup and remarks added to the code. Fixed cases where editing near the boundary of a highlighted misspelled word would mangle color tag information leaving only partial color tags. Started implementing routines to correctly set the cursor position when the chat text is changed by Misspelled. More work is still needed here.
- r11 - Fixed an error that occurred when adding a word to the user dictionary.
- r10 - Debug print statements turned off, fixes related to clearing cached information about the current chat text.
- r09 - Fixes for Chatter
- r07 - Added Wrath dungeon and raid boss names to the standard Dictionary, along with the words: Jewelcrafting, Leatherworking, mana, and Warcraft
- r06 - Fixes problems with embedded links.
- r05 - "Ignore All" and "Add to User Dictionary" features implemented.
-Nate
This needs update for latest ver 11.0
More specifically it looks like an issue with the addon breaking changes to the Settings API in 11.0. Its now producing an "InterfaceOptions_AddCategory" error.
Full details here: https://warcraft.wiki.gg/wiki/Patch_11.0.2/API_changes#Settings_API_changes
Hopefully the further can update soon!
An update has been released. Give it a try and report back any issues you have.
In reply to nrpieper: Thanks for the speedy update, it is working perfectly again! However I cant see a settings pane for it and am now starting to wonder if there ever was one? I would assume so given the error. Is there meant to be a setting pane under Options > Addons?
In reply to Tealc_1899:
The settings page will return soon. It's where you can choose your dictionary language and edit your personal dictionary.
In reply to nrpieper: Right! I can see it again now, tyvm for the update and all your work. Much appreciated!
Is anyone still maintaining this addon?
In reply to ByucknahTheRed:
I'm still around although not an active player currently. Thanks for the ping. I'll get an update posted for the latest game clients ASAP.
In reply to nrpieper: Much appreciated! Love this addon :)
Hello there.
A long while back I mentioned I had a problem with Misspelled where if I added the euro symbol it would delete the whole phrase. At the time I vaguely remember you or someone in the comments provided a fix which was to modify one of the LUA files which prevented this behaviour from happening again.
It has been a couple of years though and I'm not sure the fix still applies even if I could dig through the comments to find it.
This is an easily replicable bug though: simply type whatever and add € then press space as if continuing to write. Everything will be deleted. This applies to /s, /e, and both kind of whispers.
In reply to zuuds:
Thanks for the bug report. I'll work on the issue ASAP.
In reply to nrpieper:
Thank -you- for helping us non native speakers not sounding illiterate :)
Any chance of us getting an update for WotLK? Tired of it showing up as an out of date addon.
Thanks!
In reply to OakclawOP:
Sure thing! Thanks for reporting the issue. I had messed up the deployment. I'll release a fix shortly.
In reply to nrpieper:
Really appreciate you updating this for every version :)
Don't know what I would do without this addon - thanks!
Hello, first of all thanks for the addon. I think the idea is great. But now I have to ask something.
After installing it, I wrote some test sentences in German.
eg. "Halo wie geht es dir?" There is missing e.g. at " Halo" an L
or instance names misspelled. But I never get a template for it. I can only ignore it or add the word. Am I doing something wrong?
In the settings I set it to German. :(
Hey, in tbc classic with prat, the suggestions box does not appear, does it need some extra config?
In reply to hellnor454:
I've done some investigation and haven't yet found a good way to hook into where Prat creates the message box UI element. Sorry, more work is needed.
Update v1.8.1 released.
I so love this addon. As someone who RPs, this addon is so valuable. Is there an update coming up for TBC?