Metadata-Version: 2.4
Name: jamorasep
Version: 0.0.2
Summary: Japanese mora separator
Home-page: https://github.com/tachi-hi/jamorasep
Author: Hideyuki Tachibana
Author-email: tachi-hi@users.noreply.github.com
License: MIT
Keywords: jpyomi
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: Japanese
Classifier: Programming Language :: Python :: 3
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: Programming Language :: Python :: 3.13
Requires-Python: >=3.8
License-File: LICENSE
Requires-Dist: typeguard
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary


jamorasep
=========


.. image:: https://img.shields.io/pypi/v/jamorasep.svg
   :target: https://pypi.python.org/pypi/jamorasep
   :alt: pypi

.. image:: https://readthedocs.org/projects/jamorasep/badge/?version=latest
   :target: https://jamorasep.readthedocs.io/en/latest
   :alt: Documentation Status

.. image:: https://github.com/tachi-hi/jamorasep/actions/workflows/test.yml/badge.svg
   :target: https://github.com/tachi-hi/jamorasep/actions/workflows/test.yml
   :alt: CI

.. image:: https://img.shields.io/pypi/l/jamorasep.svg
   :target: https://opensource.org/licenses/MIT
   :alt: MIT

Japanese text parser to separate Hiragana/Katakana string into morae (syllables).

License
-------

Copyright (c) 2023 Hideyuki Tachibana, `MIT License <https://github.com/tachi-hi/jamorasep/blob/master/LICENSE>`_

Usage
-----
Install
^^^^^^^

.. code-block:: bash

    pip install jamorasep

Code Example
^^^^^^^^^^^^

.. code-block:: python

   # import
   import jamorasep
   jamorasep.parse("シャンプーハット", output_format="katakana")
   jamorasep.parse("シャンプーハット", output_format="simple-ipa")
   jamorasep.parse("シャンプーハット", output_format="kunrei")
   jamorasep.parse("シャンプーハット", output_format="hepburn")
