List two differences between the task of testing that a sequence belongs to a formal language in the Chomsky hierarchy and evaluating a language model on a sequence
Your answer
Give the grammar (a set of rules) for the language that contains strings of the form a^n b^n (that is, a sequence of 0 or more a's followed by the same number of b's)