Skip to content

Carpetfizz/text-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published