# Number series handling

**URL:** <https://forum.rasa.com/t/number-series-handling/3767>\
**Category:** Rasa Open Source\
**Created:** [December 21, 2018, 5:28am UTC](https://forum.rasa.com/t/number-series-handling/3767 "2018-12-21T05:28:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishakskilrock](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhishakskilrock/32/4039_2.png) [@abhishakskilrock](https://forum.rasa.com/u/abhishakskilrock)\
**Post date:** [December 21, 2018, 5:28am UTC](https://forum.rasa.com/t/number-series-handling/3767/1 "2018-12-21T05:28:28Z")

</div>

Hi,

I wanted to store a number series in slots with separated by comma like 1,2,3,4,5,6,7,8,9 but the user can give numbers in any form like space separated(1 2 3 4 5 6 7 8 9) or dot separated(1.2…3.4.5…6…7.8.9) but I have to fill slots with comma separated numbers only. Is there any method or any other library which I can use and works better.  
Also, I want to know if there is any method that I don’t train numbers in my training data but it will be saved in slots because the length of number series is not fixed.  
P.S. Duckling won’t work here.

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [December 21, 2018, 5:29am UTC](https://forum.rasa.com/t/number-series-handling/3767/2 "2018-12-21T05:29:24Z")

</div>

you can use duckling, did you tried using duckling?

---

<div class="post-metadata">

**Author:** ![abhishakskilrock](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhishakskilrock/32/4039_2.png) [@abhishakskilrock](https://forum.rasa.com/u/abhishakskilrock)\
**Post date:** [December 21, 2018, 5:40am UTC](https://forum.rasa.com/t/number-series-handling/3767/3 "2018-12-21T05:40:29Z")

</div>

Bro can you explain it in a brief how duckling works here?

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [December 21, 2018, 5:43am UTC](https://forum.rasa.com/t/number-series-handling/3767/4 "2018-12-21T05:43:02Z")

</div>

hey @abhishakskilrock, i haven’t tired the usecase you defined above 😅 but i just suggested , you can give it a try

> **[facebook/duckling](https://github.com/facebook/duckling)**
>
> Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.

---

<div class="post-metadata">

**Author:** ![abhishakskilrock](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhishakskilrock/32/4039_2.png) [@abhishakskilrock](https://forum.rasa.com/u/abhishakskilrock)\
**Post date:** [December 21, 2018, 5:46am UTC](https://forum.rasa.com/t/number-series-handling/3767/5 "2018-12-21T05:46:57Z")

</div>

Actually I have used it that’s why I wrote it in P.S. duckling extract different numbers in many slots alias **number** and for my case if I use duckling there will be lots of slots like if length is 100 then do I have to use 100 slots fill? No. That’s why I said duckling won’t work here.
