How to extract a dictated number from a conversation if someone uses inclusions?

I want to extract the id number (a sequence of 6 digits) from the phrase but I have problem with:

  • “my number is 1 2 three zeros 4” ( I want here enitiy: 120004)
  • “my number is 1 2 0 0 I can’t see clearly, I guess 7 and 8” ( I want in this case entity: 120079).

How can I extract these expected 6 digital strings using rasa?

1 Like

Hi @IwonaW Are you able to solve this issue?