Reputation: 408
My dataset is structured like this:
Product1 - Sentence1
Product2 - Sentence2
Product3 - Sentence3
. .
etc
The sentences look like this:
Product1 - "We suggest that you wear this stylish piece with gold-toned drop earrings, churidar leggings and flats to complete an understated look."
A possible question to this can be - "Do we suggest that you wear this stylish piece with gold-toned drop earrings, churidar leggings and flats to complete an understated look?" - This is what i get using http://www.cs.cmu.edu/~ark/mheilman/questions/
Q: How can I get an understated look?
Q: What can I wear with gold-toned drop earrings?
Q: What will give me a complete look with churidar leggings?
So, what i feel I want to do is - to create sub-question on the nouns/proNouns and adjectives in an semantically correct putting product in context.
Upvotes: 8
Views: 229
Reputation: 3686
Please have a look at Google Cloud Natural Language API
It has 'Entity Recognition' which might help your purpose. Here are the some sample implementations.
Upvotes: 3
Reputation: 3967
I suggest you to take a look for natural language services on the internet. Sometimes ago I had a similar problem and I solved it by using a service that you can finde here.
On the website this is defined as:
"API.AI is a natural language understanding platform that makes it easy for developers (and non-developers) to design and integrate intelligent and sophisticated conversational user interfaces into mobile apps, web applications, devices, and bots."
The really cool thing about this is that you can train it with some
Upvotes: 1