Hi list,

I have a bilingual dictionary in a file with the following format:

word1:sense1 sense2 ... senseN
word2:sense1 sense2 ... senseN
...

I'm doing a simple script which looks for a word and returns all the
possible translations. What's the faster (or the more efficient) way to do
that when the dictionary gets bigger? A while loop reading line by line and
evaluating which is the current word, or loading the dictionary in a hash
of arrays before the search?

Thanks in advance.

--
Víctor.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to