mocobeta
janome
Python

Japanese morphological analysis engine written in pure Python

Last updated Jul 6, 2026
914
Stars
56
Forks
17
Issues
0
Stars/day
Attention Score
65
Language breakdown
No language data available.
โ–ธ Files click to expand
README

======= Janome =======

.. image:: https://github.com/mocobeta/janome/workflows/Checks/badge.svg :target: https://github.com/mocobeta/janome/actions?query=workflow%3AChecks

.. image:: https://coveralls.io/repos/github/mocobeta/janome/badge.svg?branch=master :target: https://coveralls.io/github/mocobeta/janome?branch=master

.. image:: https://img.shields.io/pypi/dm/Janome.svg :target: https://pypistats.org/packages/janome

.. image:: https://img.shields.io/conda/v/conda-forge/janome :target: https://anaconda.org/conda-forge/janome

Janome is a Japanese morphological analysis engine written in pure Python.

General documentation:

https://janome.mocobeta.dev/en/ (English)

https://janome.mocobeta.dev/ja/ (Japanese)

Requirements =============

Python 3.10+ is required.

Install ========

[Note] This consumes about 500 MB memory for building.

.. code:: bash

(venv) $ pip install janome

Run ====

.. code:: bash

(venv) $ python >>> from janome.tokenizer import Tokenizer >>> t = Tokenizer() >>> for token in t.tokenize('ใ™ใ‚‚ใ‚‚ใ‚‚ใ‚‚ใ‚‚ใ‚‚ใ‚‚ใ‚‚ใฎใ†ใก'): ... print(token) ... ใ™ใ‚‚ใ‚‚ ๅ่ฉž,ไธ€่ˆฌ,,,,,ใ™ใ‚‚ใ‚‚,ใ‚นใƒขใƒข,ใ‚นใƒขใƒข ใ‚‚ ๅŠฉ่ฉž,ไฟ‚ๅŠฉ่ฉž,,,,,ใ‚‚,ใƒข,ใƒข ใ‚‚ใ‚‚ ๅ่ฉž,ไธ€่ˆฌ,,,,,ใ‚‚ใ‚‚,ใƒขใƒข,ใƒขใƒข ใ‚‚ ๅŠฉ่ฉž,ไฟ‚ๅŠฉ่ฉž,,,,,ใ‚‚,ใƒข,ใƒข ใ‚‚ใ‚‚ ๅ่ฉž,ไธ€่ˆฌ,,,,,ใ‚‚ใ‚‚,ใƒขใƒข,ใƒขใƒข ใฎ ๅŠฉ่ฉž,้€ฃไฝ“ๅŒ–,,,,,ใฎ,ใƒŽ,ใƒŽ ใ†ใก ๅ่ฉž,้ž่‡ช็ซ‹,ๅ‰ฏ่ฉžๅฏ่ƒฝ,,,*,ใ†ใก,ใ‚ฆใƒ,ใ‚ฆใƒ

License ========

Licensed under Apache License 2.0 and uses the MeCab-IPADIC dictionary/statistical model.

See LICENSE.txt and NOTICE.txt for license details.

Acknowledgement ================

Special thanks to @ikawaha, @takuyaa, @nakagami and @janome_oekaki.

Copyright ==========

Copyright(C) 2015-2025, Tomoko Uchida. All rights reserved.

ยฉ 2026 GitRepoTrend ยท mocobeta/janome ยท Updated daily from GitHub