The Semantics-Syntax Interface: Learning Grammatical Categories and Hierarchical Syntactic Structure Through Semantics