These are data set augmentation code snippets from our Medium blog post "Methods to grow your own data sets for Conversational AI - Scaling from tiny to large amounts of NLP and Dialogue data".
Medium blog post link:
https://medium.com/wluper/methods-to-grow-your-own-data-sets-for-conversational-ai-1bfeac9508ef