====================
Installing pytextseg
====================

Prerequisites
=============

Python 2.3 or later is required.  Python 3.x including CPython 3.3a is
also supported.

C compiler is required to build this Python extension.

Sombok library package 2.2 or later is required.  If you had not 
got it, bundled sources are used.

    http://sourceforge.net/projects/linefold/files/sombok/

Sombok optionally needs LibThai library package to perform Thai word 
segmentation:

    http://linux.thai.net/projects/libthai/

Install
=======

To install pytextseg, run::

    pip install pytextseg

or::

    easy_install pytextseg

Or, download source tarball from

  http://pypi.python.org/pypi/pytextseg/

and extract it, then run::

    python setup.py build
    python setup.py test
    python setup.py install

