Click here to Skip to main content
11,484,162 members (69,372 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Homework
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
ttds830
Edited 1-Oct-10 11:57am
(no name)16.4K
v2
Comments
OriginalGriff at 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 at 1-Oct-10 11:54am
   
What have you tried yourself? Any effort?
Amir Nasrollahi at 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
0 Sergey Alexandrovich Kryukov 210
1 Frankie-C 155
2 Raje_ 155
3 OriginalGriff 147
4 Maciej Los 110
0 Sergey Alexandrovich Kryukov 8,489
1 OriginalGriff 7,943
2 Sascha Lefèvre 3,114
3 Maciej Los 2,581
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 1 Oct 2010
Copyright © CodeProject, 1999-2015
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