find-similar integration for django
Project description
django-find-similar
find-similar integration for django
You can find Full Project Documentation here
Workflows
Package
Support
Downloads
Languages
Development
Menu
- Mission
- Open Source Project
- Features
- Requirements
- Development Status
- Install
- Quickstart
- Contributing
Mission
To provide find-similar integration with django projects
Open Source Project
This is the open source project with MIT license. Be free to use, fork, clone and contribute.
Features
- Django models
- Django forms
Requirements
- django, find-similar
- See more in Full Documentation
Development Status
- Package already available on PyPi
- See more in Full Documentation
Install
with pip
pip install django-find-similar
See more in Full Documentation
Quickstart
from django_find_similar.models import FindSimilarInput, Text
input_data = {
'text': Text.objects.create(text='one two'),
# 'texts': [Text.objects.create(text='one'), Text.objects.create(text='two')],
'language': "english",
'count': 5,
# 'dictionary': None,
'remove_stopwords': True,
# 'keywords': None,
}
find_similar_input = FindSimilarInput.objects.create(
**input_data
)
texts = [Text.objects.create(text='one'), Text.objects.create(text='two')]
for text in texts:
find_similar_input.texts.add(text)
find_similar_input.save()
More examples in Full Documentation
Contributing
You are welcome! To easy start please check:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_find_similar-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b2e9404a356c0fe379f278a3c15b1f0d7597338c36cb794d6e6d746eb325b96 |
|
MD5 | 5a4acda26571425b4cfa641d5d4be255 |
|
BLAKE2b-256 | cb5a60ed22026f578b4add1b333130c2ad56cc2f69f854bec97b8f1c20b3711d |
Close
Hashes for django_find_similar-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960437d20ff02f9ec26e35a6e54024761126153a958749dab5f71a684b908ec6 |
|
MD5 | 28287a9e55ecf25ad091dce2a3cee39a |
|
BLAKE2b-256 | c956c9fc530e53ccae7ee324b9472fdf79a0b177b266203f4a797565e2126f55 |