Giter Site home page Giter Site logo

rst_parser's Introduction

RST Parsing from Scratch

This repository contains the source code of our paper "RST Parsing from Scratch" in NAACL 2021.

Requirements

  • python: 3.7
  • pytorch: 1.4
  • transformers: 3.0

Usage

To train a discourse parser:

./*_train.sh

To predict discourse tree:

./*_predict.sh

Data Format

  • For end-to-end parsing from scratch (no sentence guidance): we need to create the data with dummy edu_break and doc_structure. Refer to create_sample_dummy_format_data.py and dummy_format_data/sample_rawtext_data_format
  • For other parsing models: Refer to create_sample_dummy_format_data.py and dummy_format_data/sample_full_data_format

Citation

Please cite our paper if you found the resources in this repository useful.

@inproceedings{nguyen-etal-2021-rst-scratch,
title = "RST Parsing from Scratch",
author = "Nguyen, Thanh-Tung  and
  Nguyen, Xuan-Phi  and
  Joty, Shafiq  and
  Li, Xiaoli",
booktitle = "Proceedings of the 2021 Conference of the North {A}merican Chapter 
of the Association for Computational Linguistics: Human Language Technologies, 
Volume 1 (Long and Short Papers)",
month = jun,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "",
doi = "",
pages = "xx--xx",}
}	

rst_parser's People

Contributors

tchewik avatar tungngthanh avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

piercelbrooks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.