i am trying to build a model based on deep learning to extract specific text from long sentences.
Let's suppose a text of 200 words, and a table where i have my client name and surname. I am trying to build a model to extract from these 200 words the specific client name/surname using deep learning.
I've read about CNN and RNTN models, semantic parsing and word2vec models, but clearly i am not a pro in that field.
My thoughts are :
- step 1 : make a 1st model where input = client surname , output = class surname
- step 2 : make a 2nd model where input = client name , output = class name
- step 3 : make a 3rd model where input = client name + surname and surname + name, output = class client
- step 4 : make a 4th model where i send bag of words in input and find a way to find the client class in output.
The same way we can find noun/adverbs/verbs/ ... we should be able to create a sort of new "semantic sort" as client, address, ....
Can anyone give me some advices about my way of thinking ? or tell me what part i should change / improve ?
Thanks a lot.