Metadata-Version: 2.1
Name: kytea
Version: 0.1.8
Summary: A text analysis toolkit KyTea binding
Home-page: https://github.com/chezou/Mykytea-python
Author: Aki Ariga
Author-email: chezou@gmail.com
License: MIT license
Project-URL: Source, https://github.com/chezou/Mykytea-python
Project-URL: Tracker, https://github.com/chezou/Mykytea-python/issues
Keywords: KyTea,NLP,Japanese morphological analyzer
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Text Processing :: Linguistic
Description-Content-Type: text/markdown; charset=UTF-8
License-File: LICENSE

KyTea wrapper for python
==========================

[![Patreon](https://img.shields.io/badge/patreon-donate-orange.svg)](https://www.patreon.com/chezou)

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


