Giter VIP home page Giter VIP logo

high-order-joint-parsing's Introduction

High-order Joint Constituency and Dependency Parsing

Setup

The following packages should be installed:

Please modify data/model-conf/data.ini according to paths of your own dataset.

You can download the processed PTB-train, where incompatible instances are removed. The meaning of compatibility can be viewd in our paper.

Run

Try the following commands to train second-order Joint2o model:

python src/parse.py -c data/model-conf/bert-ptb/joint2o-bi.ini -d 0

To make predictions:

python src/pred.py -d 0 -c data/model-conf/bert-ptb/joint2o-bi.ini \
    --path exp/bert-e25-ptb/joint2o-bi-s1/model \
    --data_con data/ptb/test.pid \
    --data_dep data/ptb/test.conllx \
    --pred exp/joint2o-bi-s1/test.pred \
    --decode satta

Contact

If you have any questions, feel free to contact me via emails.

Citation

If you are interested in our work, please cite

@inproceedings{gu-etal-2024-high-order,
  title     = {High-order Joint Constituency and Dependency Parsing},
  author    = {Yanggan, Gu  and
               Yang, Hou  and
               Zhefeng, Wang  and
               Xinyu, Duan  and
               Zhenghua, Li},
  booktitle = {Proceedings of LREC-COLING},
  year      = {2024},
  address   = {Torino, Italia},
  publisher = {International Committee on Computational Linguistics}
}

high-order-joint-parsing's People

Contributors

egangu avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.