Applying Machine Learning to Discourse Processing