Comments (10)
Quite easy.
match teh
then rewrite the
match \bu\b
then rewrite you
And so on...
from chatcontrol-pro.
Can I do this?
match \bgonna\b
then replace going to
Or is it an issue to do "Going to" with the space there?
from chatcontrol-pro.
Nope, should work.
from chatcontrol-pro.
I'm going to have to add every single typo there is then manually? That's going to take a million years. Know of any shortcuts or ways to get a better list of typos that can be corrected?
from chatcontrol-pro.
Due to the design of the plugin you can very precisely define what to detect and what to replace with.
However there is no feature like an auto-correct. This also would not be easy to make because either you would have to send the message to an online service to let it auto-correct, get it pack and send it then to the chat which would lead into delay or including dictionaries in various languages as well as grammar rules. Both would significantly increase server load, plugin size and probably the cost as well because commercial distribution of dictionaries needs to be paid ^^
To cut the long story short: Yes you have to add each typo you want to have automatically fixed as a rule. You can merge similar typos using regex like
match \b(y|wy)\?\b
then rewrite why?
from chatcontrol-pro.
Okay, well thanks anyway.
from chatcontrol-pro.
You're welcome.
Feel free to contribute to the project by sharing a few of your typo corrections as examples to let others benefit :)
from chatcontrol-pro.
Oh, definitely. I'll see if I can't get my developer to make a system that catches typos by cross-checking them (like you said, but instead, put it in a queue and do it when either nobody is online or CPU usage is low so it causes no troubles) and if it finds errors it makes new rules for them (perhaps I'll make it store the typo so it can be reviewed first before officially added as a rule, since I don't trust computers to do it correctly... lol). Does that sound like it could work to get a good-sized list to share with everyone?
from chatcontrol-pro.
Sounds quite interesting.
I am no developer of CHC, @kangarko might be interested though ;)
from chatcontrol-pro.
Well if I can't seem to figure it out, I'll ask him if he wants to help. It could make a huge difference in his plugin, and he could do a lot with that.
from chatcontrol-pro.
Related Issues (20)
- cannot use this command while the plugin is disabeld HOT 2
- Minecraft Version: 1.17.1 "Problem with colors in chat!" HOT 1
- Minecraft Version 1.17.1: CC spitting out error when paper's book value is edited HOT 1
- [item] color codes bypass HOT 1
- Death messages totally messed up HOT 2
- Adding possibility of regex input for Limited commands per <seconds> HOT 3
- Make URL links from /whisper (private messages) clickable HOT 2
- Version 8.11.6 Released Mar 12 At 12:00 CET
- 1.18.2: Motd Prefix HOT 1
- bungee chat red crash on load everytime HOT 1
- Could you please add support to 1.19.0? HOT 1
- Unchangable prefix for tips HOT 1
- 1.16: Rewrite is not working? HOT 1
- Minecraft Version: Purpur 1.19 plugin not functional HOT 1
- Hex Support HOT 4
- Error in enabling Bungeecord : true HOT 1
- Can you please remove 1.19 encryption of chat messages HOT 1
- 1.18.2 Formatting not working HOT 1
- Minecraft Version: Issue Title HOT 1
- 1.8.8: Messages are being sent in the wrong order HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatcontrol-pro.