Code Monkey home page Code Monkey logo

mgsmt's Introduction

MGSMT

MGSMT is a parser for Minimalist Grammars (MGs) that uses the Z3 SMT-solver. If you use MGSMT, please cite the publication detailing the parser:

@inproceedings{indurkhya-2022-parsing,
    title = "Parsing as Deduction Revisited: Using an Automatic Theorem Prover to Solve an {SMT} Model of a Minimalist Parser",
    author = "Indurkhya, Sagar",
    booktitle = "Proceedings of the 26th Conference on Computational Natural Language Learning (CoNLL)",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates (Hybrid)",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.conll-1.12",
    pages = "157--175",
}

Running MGSMT

To see MGSMT in action, you can run the included Jupyter Notebook. E.g. given input consisting of an MG lexicon and a (sentence, meaning) pair for "John fears everyone who knows her.", the parser can generate and display the following MG derivation:

MG Derivation for Example I7

Requirements

MGSMT requires and has been tested with the following software:

  • Z3 v4.8.7 (compiled using Clang 4.0.1)
  • Python v3.7.7 (compiled using Clang 4.0.1)
  • PyGraphViz v1.5
  • IPython v7.12.0
  • pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020)
    • Compiled with libpng 1.6.37; using libpng 1.6.37
    • Compiled with zlib 1.2.11; using zlib 1.2.11
    • Compiled with xpdf version 4.02

mgsmt's People

Contributors

indurks avatar

Stargazers

 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.