Nearly all women of the samurai class were literate by the end of the Tokugawa period.