Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » autocorrect and autofill
- Jareddddddd
- Scratcher
1000+ posts
autocorrect and autofill
how can i make an text autocorrecting system?
- helloworldbyeworld
- Scratcher
1000+ posts
autocorrect and autofill
There are much more advanced autocorrect systems, but this is how a simple one might work:
1. There is a big list of correctly spelled words.
2. The system checks if the input is in the list.
3. If not, the system finds the closest item on the list to the input using the number of correct characters.
4. It replaces the input with this item.
1. There is a big list of correctly spelled words.
2. The system checks if the input is in the list.
3. If not, the system finds the closest item on the list to the input using the number of correct characters.
4. It replaces the input with this item.
Helloworldbyeworld | 1200+ posts
Have a great day
- Discussion Forums
- » Help with Scripts
- » autocorrect and autofill