Once a girl entered a Chinese brothel, she was assessed and then received appropriate training. Unlike ordinary women, who were generally uneducated, a better prostitute would be educated in the arts, in philosophy, business, and politics.
Girls schooled in this manner would hope to climb the social ladder by marrying a distinguished gentleman or at least becoming his concubine.