Can anyone suggest to me an algorithm to find a line in a paragraph that best matches to the given line?
Best matches will be considered with the following:
We split the line in collection of words
Find best match of each single word in paragraph( Best match of two words can be defined based on order of common characters, total count of unmatched character and total count of unmatched character)
Line with most best matched word will be the best matched line.
The goal is to search a similar line in an article, can anyone suggest me what strategy and algorithm should I use?