ForcedGrammar
ForcedGrammar modifies chat messages as they are sent to correct spelling and basic grammatical errors. It is capable of changing any words in a find and replace style customisable by you, as well as performing automatic grammatical corrections. The idea for this plugin came from Sabinno, here.
Features
This is a quick run down of the plugin's abilities.
The spelling correction relies on a list of corrections that is compiled by you. A list of common misspellings is included to get you started, provided by Bradgillap.
- Capitalise sentences
- Ensure sentences end with full-stops
- Correct spelling
- Update notification
- Enable/disable features via configuration file
- Escape individual messages from alteration
- Edit spelling correction list directly or with in-game commands.
- Restrict usage with permission nodes
An example
A message like i cant do grammar. sorry about that could become I can't do grammar. Sorry about that.
In this example the plugin capitalised the first letter of each sentence, appended a full-stop onto the end of the message and corrected "cant" to "can't". However, you'll notice that the first sentence still doesn't make sense. Although ForcedGrammar can handle formal errors, it will not improve eloquence or style!
Questions? Problems?
Please visit the documentation if you want to know anything about ForcedGrammar that can't be found on this page. While this page is a summary, the documentation goes into a lot more depth.
If you would like to report an issue with the plugin then please do so using either the BukkitDev or GitHub issue trackers.
Also, if you've given yourself every permission node then you will have ForcedGrammar's fg.exempt. Make sure that you negate this if you want your chat to be corrected!
Change log
| version | level | date | changes |
|---|---|---|---|
| 1.8.4 | patch | 7 July 2014 | fixes a bug which caused regular expressions to be output into the chat |
| 1.8.3 | patch | 24 May 2014 | several bug fixes, see file notes. Removes wildcard feature, sorry. |
| 1.8.2 | patch | 6 May 2014 | this-is-still-alive update! Sorry, mostly boring things. |
| 1.8.1 | patch | 12 July 2013 | include missing class file |
Contributing
This is really just a note to say that I am open to contributions if ever anyone has any to give. The project's source is available on GitHub.
-
View User Profile
-
Send Message
Posted Jun 23, 2012I might want to disable the auto-caps/auto-period functionality entirely.
It might just be more trouble than it's worth. I'm happy just being able to auto-correct words silently.
-
View User Profile
-
Send Message
Posted Jun 23, 2012Some feedback:
"lol" autocorrecting to "Lol." seems unnecessary. An exemption list of words to not correct could be nice.
Putting a smily at the end of a sentence adds another period. Maybe only punctuate after alphanumeric characters, so that I can do
"Blah blah blah blah. :)"
-
View User Profile
-
Send Message
Posted Jun 23, 2012@rbos
Thanks for letting me know, glad it's working now. :)
-
View User Profile
-
Send Message
Posted Jun 22, 2012@rbos
Looks like mChatSuite doing it. Unloaded, seems to work fine.
Edit: updated to the latest mchatsuite, seems to work okay now.
-
View User Profile
-
Send Message
Posted Jun 22, 2012I love it, but it only seems to be fixing the errors on messages broadcast through CraftIRC and not the actual in-game chat. It is probably CraftIRC fail, though.
-
View User Profile
-
Send Message
Posted May 24, 2012I have 2 new ideas: 1. Auto "," typing before specified in config words. 2. Function named "EmotRemover" - if someone use emoticon it wont be shown on chat, for example if you type "I like ForcedGrammar :D" on chat will be only shown "I like ForcedGrammar."
-
View User Profile
-
Send Message
Posted May 18, 2012Thank you for 1.4, I'll test it tonight!
-
View User Profile
-
Send Message
Posted May 17, 2012@ReddChicken
Just submitted a ticket for you, this time its an enhancement one to use a question-mark instead of a period if a question is asked.
See what you think.
-
View User Profile
-
Send Message
Posted May 16, 2012@ReddChicken
By the way, a cool name for the plugin would be LearnToSpell xD.
-
View User Profile
-
Send Message
Posted May 16, 2012@groszyk
Thanks so much :D If you want to design a logo, go ahead. I'd love a good one and I might use it.
@Knee97
Using the configuration file you can change the spelling corrections as much as you want, no matter the language. As it is, the file comes with a pretty small number of English corrections. It's really there to do whatever you want.
If there are ways I could make it better for languages other than English (or in any way at all) please let me know.
-
View User Profile
-
Send Message
Posted May 16, 2012I think this is a bit ill. I think you are crazy... :D But this is quite cool!!! Its great, but is there a german version too? Would be cool...
-
View User Profile
-
Send Message
Posted May 16, 2012My eyes lit up when I saw this. Do you need a logo done? I love this plugin so much.
-
View User Profile
-
Send Message
Posted May 14, 2012@BioRage
Customisable is the British spelling.
-
View User Profile
-
Send Message
Posted May 14, 2012You made a typo on the original post:
"Customisable" < "Customizable"
-
View User Profile
-
Send Message
Posted May 14, 2012@Asmith0429Max
Strange, if this keeps happening, please open a ticket.
-
View User Profile
-
Send Message
Posted May 13, 2012Its not working for me. I do not know why. I dropped the .jar in and restarted the server. A config file generated and was correct. Strange.
-
View User Profile
-
Send Message
Posted May 13, 2012@Sabinno
No problem. :)
-
View User Profile
-
Send Message
Posted May 13, 2012@Swords761
I'll fix the links problem, thanks for pointing it out!
I have no idea what is going on with the string of characters beging displayed. If this keeps happening please open a ticket.
-
View User Profile
-
Send Message
Posted May 12, 2012This would be great if you could ignore website links posted in chat! I don't want those grammatically formatted! xD
Also, whenever I log on a stream of characters automatically pasted to chat from a client mod, I believe Zombe (ie. U00a74u00a75u00a73u00a74v|1) is displayed in chat when it obviously shouldn't be, so ignoring these login codes would be great too!
-
View User Profile
-
Send Message
Posted May 11, 2012Amazing work! Thank you!