Imported from https://github.com/AlexMoreo/tensorflow-Text2Vis