Giter Club home page Giter Club logo

python-textmining's Introduction

Python textmining package

Author: Christian Peccei Author Email: [email protected] Python 3.x compatibility: Maciej Witkowiak, [email protected] Version: 1.1 Homepage: http://www.christianpeccei.com/projects/textmining

#Overview

This package contains a variety of useful functions for text mining in Python. 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).

#Installation

Extract the .zip file and run:

python setup.py install

#Installation directly from github

Run:

pip install git+https://github.com/ytmytm/python-textmining.git

#Documentation

Please see the docstrings in the functions themselves and the 'examples' subdirectory for actual applications of the various functions.

python-textmining's People

Contributors

benjaminliupenrose avatar ytmytm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

python-textmining's Issues

Package stemmer not

It seems package stemmer is not automatically installed when I install textmining from PyPI. I can't even find it for Python 3?

$ pip3 install textmining
Collecting textmining
  Downloading textmining-1.0.zip (1.9MB)
    100% |████████████████████████████████| 1.9MB 528kB/s 
Building wheels for collected packages: textmining
  Running setup.py bdist_wheel for textmining ... done
  Stored in directory: /root/.cache/pip/wheels/93/8f/53/f9267c41a454c092a6a0b9b87d7de96ac2b55a3163043ec5b3
Successfully built textmining
Installing collected packages: textmining
Successfully installed textmining-1.0
$ python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import textmining
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/textmining/__init__.py", line 2, in <module>
    import stemmer
ImportError: No module named 'stemmer'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.