Skip to content
/ clump Public

Natural Language Processing made simple: text clustering, "related posts" and topic tagging

License

Notifications You must be signed in to change notification settings

readikus/clump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

This blog introduces the key functionality and how to use the package.

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.

About

Natural Language Processing made simple: text clustering, "related posts" and topic tagging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages