Skip to main content

Text Mining Utilities for Python 3

Project description

textmining3 Documentation Status

Text Mining Utilities for Python 3


This package contains a variety of useful functions for text mining in Python 3.

It focuses on statistical text mining (i.e. the bag-of-words model) and makes it very easy to create a term-document matrix from a collection of documents. This matrix can then be read into a statistical package (R, MATLAB, etc.) for further analysis. The package also provides some useful utilities for finding collocations (i.e. significant two-word phrases), computing the edit distance between words, and chunking long documents up into smaller pieces.

The package has a large amount of curated data (stopwords, common names, an English dictionary with parts of speech and word frequencies) which allows the user to extract fairly sophisticated features from a document.

This package does NOT have any natural language processing capabilities such as part-of-speech tagging. Please see the Python NLTK for that sort of functionality (plus much, much more).

The original code and documentation is available in PyPI under the package name textmining. This package is a port to Python 3 and published in PyPI under the package name textmining3, and is based on the original.


The original textmining 1.0 package code was authored by Christian Peccei <>

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.


1.1.0 (2018-13-19)

  • Add new feature to export DTM to pandas.DataFrame

1.0.2 (2018-12-19)

  • First port of textmining to Python 3

1.0.0 (2010-01-11)

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

textmining3-1.1.0.tar.gz (23.9 kB view hashes)

Uploaded source

Built Distribution

textmining3-1.1.0-py2.py3-none-any.whl (1.9 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page