You will be given a text file that will contain N number of test cases. N will be the first line of the file. It will follow with N number of name of books, each in a separate line. After the names there will be a separator (50 number of *s). After the separator there will be brief descriptions of the N books, each in a separate paragraph and in a random order. You have to write code to find the correct corresponding description of the books given and print the paragraph number accordingly. Important: You cannot follow training data approach for this problem.
shashank2406 / similarwords Goto Github PK
View Code? Open in Web Editor NEWYou will be given a text file that will contain N number of test cases. N will be the first line of the file. It will follow with N number of name of books, each in a separate line. After the names there will be a separator (50 number of *s). After the separator there will be brief descriptions of the N books, each in a separate paragraph and in a random order. You have to write code to find the correct corresponding description of the books given and print the paragraph number accordingly. Important: You cannot follow training data approach for this problem.