English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have created one Visual Basic application. In this application, I want the following option. Whenever I enter certain words in text box and click command button, it shold return correctly spelled words. For introducing this option in my program, I want any dll file or ocx control. Please suggest me.

2006-11-24 23:36:40 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

3 answers

You have to use a dictionary matching program. It is hard to implement, just like the one in Microsoft Word.
Perhaps you can try to create the dictionary first by making a indexed hash tables to store the words. Then you can make a linked hash tables for quick access to a word.
So the basic algorithm is:
1. The program will search each word in the text box.
2. If it cannot find one in the dictionary, it will try to correct it by:
- First finding the word in the dictionary that have the most similar characters sequence with the word in the text box.
- Change that word with the one in the dictionary.
3. Check the other words.
Advanced algorithm may include:
- Try to find the anagram of the word that couldn't be found.
- Check if the anagram match a word in the dictionary, then change the word to the most similar characters sequence.
- You can also make a suggestion by comparing the words before and after the word that is being checked. This method can find the most suitable word if the above methods don't satisfy.
Anyway, it still needs a database of words (like an indexed dictionary) complete with words relation database.

2006-11-25 00:25:14 · answer #1 · answered by Dede Indrapurna 3 · 0 0

regrettably seen uncomplicated would not save information dynamically onto the style. the only thank you to do what you pick to do is to jot down the records to a record (whether its an undemanding textual content fabric record) and then use the seen uncomplicated onLoad technique to open the record, study interior the textual content fabric from the record, and set the textual content fabric into your textbox.

2016-10-13 02:02:33 · answer #2 · answered by Anonymous · 0 0

make ur free website today, easy to use, lots of features(free blog, free guestbook, free headline news, free hitcounter, free horoscope, free online calender, free password protect, photo album, free redirect, free history, free web templates, free ecards, free links, free site search, free traffic exchange, free web cartoon, free web ring), totally free just click www.iconsystem.info/google.html

2006-11-24 23:39:21 · answer #3 · answered by Rank 4 · 1 0

fedest.com, questions and answers