Using single character in intent?

I created the following intent:

The : [nn] is working OK return: [deny]. But [n] return [null0] and it seems also return [null0] if single character was used in the list.

Did I miss something?

Thanks for you help

Aaron

intent:deny

  • no
  • never
  • I don’t think so
  • don’t like that
  • no way
  • not really
  • n
  • nn

you need to set token pattern to pick 1+ character words. See here for an example: rasa-demo/config.yml at 1d1b72e7d3f8c9b92513a5a89a636eb4ee65ded5 · RasaHQ/rasa-demo · GitHub