Grammar, Meaning and the Machine Analysis of Language