Click here to Skip to main content
12,065,204 members (44,658 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#
test.txt

doc1 I am a student also girl
doc2 I am a student
doc3 I am a boy

matching words is "student"
using open file and read line by line as dictionary words. And also placing Doc ID.

My result file is,

doc1 I am a student also girl
doc2 I am a student


how to solve them,

thanks
Posted 1-Oct-10 5:25am
ttds855
Edited 1-Oct-10 11:57am
v2
Comments
OriginalGriff 1-Oct-10 10:53am
   
Nope, sorry, but you will have to do better than that.
Try asking a question, or explaining what you have a problem with.
Otherwise, we will have to assume that you have just written out half of your homework question, without bothering to think about what you are supposed to be doing with it! But you wouldn't do that, would you? No.
Sandeep Mewara 1-Oct-10 11:54am
   
What have you tried yourself? Any effort?
Amir Nasrollahi 26-Dec-14 5:46am
   
what are you looking for? are you talking about LCS Algorithm?
See this: http://en.wikipedia.org/wiki/Longest_common_subsequence_problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160204.4 | Last Updated 1 Oct 2010
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100