Learning Grammatical and Taxonomic Knowledge in Tandem