風月鑒 by Wu, Yitang, 19th cent.
 is a Project Gutenberg book, now on Github.