Git Product home page Git Product logo

amr_library's Introduction

Textual representation of AMR(Abstract Meaning Representation) can be very hard to process because of it's complex structure. This reprository provides code to simplify the process of using AMR and is aimed at increasing accessibility of AMR.

Functionalities -

read_data - Given the path to the AMR file it reads AMRs from it. Note: The data in the AMR file has to be in the format specified in the gold-standard AMRs of the AMR-Bank. Future versions might include mehtods to handle other formats as well.

amr - Contains the AMR class, it provides following special functionalities for sentence and document AMRs -

  • Provides translation between - (word,alignment), (alignment, node_index) etc.
  • Conversion from graphical representation of AMR to textual representation
  • Node merging with various sanity checks

directed_graph - Class used for the graphical representation of AMR with a useful auxiliary functionalities

grasshopper - Python implementation of the grasshopper algorithm

generate_document_graph - Merges the sentence AMRs without coreference resolution

pipeline - An example usage of all other classes for summarization

amr_library's People

Contributors

shibhansh avatar theprernab avatar

Watchers

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