Using Corpora to Learn about Language and Discourse