Hi All,
I am working on a problem which has 2 parts:
1. Differentiate between domain specific and general queries?
2. Get intent from domain specific query and respond based on templates?
I will explain what approach I have used and I really want suggestions on how can I improve on it.
I have used domain related dictionaries and if a message contains some domain related word then I mark the query as domain specific else general. As this approach fails at lot of time because of the word sense disambiguation. So,
now instead of directly using dictionaries now I am going for rules based on dependency tree for the sentence, as I don’t have much data so for limited queries I am creating those rules manually. for eg.
find indian hotels in california? In this example I am finding dependencies between tokens and tag “indian” as intent and “california” as location for finding hotels. Similar exercise I do for some set of queries I have.
So, If relationship exists in the new query then I am categorizing it and querying it if it comes under domain specific.
Is this kind of approach scales or is there any other good approach to do this?
Regards,
Mayank