The following is sample code from my Github account: https://github.com/analyticsguru/ . I will update this post with documentation in the future.
References: Ojeda, T., Bilbro, R., & Benjamin Bengfort. (2018). Applied Text Analysis with Python(1st ed.). O’Reilly Media, Inc. Retrieved from http://shop.oreilly.com/product/0636920052555.do