Carpetfizz / text-sim

Given two text documents, computes the percentage similarity between them

Home Page:http://ajayramesh.com/text-sim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

text-sim

Given two text documents, computes the percentage similarity between them

text-sim

This web application is built as a demo project for the Introduction to Web Development workshop presented at Cal Hacks 3.0. By implementing parts of this application, students will learn about how HTML, CSS, and Javasript work together. I strongly believe in project based learning and having students walking away with something they can tweak to make an actual product out of.

The workshop repository can be found here

The slides for this workshop can be viewed here.

The text comparison is done using cosine similarity. It converts each document into a word frequency vector and finds the cosine of the angle between them. This number will always be a positive number between 0 and 1.

About

Given two text documents, computes the percentage similarity between them

http://ajayramesh.com/text-sim


Languages

Language:JavaScript 74.1%Language:CSS 16.1%Language:HTML 9.8%