Skip to main content

Easy-to-use package for grouping, tagging and finding similar documents, using advanced natural language processing techniques

Project description

clump

Easy-to-use library for grouping, tagging and finding similar documents, using advanced natural language processing techniques.

The initial purpose of this package is for finding similar or related documents. The typical use case for this is news apps that want to display related content for a particular news story.

Many developers don’t have the time to invest in learning the best practices for this, so this module provides a simple package for loading all the content to consider and then a function that given a passage of text, will find all the related stories.

How to use:

Simply install the library with pip and import the VectorSpaceModel

from clumb import VectorSpaceModel
training_docs = ['Some pieces of text', 'More text']

# build the model
model = VectorSpaceModel(training_docs)

# find the three most similar documents
similar = model.find_similar('Another text', n=3)
print(similar)

Current Limitations

  • Small contextual consideration.
  • Performance on large datasets 

Road Map

  • Document clustering
  • Automatic tagging
  • Topic classification
  • Performance improvements by pre clustering documents into large groups, then searching just the similar clusters.

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

clump-0.0.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clump-0.0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file clump-0.0.5.tar.gz.

File metadata

  • Download URL: clump-0.0.5.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for clump-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0cb1575e0c1c19b262546eb75cafa3f24e3dd67a57a8ea2f8e679566715398c4
MD5 60c16a66df9fb1fcef9b0dd8b17dfec0
BLAKE2b-256 fa61e834f2a22b75021cb5f7cf57496f4282c1694c94c50f1f21bfb622cfa3ce

See more details on using hashes here.

File details

Details for the file clump-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: clump-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for clump-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aaaf137de888e5dbd8acca5da5ced8d66e12cab7c3747496ef7511df74cbc90a
MD5 3744915fb09bcb6f8126a3b2f73a76e8
BLAKE2b-256 b9da5d7c39b73824ffffa1ff5b7cfcaa9c3c8f8912a737143f5ccf6c98b66d94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page