Free Text Word Search with SoundEX

I am trying to learn about free text searching, and was looking for some help in writing  function.  The function I need help with does the following:

1.  Takes as input a directory of *.txt files (User Prompt)
2.  Asks the user to input a word to search for (User Prompt)
3.  Searches all of the text files (in the directory) for the input word, for both exact and SoundEX matches
4.  Displays the word, or words found (exact and SoundEX matches) and the document it came from

Please let me know if you can help!
LVL 1
superfly18Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zzynxSr. Software engineerCommented:
We're not allowed to provide full blown code.
But maybe this helps:

>>1.  Takes as input a directory of *.txt files (User Prompt)
use JFileChooser (examples at http://www.javaalmanac.com/cgi-bin/search/find.pl?words=JFileChooser)
>>2.  Asks the user to input a word to search for (User Prompt)
By entering text in a JTextField?
>>3.  Searches all of the text files (in the directory) for the input word, for both exact and SoundEX matches
See http://www.javaalmanac.com/egs/java.io/TraverseTree.html and http://www.javaalmanac.com/egs/java.io/ReadLinesFromFile.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
There seems to be soundex here, but i'm not sure if it's French

http://sourceforge.net/projects/normalizer/

Check this too

http://w2.syronex.com/jmr/edu/prog/soundex.html
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.