Implementation of Text Similarity using Cosine Similarity Method in Python

Ahmad Farhan AlShammari · International Journal of Computer Applications · 2023

The goal of this research is to develop a text similarity program using cosine similarity method in Python.The steps of text similarity process are: preprocessing text, word-tokenization, creating list of words, creating bag of words, calculating word frequency, and calculating cosine similarity.The developed program was examined on two experimental texts from Wikipedia.The program successfully performed the steps of text similarity and provided the required results.

Read the paper · More papers on PaperTik