Skip to content

knzm/Mykytea-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KyTea wrapper for python

2011/07/15 chezou

Mykytea-ruby is a ruby 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 build Mykytea-python, run

% 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 'mykytea_test.py' as a sample program.

License

MIT License

About

Python wrapper for KyTea

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.7%
  • Other 0.3%