Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TextDistance class for calculating cosine distance between texts. #113

Merged
merged 11 commits into from
Dec 22, 2023

Conversation

PhilipMay
Copy link
Member

No description provided.

@PhilipMay PhilipMay linked an issue Dec 20, 2023 that may be closed by this pull request
This commit adds three new test cases to the `test_text.py` file. The new tests verify the functionality of the `TextDistance` class by checking the distance calculation for different input texts. The tests cover scenarios such as orthogonal texts, extended texts, and an exception case. These new tests enhance the test coverage and ensure the accuracy of the `TextDistance` class.
@PhilipMay PhilipMay merged commit 7948aae into main Dec 22, 2023
8 checks passed
@PhilipMay PhilipMay deleted the recognize-cleanliness-of-texts branch December 23, 2023 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tool to detect strange characters in texts.
1 participant