@koaning I need to convert words to numbers in my rasa assistant. I have seen forums that recommend the use of Duckling, which would theoretically work great. However, I need to extract entities/roles from these word numbers. For example, “I would like [2]{“entity”: “number”, “role”: “topping_num”) toppings on my pizza and [3]{“entity”: “number”, “role”: “breadstick_num”) breadsticks” How would I extract the numbers and assign them to roles?
I think what you’re describing sounds like the way you should do it. The details of the format are listed on the docs. Just adding that to nlu.md
should be enough (assuming you’ve got a recent version fo Rasa). It deserves mentioning though that this is still a somewhat experimental feature.