473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Using Algorithms to Represent A List Of Words

I've heard from computer programmers that if a programmer wants to
program a list of 500 words, they can use an algorithm to represent
the list of 500 words, instead of typing each of the 500 words. Is
this true?

Brian
Jun 27 '08 #1
8 1135
On Apr 29, 9:08 am, Brian <briansip...@yahoo.comwrote:
I've heard from computer programmers that if a programmer wants to
program a list of 500 words, they can use an algorithm to represent
the list of 500 words, instead of typing each of the 500 words. Is
this true?

Brian
what's your mean?
Jun 27 '08 #2
In article <26**********************************@34g2000hsh.g ooglegroups.com>,
Brian <br*********@yahoo.comwrote:
>I've heard from computer programmers that if a programmer wants to
program a list of 500 words, they can use an algorithm to represent
the list of 500 words, instead of typing each of the 500 words. Is
this true?
I'm going to take a stab in the dark here, and suppose that you
might indirectly be referring to Perfect Hashing

http://en.wikipedia.org/wiki/Perfect_hash_function
--
"It's a hard life sometimes and the biggest temptation is to let
how hard it is be an excuse to weaken." -- Walter Dean Myers
Jun 27 '08 #3
On Apr 28, 6:08*pm, Brian <briansip...@yahoo.comwrote:
I've heard from computer programmers that if a programmer wants to
program a list of 500 words, they can use an algorithm to represent
the list of 500 words, instead of typing each of the 500 words. *Is
this true?
Only if they are Unix wizards. They get the elves to type them in for
them at night.
Jun 27 '08 #4
sh******@gmail.com said:
On Apr 29, 9:08 am, Brian <briansip...@yahoo.comwrote:
>I've heard from computer programmers that if a programmer wants to
program a list of 500 words, they can use an algorithm to represent
the list of 500 words, instead of typing each of the 500 words. Is
this true?

Brian

what's your mean?
Thus unqualified, it is normally taken to be the ratio of your sum to your
number of data points.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jun 27 '08 #5
user923005 said:
On Apr 28, 6:08 pm, Brian <briansip...@yahoo.comwrote:
>I've heard from computer programmers that if a programmer wants to
program a list of 500 words, they can use an algorithm to represent
the list of 500 words, instead of typing each of the 500 words. Is
this true?

Only if they are Unix wizards. They get the elves to type them in for
them at night.
Yeah. We elves post them to Usenet, from whence the Unix wizards can pick
them up at their leisure.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Jun 27 '08 #6
Thank you, everybody, for your replies. You have answered my
question.

Brian
Jun 27 '08 #7
In article <37**********************************@24g2000hsh.g ooglegroups.com>,
Brian <br*********@yahoo.comwrote:
>Thank you, everybody, for your replies. You have answered my
question.
I believe a number of us are rather unsure of what it was you were actually
asking. Which of the replies was the solution for you? Or what, more
verbosely, was the meaning of the question?
--
"If there were no falsehood in the world, there would be no
doubt; if there were no doubt, there would be no inquiry; if no
inquiry, no wisdom, no knowledge, no genius."
-- Walter Savage Landor
Jun 27 '08 #8
Walter Roberson wrote:
In article <37**********************************@24g2000hsh.g ooglegroups.com>,
Brian <br*********@yahoo.comwrote:
>Thank you, everybody, for your replies. You have answered my
question.

I believe a number of us are rather unsure of what it was you were actually
asking. Which of the replies was the solution for you? Or what, more
verbosely, was the meaning of the question?
I choose to believe that it was the elves. (Or elfs, if your Tolkien
sensibilities prefer.)

--
clvrmnky <mailto:sp******@clevermonkey.org>

Direct replies to this address will be blacklisted. Replace "spamtrap"
with my name to contact me directly.
Jun 27 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Leo P. | last post by:
I am trying to write a spelling checker. Specifically the part that suggests words. From what I've read online, it seems like the preferred way to do this, is to find the double metaphone...
13
by: Rusty Shackleford | last post by:
Hi - I'm studying algorithms and I want to write a python program that calculates the actual runtimes. I want to increment up some global variable called n in my program so that I can see the...
7
by: Klaus Neuner | last post by:
Hello, I need a function that converts a list into a set of regexes. Like so: string_list = print string_list2regexes(string_list) This should return something like:
9
by: Gary | last post by:
Hello, Is it possible to dynamically update a textbox with words chosen from a list using form checkboxes and javascript? Gary
13
by: Jim Carlock | last post by:
I have over a hundred pictures I would like to present. Is it practical to create and parse an array of pictures, picture paths, et al using server-side scripting to accomplish this? I...
11
by: efrat | last post by:
Hello, I'm planning to use Python in order to teach a DSA (data structures and algorithms) course in an academic institute. If you could help out with the following questions, I'd sure...
15
by: Alok Kumar | last post by:
#include <string.h> void myfn() { char a = 'A'; char b; strcpy(b, &a); } Would I always get 'A' in b and '\0' in b after the strcpy?
11
by: CellDivider | last post by:
Hello folks, currently I'm looking for a good books that gives an overview of useful c/c++ algorithms and design patterns, in the manner of "what's the most efficient way to implement <often...
53
by: Vicent Giner | last post by:
Hello. I am new to Python. It seems a very interesting language to me. Its simplicity is very attractive. However, it is usually said that Python is not a compiled but interpreted programming...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.