How to eliminate negative utterances while using LUIS/WIT Intent

删除回忆录丶 提交于 2019-12-24 06:34:05

问题


I have an intent "BookTicket". I have few utterances for the same: "book a ticket", "book my ticket".....it works fine.

It also works with "do not book a ticket", "book my show". My question is: How can I eliminate these negative searches to search for the intent mentioned above and return an error message instead of invoking the intent.

Right now, I am trying this with LUIS framework.

thanks


回答1:


In case of LUIS, use the None intent to mark the negative examples you want to eliminate, this way your model will learn to associate these negative utterances with None intent not "BookTicket"




回答2:


My be you can try this https://azure.microsoft.com/en-in/documentation/articles/machine-learning-apps-text-analytics/ . Set the threshold as required to your project so that only positive will come out.



来源:https://stackoverflow.com/questions/38497933/how-to-eliminate-negative-utterances-while-using-luis-wit-intent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!