Question: How do they measure grammaticality?
Answer: by calculating log ratio of grammatical phrase over ungrammatical phrase