Sign inSign up

psandhaas/dmrst-parser

By psandhaas

•Updated about 1 year ago

Discourse Segmentation & RST-Parsing on CPU

Image
Machine learning & AI
0

992

psandhaas/dmrst-parser repository overview

Containerized DMRST_Parser⁠ utilizing the CPU, wrapped in a Python API. The parser supports English, Portuguese, Spanish, German, Dutch, Basque inputs.

Note that this model is distributed by the authors for research use only.

⁠Usage

For .rs3-output, use this:

docker pull psandhaas/dmrst-parser:latest
docker run -p 8000:8000 dmrst-api
import requests

resp = requests.post(
    "http://localhost:8000/parse",
    json={"sentences": "This is a test sentence."}
)
print(resp.json())

(See http://localhost:8000/docs⁠ for API-schema)

⁠Citation

    title = "{DMRST}: A Joint Framework for Document-Level Multilingual {RST} Discourse Segmentation and Parsing",
    author = "Liu, Zhengyuan and Shi, Ke and Chen, Nancy",
    booktitle = "Proceedings of the 2nd Workshop on Computational Approaches to Discourse",
    month = nov,
    year = "2021",
    address = "Punta Cana, Dominican Republic and Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.codi-main.15",
    pages = "154--164",
}
@inproceedings{liu2020multilingual,
  title={Multilingual Neural RST Discourse Parsing},
  author={Liu, Zhengyuan and Shi, Ke and Chen, Nancy},
  booktitle={Proceedings of the 28th International Conference on Computational Linguistics},
  pages={6730--6738},
  year={2020}
}

Tag summary

Content type

Image

Digest

sha256:50baad173…

Size

1.8 GB

Last updated

about 1 year ago

docker pull psandhaas/dmrst-parser