Giter Club home page Giter Club logo

web-document-discourse-parsing's Introduction

WebDP: Web-Document-Discourse-Parsing

This is the repository of web document discourse parsing, source code of a paper to be published at findings of ACL 2023.

In this paper, we proposed a new task named WebDP for facilitating research on discourse parsing of current-days' web-documents on the internet, revealing their free-styled discourse organization and leaveraging their semi-structured information.

Our code and data will be coming soon.

Requirements

 conda create --name [environment_name] python==3.9
 
 conda activate [environment_name]

 pip install -r pip_requirements.txt

 conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia

Train and Evaluate Models

After set up the requirements, you can train and evaluate the models to reproduce the results in our paper by:

python train.py [model_name] --[training_options]

where [model_name] can be one of the followings:

Data

We would like to distribute the data through applications, you can contact me at [email protected] to get the annotated data.

After getting the data, you can unzip the compressed file into data folder, there should be 3 splits of data in 3 folders, data/train, data/dev and data/test, respectively.

Citation

@inproceedings{liu-etal-2023-webdp,
    title = "{W}eb{DP}: Understanding Discourse Structures in Semi-Structured Web Documents",
    author = "Liu, Peilin  and
      Lin, Hongyu  and
      Liao, Meng  and
      Xiang, Hao  and
      Han, Xianpei  and
      Sun, Le",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2023",
    month = jul,
    year = "2023",
    address = "Toronto, Canada",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.findings-acl.650",
    doi = "10.18653/v1/2023.findings-acl.650",
    pages = "10235--10258",
    abstract = "Web documents have become rich data resources in current era, and understanding their discourse structure will potentially benefit various downstream document processing applications. Unfortunately, current discourse analysis and document intelligence research mostly focus on either discourse structure of plain text or superficial visual structures in document, which cannot accurately describe discourse structure of highly free-styled and semi-structured web documents. To promote discourse studies on web documents, in this paper we introduced a benchmark {--} WebDP, orienting a new task named Web Document Discourse Parsing. Specifically, a web document discourse structure representation schema is proposed by extending classical discourse theories and adding special features to well represent discourse characteristics of web documents. Then, a manually annotated web document dataset {--} WEBDOCS is developed to facilitate the study of this parsing task. We compared current neural models on WEBDOCS and experimental results show that WebDP is feasible but also challenging for current models.",
}

web-document-discourse-parsing's People

Contributors

qroam avatar

Stargazers

Zn avatar  avatar

Watchers

 avatar

Forkers

huangjiaheng

web-document-discourse-parsing's Issues

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.