Re: Reading in a Dictionary File
- From: boanerges35@xxxxxxxxx
- Date: 30 Jun 2006 12:18:36 -0700
John W. Kennedy wrote:
Fahd Shariff wrote:
Reading in a dictionary file is the same as reading in any other file.
You use a BufferedReader and store the contents of the dictionary in
some kind of data structure, for example.
Not necessarily a BufferedReader. An DataInputStream or a
RandomAccessFile might be necessary. There's just no way of knowing
without more information.
What kind of info do you need? One of my concerns is how long it would
take to read in a 500,000 word dictionary. I have read a little online
about this and it does not seem to be as simple as it sounds, if one
considers efficiency. My program would take a word(s) as input,
calculate the permutations of the letters, and then try to match them
to actual words in the dictionary.
Chuck
.
- Follow-Ups:
- Re: Reading in a Dictionary File
- From: Eric Sosman
- Re: Reading in a Dictionary File
- From: Matt Humphrey
- Re: Reading in a Dictionary File
- References:
- Reading in a Dictionary File
- From: boanerges35
- Re: Reading in a Dictionary File
- From: Fahd Shariff
- Re: Reading in a Dictionary File
- From: John W. Kennedy
- Reading in a Dictionary File
- Prev by Date: Re: beginner to Java
- Next by Date: Re: Reading in a Dictionary File
- Previous by thread: Re: Reading in a Dictionary File
- Next by thread: Re: Reading in a Dictionary File
- Index(es):
Relevant Pages
|