Is is possible to tokenize a text in tokens such that first and last name are combined in one token? For example if my text is:
text = "Barack Obama is the President"
['Barack', 'Obama', 'is', 'the, 'President']
how can I recognize the first and last name? So I get only
['Barack Obama', 'is', 'the', 'President']
Is there a way to achieve it in Python?