Skip to main content

An text analysis toolkit KyTea binding

Project description

KyTea wrapper for python

Build Status Build status Patreon

Mykytea-python is a python wrapper module for KyTea, a general text analysis toolkit. KyTea is developed by KyTea Development Team

Detailed information of KyTea can be found at http://www.phontron.com/kytea

Install Dependencies

You need to install KyTea before build.

To install Mykytea-python, run

% pip install kytea

To build Mykytea-python, run (if you don't want to use pip)

% make

If you want to install, run

% sudo make install

If you fail to make, please try to install SWIG and run

% swig -c++ -python -I/usr/local/include mykytea.i

Or if you still fail on Max OS X, run with some variables % ARCHFLAGS="-arch x86_64" CC=gcc CXX=g++ make

If you compiled kytea with clang, you need ARCHFLAGS only.

To create wheel

To create whl archive, the setuptools and wheel are needed.

% python setup.py bdist_wheel

How to use?

See 'lib/test/mykytea_test.py' as a sample program.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kytea, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size kytea-0.1.5-cp35-cp35m-macosx_10_13_x86_64.whl (152.0 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size kytea-0.1.5-cp35-cp35m-manylinux2010_x86_64.whl (5.2 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size kytea-0.1.5-cp35-cp35m-win32.whl (253.5 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size kytea-0.1.5-cp35-cp35m-win_amd64.whl (322.9 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size kytea-0.1.5-cp36-cp36m-macosx_10_13_x86_64.whl (152.0 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size kytea-0.1.5-cp36-cp36m-manylinux2010_x86_64.whl (5.2 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size kytea-0.1.5-cp36-cp36m-win32.whl (253.5 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size kytea-0.1.5-cp36-cp36m-win_amd64.whl (322.9 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size kytea-0.1.5-cp37-cp37m-macosx_10_13_x86_64.whl (152.0 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size kytea-0.1.5-cp37-cp37m-manylinux2010_x86_64.whl (5.2 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size kytea-0.1.5-cp37-cp37m-win32.whl (253.5 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size kytea-0.1.5-cp37-cp37m-win_amd64.whl (322.9 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size kytea-0.1.5-cp38-cp38-macosx_10_13_x86_64.whl (152.1 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size kytea-0.1.5-cp38-cp38-manylinux2010_x86_64.whl (5.2 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size kytea-0.1.5-cp38-cp38-win32.whl (254.0 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size kytea-0.1.5-cp38-cp38-win_amd64.whl (323.1 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size kytea-0.1.5-py3.5-macosx-10.13-x86_64.egg (159.1 kB) File type Egg Python version 3.5 Upload date Hashes View
Filename, size kytea-0.1.5-py3.6-macosx-10.13-x86_64.egg (159.0 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size kytea-0.1.5-py3.7-macosx-10.13-x86_64.egg (159.0 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size kytea-0.1.5-py3.8-macosx-10.13-x86_64.egg (159.2 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size kytea-0.1.5.tar.gz (71.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page