This repository contains tools for evaluating the similarity between texts using different methods, such as BERT embeddings and BLEU score.
examples/
: Contains example Jupyter notebooks demonstrating how to use the tools.data/
: Data directory for examples.example_usage.ipynb
: An example notebook showing how to use the similarity evaluation tool.
text_eval/
: The Python package directory.__init__.py
: Makestext_eval
a Python package.similarity_eval.py
: Core script containing the similarity evaluation functions.
requirements.txt
: Lists the project dependencies.
- Clone this repository to your local machine.
- Ensure you have Python installed.
- Install the required dependencies by running
pip install -r requirements.txt
in the root directory of the project.
The main functionality is demonstrated in the example_usage.ipynb
notebook.
Contributions to improve the tool or extend its functionality are welcome. Please feel free to fork the repository and submit pull requests.