How to check the similar words in two text files.Pls Help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: How to check the similar words in two text files.Pls Help

  1. #1
    Join Date
    Aug 2004
    Posts
    4

    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 may have.
    Please help me.
    Waiting for your response. Please don't disappoint me.
    Thank you.

  2. #2
    Join Date
    Mar 2004
    Posts
    635
    please don't double post

  3. #3
    Join Date
    Aug 2004
    Posts
    4

    Hi there..

    Thanks very much for your kind reply.
    You know, I am just a beginner the pcode that you sent I am not able to understand could you PLS show me the codes. So that I'll get a better idea on how to do this.
    Thanks once again!

  4. #4
    Join Date
    Feb 2004
    Posts
    808
    similar, or same? if it is similar, you have a BIG problem.. what defines similar?

    are these words similar:

    cat sat mat


    are these:

    their there they're


    what about these:

    cough rough bough through
    The 6th edict:
    "A thing of reference thing can hold either a null thing or a thing to any thing whose thing is assignment compatible with the thing of the thing" - ArchAngel, www.dictionary.com et al.
    JAR tutorial GridBag tutorial Inherited Shapes Inheritance? String.split(); FTP?

  5. #5
    Join Date
    Aug 2004
    Posts
    4

    Similar words in text files

    Its nice to see your reply. Similar words means which are same words occuring in two different text files eg:

    TextFile1
    How are you

    TextFile2
    There are five apples in the basket

    Here the similar(same) words would be:
    are


    Thank you

    Waiting for your reply.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center