Coder Social home page Coder Social logo

salvia79 / acl2021-metaphor-generation-conceptual Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ukplab/acl2021-metaphor-generation-conceptual

0.0 0.0 0.0 108.48 MB

This repository is for the paper Metaphor Generation with Conceptual Mappings (ACL 2021).

License: Apache License 2.0

Shell 0.02% C++ 0.36% Python 90.93% C 5.40% Lua 0.01% Fortran 0.03% PowerShell 0.03% OpenEdge ABL 0.02% Cuda 0.07% Cython 3.13%

acl2021-metaphor-generation-conceptual's Introduction

Conceptual Metaphor Generation

This repository is for the paper Metaphor Generation with Conceptual Mappings.

Please use the following citation:

@inproceedings{stowe-etal-2021-metaphor,
    title = "Metaphor Generation with Conceptual Mappings",
    author = "Stowe, Kevin  and
      Chakrabarty, Tuhin  and
      Peng, Nanyun  and
      Muresan, Smaranda  and
      Gurevych, Iryna",
    booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.acl-long.524",
    doi = "10.18653/v1/2021.acl-long.524",
    pages = "6724--6736",
}

Contact person: Kevin Stowe, [email protected]

https://www.ukp.tu-darmstadt.de/

https://www.tu-darmstadt.de/

Don't hesitate to send us an e-mail or report an issue, if something is broken or if you have further questions.

This repository contains experimental software and is published for the sole purpose of giving additional background details on the respective publication.

System Demonstration

Our system demonstration based on the CM-BART model is now available, try it out!

Models

This paper defines two models for metaphor generation based on conceptual mappings: CM-Lex and CM-BART. CM-Lex uses no training data, and works at the word level, while CM-BART is a BART-based seq2seq model.

CM-BART will generally yield better performance, and doesn't require knowing which word to change. If you know which word needs to be changed, CM-Lex may be appropriate.

These models each have their own directory and requirements. See their respective READMEs for more details.

acl2021-metaphor-generation-conceptual's People

Contributors

kevincstowe 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.