All people who have worked with Microsoft Word from the Microsoft Office suite They are aware that if you type a series of predefined abbreviations, After hitting the space bar, the full text whose abbreviation is defined in advance is typed in full The premise of this project was an automatic correction system for Farsi words in Word software that would correct accidental typos that occurred due to the wrong order of entering keys.
To do this
- All Persian words of Dehkhoda dictionary were first typed and then converted into SQL database
- A formula was written in #C language, which had the task of making inadvertent errors and correcting them using the correct words of the database, which if I want to explain in simple language,
- If by default a word contains 3 letters and the sequence of letters is 123, This formula would change the order and convert 132, 213, 231, 312 and 321 respectively and check again.
- If there was no word equivalent to the new combinations in the database from the old time.
- Each of the words was equated to an inadvertent error and saved in the system as an autocorrect so that if the user he entered a typo and it will be corrected automatically after entering all the spaces