Train NLU for different different meaning of a word

Hi Shail

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