Wordsmith.org: the magic of words

Wordsmith Talk

About Us | What's New | Search | Site Map | Contact Us  

Previous Thread
Next Thread
Print Thread
Joined: Dec 2009
Posts: 1
J
jelarv Offline OP
stranger
OP Offline
stranger
J
Joined: Dec 2009
Posts: 1
I'm building some training and am looking for a computer application that will help find words to remember the steps in a process. For each step I have 2-5 choices of letters. So for example, in a 3-step process to make tea, for step 1 I could use "B" (boil water) or "H" (heat water), for step 2 "P" (place tea bag in cup) or "I" (insert tea bag), and for step 3 "F" (fill cup with water) or "P" (pour water into cup). In this example, I'm looking for the computer application to find "HIP" as a word to remember the 3 steps. It's easy to do in your head with 3 letters but can be a monster when it gets to 7 or 8 letters. I've tried crossword and Scrabble dictionaries but they are very cumbersome because they don't find words based on having a choice of letters for each position of a word.

Any help you can provide is greatly appreciated!

Thanks,
Jim

Joined: Jun 2002
Posts: 7,210
Carpal Tunnel
Offline
Carpal Tunnel
Joined: Jun 2002
Posts: 7,210
welcome, Jim!

though it's not a computer application, you might try www.onelook.com it can find words for nearly any combination of letters.


formerly known as etaoin...
Joined: Jan 2002
Posts: 1,526
veteran
Offline
veteran
Joined: Jan 2002
Posts: 1,526
I'm very busy right now.

Can you run a perl script?
Do you have the dictionaries available as text files?

Joined: Jan 2002
Posts: 1,526
veteran
Offline
veteran
Joined: Jan 2002
Posts: 1,526
Heya, I was going to take some time during lunch today and get a perl app for you, but it occurs to me that I would basically be writing a scaled down version of a utility called "grep" .

You can find a version of it somewhere and if you have a text file containing the words you want to search through, you can get what you want.

For example, suppose your dictionary is called "dict.txt"

Then you might look for matches to your word above using something like:

grep "[bh]i[fp]" dict.txt

Here's the wiki page on grep - there are some tutorials on how to use it at the bottom of the page.

http://en.wikipedia.org/wiki/Grep

This is a Unix utility, but you can find versions available for Windows.

Here's a GNU library port to windows:
http://unxutils.sourceforge.net/

It contains a lot of other useful utilities.

You just need a word list (dictionary).


Moderated by  Jackie 

Link Copied to Clipboard
Forum Statistics
Forums16
Topics13,912
Posts229,271
Members9,179
Most Online3,341
Dec 9th, 2011
Newest Members
TRIALNERRA, befuddledmind, KILL_YOUR_SUV, Heather_Turey, Standy
9,179 Registered Users
Who's Online Now
1 members (A C Bowden), 285 guests, and 4 robots.
Key: Admin, Global Mod, Mod
Top Posters(30 Days)
Top Posters
wwh 13,858
Faldage 13,803
Jackie 11,613
tsuwm 10,542
wofahulicodoc 10,502
LukeJavan8 9,915
AnnaStrophic 6,511
Wordwind 6,296
of troy 5,400
Disclaimer: Wordsmith.org is not responsible for views expressed on this site. Use of this forum is at your own risk and liability - you agree to hold Wordsmith.org and its associates harmless as a condition of using it.

Home | Today's Word | Yesterday's Word | Subscribe | FAQ | Archives | Search | Feedback
Wordsmith Talk | Wordsmith Chat

© 1994-2024 Wordsmith

Powered by UBB.threads™ PHP Forum Software 7.7.5