Coder Social home page Coder Social logo

syxu828 / udeplambda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sivareddyg/udeplambda

0.0 2.0 0.0 18.85 MB

A framework to convert Universal Dependencies to Logical Forms

Home Page: https://arxiv.org/pdf/1702.03196

License: Apache License 2.0

Makefile 44.19% Shell 1.16% Python 4.94% Java 49.70%

udeplambda's Introduction

UDepLambda

UDepLambda is a framework to convert Universal Dependencies to Logical Forms.

For more details, please refer to our paper:

Universal Semantic Parsing
Siva Reddy, Oscar Täckström, Slav Petrov, Mark Steedman, Mirella Lapata
arXiv:1702.03196, 2017.

Installation

Requirements

  • Java 8
  • Ant 1.8.2 or higher

Installation commands

Run the following commands in a terminal:

git clone https://github.com/sivareddyg/UDepLambda.git
cd UDepLambda
git submodule update --init --recursive lib
git submodule update --init --recursive lib_data/ud-models-v1.3
git submodule update --init --recursive lib_data/ud-models-v1.2
ant build

Troubleshooting

Eclipse setup

File -> Import -> Existing Projects into Workspace -> Select root directory as UDepLambda -> Finish

Usage:

For English:

cat input-english.txt | sh run-english.sh

For German:

cat input-german.txt | sh run-german.sh

For Spanish:

cat input-spanish.txt | sh run-spanish.sh

Check debug.txt to see step by step derivation.

Web Demo

http://sivareddy.in/udeplambda.html

Important files

Documentation

Contributions

We welcome any kind of contributions. Please see CONTRIBUTING.md for instructions on how to contribute.

License

UDepLambda is distributed as Apache 2.0 license. However, depending on the pipeline and resources you use, you may have to get additional licenses. For example, the default pipeline uses the Stanford CoreNLP Pipeline, and the logical expression parsing engine is based on Cornell Semantic Parsing Framework. You can see the list of libraries we use at https://bitbucket.org/sivareddyg/udeplambda-lib/src.

Reference

@article{reddy2017universal,
  title={Universal Semantic Parsing},
  author={Reddy, Siva and T{\"a}ckstr{\"o}m, Oscar and Petrov, Slav and Steedman, Mark and Lapata, Mirella},
  journal={arXiv preprint arXiv:1702.03196},
  year={2017}
  url = {https://arxiv.org/pdf/1702.03196.pdf}
}

Publications/Projects using UDepLambda

Universal Dependencies to Logical Forms with Negation Scope
Federico Fancellu, Siva Reddy, Adam Lopez, Bonnie Webber
arXiv:1702.03305, 2017.

udeplambda's People

Contributors

sivareddyg avatar saraswat avatar

Watchers

James Cloos avatar  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.