|
-
Aug 7th, 2004, 08:58 AM
#1
Thread Starter
Member
How to check the similar words in two text files. Pls Help
How to check the similar words in two text files. Pls Help
I have two text files named File1.txt and File2.txt. These files are having some english words. I just need to findout the similar words occuring in both the files using the Hash Table or any other method you have. Also, please check the maximum numbers of words occuring in both the Text files. Pls see the eg.
example:
File1.txt has the text:
How are you. Hope you are fine, you sent me a book. I got it.
File2.txt has the text:
I am fine. What about you.
Program output would be:
Similar words in two text files:
you
fine
I
Maximum similar words occuring:
you
Please help me in this regard.
Waiting for your response. Please don't disappoint me.
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|