Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 537 Bytes

File metadata and controls

10 lines (6 loc) · 537 Bytes

Measuring-Similarity-Between-Texts

A Python script to measure similarity between texts!

The program takes a predefined .csv file namely 'Requirements Dataset.csv' as input and accepts a search text from the user as another input.

On converting the accepted search string into a csv file, pandas dataframes are used to read csv files and to generate corresponding dataframes.

scikit learn module is used to import CountVectorizer and cosine_similarity functions

The script provides the cosine similarity matrix as it's final output