Using Corpora for Analysis of Discourse