This problem involves identifying named entities in text. **Example:** Identifying 'John' as a person in the text 'John is going to the store'. **Constraints:** The input will be a string and the output should be a list of tuples containing the entity and its type. The model should be trained on a dataset of labeled text examples.
Test Cases
Test Case 1
Input:
'John is going to the store'Expected:
[('John', 'PERSON')]Test Case 2
Input:
'The company is located in New York'Expected:
[('New York', 'GPE')]+ 3 hidden test cases