I have a requirement for unsubscription a service like user will say stop/stop service/stop messaging me… then i have to pass this to NLU for intent classification. Then NLU will understand user wants to unsubscribe a service,then it will perform the required action for subscription.
Now my question is , how can I train NLU for understanding stop a service and stop kidding has different meaning ?
As suggested I used the CRF. My requirement is similar to Sandeep but I want to extract the regex pattern name for the matched input text. Kindly refer ( Regex Name Extraction from custom Action )
I need to extract regex acc1 or acc2 according to input text