Hi. I want to create a program ; the user enters 7 letters in a text box, and the program takes those 7 letters and shows all the words that can be created with those letters in a List Box. Whats the shortest way possible to do this? Any help appriciated.
Hi. I want to create a program ; the user enters 7 letters in a text box, and the program takes those 7 letters and shows all the words that can be created with those letters in a List Box. Whats the shortest way possible to do this? Any help appriciated.
Marky
Take a look at this POST. It is a hard project. Take a look at this program it is about the best I have found so far: Anagram Genius
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
did you want all the possible "words", like a program to help you in a game of scrabble.
or you want all the possible "combination", like a brute force password cracker ?
Here's what I came up with, after eliminating words like "A 1"
Post back after you download it so I can remove it. Thanks.
EDIT: I noticed a lot of DUPS. I parsed a dictionary, and it has dups in it.
EDIT: Posted again later.
Well I found the problem. Have to work on a solution some other time.
Any suggestions?
Current txt file of words size (with dups): 1,717 Kb
I was thinking of importing it into a keyed db with no dups and then exporting. Anything easier?
VB Code:
Bed (n.) An article of furniture to sleep or take rest in or on; a couch. Specifically: A sack or mattress, filled with some soft material, in distinction from the bedstead on which it is placed (as, a feather bed), or this with the bedclothes added. In a general sense, any thing or place used for sleeping or reclining on or in, as a quantity of hay, straw, leaves, or twigs.
Bed (n.) (Used as the symbol of matrimony) Marriage.
Bed (n.) A plat or level piece of ground in a garden, usually a little raised above the adjoining ground.
Bed (n.) A mass or heap of anything arranged like a bed; as, a bed of ashes or coals.
Bed (n.) The bottom of a watercourse, or of any body of water; as, the bed of a river.
Bed (n.) A layer or seam, or a horizontal stratum between layers; as, a bed of coal, iron, etc.
Bed (n.) See Gun carriage, and Mortar bed.
Bed (n.) The horizontal surface of a building stone; as, the upper and lower beds.
Bed (n.) A course of stone or brick in a wall.
Bed (n.) The place or material in which a block or brick is laid.
Bed (n.) The lower surface of a brick, slate, or tile.
Bed (n.) The foundation or the more solid and fixed part or framing of a machine; or a part on which something is laid or supported; as, the bed of an engine.
Bed (n.) The superficial earthwork, or ballast, of a railroad.
Bed (n.) The flat part of the press, on which the form is laid.
Last edited by dglienna; Aug 26th, 2005 at 10:43 PM.
. . .I was thinking of importing it into a keyed db with no dups and then exporting. Anything easier . .
See the attached file
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
I meant for my whole dictionary file. I figure that I can compare each word with the one before it to see if it is already there. As long as they are alphabetical, I won't have to search for them.
I meant for my whole dictionary file. I figure that I can compare each word with the one before it to see if it is already there. As long as they are alphabetical, I won't have to search for them.
or just import it into a db and then group on the name.
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
I parsed 26 HTML files and combined them into one txt file. When you export it from Access, you get the quotes around the word, and I'd rather not have that.
Also, I noticed that -ana and ana- were stil in there. I guess I need a few more filters.
I parsed 26 HTML files and combined them into one txt file. When you export it from Access, you get the quotes around the word, and I'd rather not have that.
Also, I noticed that -ana and ana- were stil in there. I guess I need a few more filters.
Yeah, I am trying to get rid of them. I might have to export it into excel first.
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
All right, my dictionary of UNIQUE words is 1222K. Down from 1712K last night.
I didn't save the 3-7 app though. I could redo it if needed.
Hey, can you share the wealth?
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."