Hi all,
I am looking for a suggestion here.
For some scenarios our bot requests the user to enter first and last names.
Below is the Example:-
Bot response:- What is your first name
User response:- test
Bot response:- what is your last name
User response:- Kumar
for the above scenario user entered details properly so there is no issue.
if we observe the below scenario
Bot response:- What is your first name
User response:- my first name test
Bot response:- what is your last name
User response:- Kumar - this is my last name
Here I just need to extract the first name as Test and last name as Kumar
I have used the Spacy library to extract the name details but that is too complicated approach. Is there any simple approach to extract the required info.
Note:- Our approach should not be limited to name, sometimes we request the user to enter email, Phone and etc.