Results 1 to 16 of 16

Thread: 7 letter input dictionary

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    25

    7 letter input dictionary

    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

  2. #2
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: 7 letter input dictionary

    Quote Originally Posted by marky03
    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."


  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    46

    Re: 7 letter input dictionary

    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 ?

  4. #4
    Old Member moeur's Avatar
    Join Date
    Nov 2004
    Location
    Wait'n for Free Stuff
    Posts
    2,712

    Re: 7 letter input dictionary

    Do you want to generate only seven letter words or all words that add up to seven such as a 3-letter word followed by a 4-letter word?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    25

    Re: 7 letter input dictionary

    all the words possible and no not only 7 letter words...3,4,5,6 and 7 letter words only

  6. #6
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: 7 letter input dictionary

    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:
    1. 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.
    2.  
    3. Bed (n.) (Used as the symbol of matrimony) Marriage.
    4.  
    5. Bed (n.) A plat or level piece of ground in a garden, usually a little raised above the adjoining ground.
    6.  
    7. Bed (n.) A mass or heap of anything arranged like a bed; as, a bed of ashes or coals.
    8.  
    9. Bed (n.) The bottom of a watercourse, or of any body of water; as, the bed of a river.
    10.  
    11. Bed (n.) A layer or seam, or a horizontal stratum between layers; as, a bed of coal, iron, etc.
    12.  
    13. Bed (n.) See Gun carriage, and Mortar bed.
    14.  
    15. Bed (n.) The horizontal surface of a building stone; as, the upper and lower beds.
    16.  
    17. Bed (n.) A course of stone or brick in a wall.
    18.  
    19. Bed (n.) The place or material in which a block or brick is laid.
    20.  
    21. Bed (n.) The lower surface of a brick, slate, or tile.
    22.  
    23. 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.
    24.  
    25. Bed (n.) The superficial earthwork, or ballast, of a railroad.
    26.  
    27. 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.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Aug 2005
    Posts
    25

    Re: 7 letter input dictionary

    says file is corrupt

  8. #8
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: 7 letter input dictionary

    Quote Originally Posted by dglienna
    . . .I was thinking of importing it into a keyed db with no dups and then exporting. Anything easier . .
    See the attached file
    Attached Files Attached Files
    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."


  9. #9
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: 7 letter input dictionary

    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.

  10. #10
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: 7 letter input dictionary

    Quote Originally Posted by dglienna
    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."


  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: 7 letter input dictionary

    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.

  12. #12
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: 7 letter input dictionary

    Quote Originally Posted by dglienna
    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."


  13. #13
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: 7 letter input dictionary

    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.

  14. #14
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: 7 letter input dictionary

    Quote Originally Posted by dglienna
    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."


  15. #15
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: 7 letter input dictionary

    The word list? Sure. 349Kb Zipped.
    Attached Files Attached Files

  16. #16
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: 7 letter input dictionary

    Quote Originally Posted by dglienna
    The word list? Sure. 349Kb Zipped.

    Thanks, I was looking for a good word list.
    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."


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width