4 ms·
yeah 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
by bendyBus 10y ago
yeah 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.