|
-
May 22nd, 2010, 10:46 AM
#28
Re: Algorithm to generate words
Ok. I think, I got the idea. I will say it. Correct me if I'm wrong.
Phase1:
First, I will generate numerical codes for all the words available with me.
Then sort it according to the codes.
Done !
Phase2:
Then, in the word generator, when all possible combinations of words are generated based on the string inputted by the user (using one of the methods posted in this thread - permutations).
Then, corresponding numerical codes are also generated for this generated words.
Done !
Phase3:
Then, these codes of the newly generated words are searched with those in which are generated in the first phase (available words list). If a match is found, then display it.
Done !
Am I right ? 
Did I missed something ?
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|