How to use the pykakasi.j2h.J2H function in pykakasi

To help you get started, we’ve selected a few pykakasi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github miurahr / pykakasi / pykakasi / j2a.py View on Github external
def __init__(self, method="Hepburn"):
        from .j2h import J2H
        from .h2a import H2a
        self._jconv = J2H()
        self._hconv = H2a(method)
github miurahr / pykakasi / pykakasi / j2k.py View on Github external
def __init__(self):
        from .j2h import J2H
        from .h2k import H2K
        self._jconv = J2H()
        self._hconv = H2K()