Giter Site home page Giter Site logo

document_similarity's Introduction

Document Similarity

The goal for this project is to calculate the document similarity between several research papers and create a visualization of their similarity. These values can then be used to find the closest documents, which if successful will be semantically similar rather than syntactically.

Current methods for document similarity all include processing the words in the document to change their representation into that of a vector. The distance between these two vectors is then calculated using one of the many difference equations.

In my first attempt I will be using the Universal Sentence Encoder (research paper found here: https://arxiv.org/pdf/1803.11175.pdf) to create a fixed dimensional embedding representation of the sentences in the document to be processed. To process the pdfs into text files I will be using PDFminer.six, the version of PDFminer compatible with Python 3. (note: had to run sed $'s/\r//' -i $(which pdf2txt.py) to fix error in pdf2txt.py file)

Requirements:

  • NLTK
  • pdfminer.six
  • Tensorflow
  • Tensorflow_Hub
  • Numpy
  • Seaborn (packaged with Numpy)

document_similarity's People

Contributors

krisbukovi avatar

Watchers

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