The famous courtesans of imperial China were trained entertainers, known for poetry, music and conversation. The most celebrated, such as the
秦淮八艳 of late Ming Nanjing, became heroines of plays and stories. It is a word of history and literature, not a modern term.