Hi, Instead of doing it yopurself I recommend using Facebook Duckling to do so. It’s a very popular and robust solution:
- [Docker Hub]
- [GitHub - facebook/duckling: Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.]
- [How to use duckling in pipeline]
Hope it helps.