3 ms·
A while ago I looked for information on how Alexa, Wit.ai, Nuance Mix etc. do this intent classification and didn't find anything. These guys have posted a nic
by IshKebab 10y ago
A while ago I looked for information on how Alexa, Wit.ai, Nuance Mix etc. do this intent classification and didn't find anything.
These guys have posted a nice blog post about their approach:
https://conversations.golastmile.com/do-it-yourself-nlp-for-bot-developers-2e2da2817f3d#.l62loslgd https://conversations.golastmile.com/do-it-yourself-nlp-for-...
They suggest that they add the word vectors in the sentence. But it seems to me that that would make the result independent of the order of words (i.e. "when does Tesco open?" and "Open Tesco when does" are the same). I thought I had tested that and it didn't work but actually I just tried saying "Tesco open does when?" to Alexa and it said "Sorry, I don't have the business hours for Tesco". Inconclusive I'd say but interesting anyway!
- bendyBus 10y agoyeah you're quite right, intents are built with a bag of words model & doesn't take order into account. Entity extraction does though. If you find a case where word order is really important for getting intents right I'd love to know about it! We could find a way to make that work.
- espadrine 10y ago> If you find a case where word order is really important for getting intents right This may be facetious of me, since it's still fairly uncommon, but here it is. Set up the go game, go up game the set. State the ban law, ban the state law. Drive the car by the park, park the car by the drive.
- Rabidgremlin 10y agoThe bot I have been working on uses bag of words and n-grams to identify intents. Useful for when someone says something that may have multiple entities of the same type. For instance a journey start and end point. Can use the "from" and "to" words match better. Also very useful when training on phrases that are very similar such as FAQ questions which often have the same words but the order and one or two keys words is super important to get the right match.