I am working on a project that will compare two Strings and pick out similar phrases and words.
For example, read the two questions below.
Question 1: This novel's protagonist frequently eats at a café run by Celeste. It opens with the protagonist attending his mother's funeral and showing no signs of grief. For 10 points, Meursault shoots an Arab on the beach in what novel by Albert Camus?
Question 2: That character in this book jumps on a fire truck with his friend Emmanuel and often eats lunch at Celeste's. It starts at a funeral for the protagonist's mother, where he does not cry. For 10 points, name this novel in which Meursault is condemned to die for senselessly shooting the Arab, by Albert Camus.
I want the program to pick out "Celeste" and the fact that the novel "starts at a funeral". How would I accomplish this? I'm just looking for a few pointers to some resources. (I'm using Java).