Skip to content

Files

Latest commit

cbf87c9 · Mar 3, 2020

History

History

Shallow Discourse Parsing

README.md

Shallow Discourse Parsing

  1. Make sure you have Python 3 and your favorite development environment installed on your laptop.
  2. Install NLTK. Follow the installation guide on the web page.
  3. Install the basic discourse parser. Follow the installation guide on the web page.
  4. Install the visualization package seaborn. Follow the installation guide on the web page. Download or clone the workshop repository. See the "Clone or download" button on the right.

Workshop on Shallow Discourse Parsing at Grammarly, Kyiv, 2020 by Tatjana Scheffler

Workshop announcement

Schedule

10:15-13:30 - Part 1: The theory of shallow discourse structure

13:30-14:30 - lunch

14:30-17:45 - Part 2: Shallow Discourse parsing

Preparation

Please download or clone this repository.

Please download/clone and install the baseline PDTB parser discopy.

The scripts in this repository (and in the parser) use Python3, and need the NLTK package installed. We will be working in a Jupyter notebook.

Finally, we will be using the following dataset in two formats (passwords are distributed separately). Please note that the data must be deleted after completion of the workshop.

Part 1: The theory of shallow discourse structure

Theory of discourse coherence

slides

Discourse Annotations

In-class exercise: What is a connective? Identifying connectives in Ukranian

PDTB exploration

Part 2: Shallow discourse parsing

Introduction to shallow discourse parsing

Error analysis on existing parsers

Implementing a discourse parser

Modify/play around with a connective detection module: discopy