I wonder if anyone could give me some advice on the following...
I'm creating a program (using perl due to it's excellent pattern matching capabilities) to look up words in a dictionary and return matches that rhyme with the word being searched on.
This is very much over simplyfied, but never mind.
What I need to know is where to get an entire dictionary from. Where did GTs get theirs from for their Spell check program? I take it some are freely available or did you sit there and type in every word in the dictionary into a database?
And... what is the best way to store this information? A table for each letter and all words beginning with that letter as a row inside? Or would you do colums? Flat files?
How does other spell check modules handle this? I'm guessing it's the same set up as I would need for this project.
Cheers
Wil
- wil
I'm creating a program (using perl due to it's excellent pattern matching capabilities) to look up words in a dictionary and return matches that rhyme with the word being searched on.
This is very much over simplyfied, but never mind.
What I need to know is where to get an entire dictionary from. Where did GTs get theirs from for their Spell check program? I take it some are freely available or did you sit there and type in every word in the dictionary into a database?
And... what is the best way to store this information? A table for each letter and all words beginning with that letter as a row inside? Or would you do colums? Flat files?
How does other spell check modules handle this? I'm guessing it's the same set up as I would need for this project.
Cheers
Wil
- wil