Coreference Resolution is a task in NLP that involves identifying the relationships between pronouns and the entities they refer to. **Example:** Given a text 'John said he would meet Mary', the coreference is between 'he' and 'John'. **Constraints:** The input will be a string and the output will be a list of coreferences.
Test Cases
Test Case 1
Input:
'John said he would meet Mary'Expected:
[('he', 'John')]Test Case 2
Input:
'Mary said she would meet John'Expected:
[('she', 'Mary')]+ 3 hidden test cases