We investigate an algorithm for automatically acquiring a context free grammar for sentences in the ATIS [1] domain. The learning process is a form of grammatical inference [2], and in the process of learning the grammar it generalizes beyond the training sentences. Performance is measured by coverage of the grammar on an independent test set, and by the corresponding test-set perplexity of a modified N-gram model which incorporates the learned grammar.