Automatic Acquisition and Efficient Representation of Syntactic Structures