Headscratchers: The Pillow Book

Nagiko is quite the Cunning Linguist, having Japanese, Mandarin (learned from her mother), and English (learned at school?) at her command. I do wonder how she manages in Hong Kong, where Cantonese is the dominant language.