Warm Bodies Recommendation
By consuming his brain he inherited his feelings for her.
This book was turned into a major motion picture in 2013. The following is taken from the Wikipedia Plot section corresponding to the novel (2010):
In a hunt, R [the zombie protagonist] feeds on the brain of a young man named Perry. After experiencing his memories, R sees Perry's girlfriend Julie, and in a moment of mercy, saves her from the others. He disguises her scent with zombie blood, and takes her home where he hides her in the 747 airplane. He slowly gains Julie's trust, and convinces her to stay for a while until the others forget about her. R feeds her food from the airport's restaurant, entertains her with his treasures, including a record player, and Julie tries to teach him to drive a car which R has managed to get started. She also tells him a little bit about her life. In time, R begins feeling guilty over killing Perry, but continues to eat the remains of his brain, seeing it as a rare treasure, and experiences many of Perry's memories.