Tang's eccentric lifestyle has prompted storytellers to immortalize him as a trickster character in Chinese folklore. In one such story, he falls in love with a slave girl whom he glimpses on the boat of a high official passing through Suzhou. He has himself sold as a slave to the official's household so that he may approach her. With the help of his friends, he eventually succeeds in bringing her home. This story prompted the playwright "Three Words" by Feng Menglong and the opera "The Three Smiles".