Skip to content

A GUI-based tool to calculate cosine similarity between two texts. It uses SBERT models from the sentence-transformers library for text encoding and tkinter for the interface.

Notifications You must be signed in to change notification settings

hyper35/Text-Similarity-Using-SBERT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Text-Similarity-Using-SBERT

Overview

This project provides a graphical user interface (GUI) for calculating the cosine similarity between two pieces of text. It leverages SBERT (Sentence-BERT) through the sentence-transformers library to encode the text and compute the similarity score. The GUI is built using tkinter for ease of use.

Features

  • Enter two pieces of text in the provided text boxes.
  • Calculate the cosine similarity between the two texts.
  • Display the similarity score in a user-friendly format.

Installation

To run this project, you'll need Python and the following libraries:

  • sentence-transformers (which includes SBERT models)
  • tkinter (usually included with Python)

You can install the required libraries using pip:

pip install sentence-transformers

About

A GUI-based tool to calculate cosine similarity between two texts. It uses SBERT models from the sentence-transformers library for text encoding and tkinter for the interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages