Giter VIP home page Giter VIP logo

ddsn-dcoref's Introduction

ddsn-dcoref

Discourse deictic shell noun resolution that helps in summarisation

Repo name is a misnomer - the name for the project evolved over time; so please dont read too much into the repo name.

####Platform

  • Development was done on Mac(Mountain Lion ?) and Ubuntu (12.04/14.04)

####Runtime

  • python 2.7

####Limitation

  • Reliance on /home/gt/Documents folder structure throughout the code. New members could create the folder structure in their machines or we could refactor the code thoroughly to stop relying on it. Sorry about this limiation for now.

####Dependencies

  • GraphViz - graphviz version 2.36.0 (20140111.2315)
  • Stanford CoreNLP (v 3.3.1) (Tregex, Constituency Parser are used)
  • Concorde TSP Solver ( for extrinsic evaluation )
  • Scikit python library for SVM

####Package Structure 0. edu.sbu.stan-syntax

Package for Tregex based semantic parsing. Uses Stanford CoreNLP and Stanford Tregex packages.

  1. edu.sbu.bin -> Meant to keep the utility scripts for the project.

  2. edu.sbu.eval -> package focussing on different evaluation techniques for the project.

  3. Sentence re-ordering experiment (extrinsic evaluation)

  4. Cloze task ( may or may not be included in the final version )

  5. User evaluation - Users felt that the task is really hard in our pilot experiments

  6. Possibly we could have some gold standard annotations and report P/R as a metric for the semantic parsing and graphs that we build.

  7. edu.sbu.shell -> core of diagram generation

  8. edu.sbu.shell.Transformer -> Driver program for diagram generation

  9. edu.sbu.shell.rules -> Package for coref-resolution heuristics ( coref resolution connects the verb, arg1, arg2 triplets extracted by our Tregex to give us connected components )

  10. edu.sbu.shell.semgraph -> Package for our semantic graph representation and the equivalent representation in graphviz (DCorefGraph -> our semantic graph; DotGraph -> equivalent graph in graphviz parlance)

  11. PNode, RNode -> Representation for Predicate nodes and argument nodes

  12. edu.sbu.mst

    Formulating the problem of diagramming as arborescence. We have connected components given by our coref heuristics. We try to string these connected components together (so that they participate in a partial order relation) by making use of arborescence algorithm and content models that we build.

  13. This package has the arborescence solvers, transformation (back and forth) of the semantic graph for arborescence formulation.

  14. edu.sbu.stats -> Our content models

This is what the package is believed to give us

  '''
  getArg1Arg2PredPredArg1Prob(a1s, a2s, verb, overb, oas) returns P(pred2, pred2.arg1 | pred1.arg1, pred1.arg2, pred1)
  getArg1Arg2PredPredProb(a1s, a2s, verb, overb) returns P(pred2 | pred1.arg1, pred1.arg2, pred1)
  getArg1PredPredArg1Prob(a1s, verb, overb, oas) returns P(pred2, pred2.arg1 | pred1.arg1, pred1)
  getArg1PredPredProb(a1s, verb, overb) returns P(pred2 | pred1.arg1, pred1)
  '''

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.