Giter VIP home page Giter VIP logo

amgiri-1996 / zangshasha Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 61.51 MB

The project was to get the similarity between two sentences of any language ( It can be natural language or computer language). The first step we are doing is to parse the sentence and get the tree structure of it. Then applying Zhang and Shasha's algorithm (we modified it as pure algorithm was not appropriate here) to find tree distance between these parsed trees. So now we divide the tree in a tree forest according to part of speech and calculate tree distance and we assigned different weightage for different parts of speech structures. for example. Ram is playing. Sita is playing You can see noun part does not alter the meaning of sentence but Ram is playing . Ram is eating verb is completely changing the meaning so clearly parts of sentence has to be different weightage for finding similarity. We used regression techniques to find these parameters.

Java 96.29% Python 3.71%
nlp-machine-learning parsing tree zhang-and-shasha

zangshasha's People

Contributors

amgiri-1996 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

mpaul24

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.