FindSimilar
User-friendly library to find similar objects
You can find Full Project Documentation here
Workflows
PyPi
Anaconda
License
Support
PyPi Downloads
Anaconda Downloads
Languages
Development
Repository Stats
Menu
- Mission
- Open Source Project
- Features
- Requirements
- Development Status
- Install
- Quickstart
- Contributing
Mission
The mission of the FindSimilar project is to provide a powerful and versatile open source library that empowers developers to efficiently find similar objects and perform comparisons across a variety of data types. Whether dealing with texts, images, audio, or more, our project aims to simplify the process of identifying similarities and enhancing decision-making.
Open Source Project
This is the open source project with MIT license. Be free to use, fork, clone and contribute.
Features
Find similar texts
- on different languages
- with or without stopwords
- using dictionary (or not)
- using keywords (or not)
Requirements
- nltk, pymorphy3
- See more in Full Documentation
Development Status
- Package already available on PyPi
- See more in Full Documentation
Install
with pip
pip install find-similar
See more in Full Documentation
Quickstart
from find_similar import find_similar
texts = ['one two', 'two three', 'three four']
text_to_compare = 'one four'
find_similar(text_to_compare, texts, count=10)
[TokenText(text="one two", len(tokens)=2, cos=0.5), TokenText(text="three four", len(tokens)=2, cos=0.5), TokenText(text="two three", len(tokens)=2, cos=0)]
- The result is the list of
TokenTextinstances ordering bycos cosis the mark of texts similarity
See more examples in Full Documentation
Contributing
You are welcome! To easy start please check:
Metadata
Release files for find-similar 2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| find_similar-2.2.1.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| find_similar-2.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.2 kB
Release files / find_similar-2.2.1.tar.gz
| Download URL | find_similar-2.2.1.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0741407aa3a38a49f5ae3a783220afcc03addcf32e45887f6287d3667f97e4b5
|
|
BLAKE2b-256 checksum How to use checksums |
1f3bb34e9121f75a17404960a06b8c7f22f6066b09e056284a1d6be3c7b8dacf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / find_similar-2.2.1-py3-none-any.whl
| Download URL | find_similar-2.2.1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abbc99c2ada7bd14ab8d2baa6c92d45f9a53b15620817796f097f09b4c0ddbd5
|
|
BLAKE2b-256 checksum How to use checksums |
9e4b1cc9bd5e993fb81861e39808eb7546e4400e66f602c50eb59f6fbbca50d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|