mocobeta/janome

Japanese morphological analysis engine written in pure Python

Python

917

480 commits

updated Jun 7, 2026

See the code

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.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

japanese-language
nlp-library
python

mocobeta/janome

Japanese morphological analysis engine written in pure Python

Python

917

480 commits

updated Jun 7, 2026

See the code

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.

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

japanese-language
nlp-library
python

Project health

Overall

2.8/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

PyPI

Latest release

0.5.0 · Jul 1, 2023

Releases this year

0

Significant stargazers

Darren Burns

759 followers · starred Jan 2024

Tokuhiro Matsuno

1,044 followers · starred Aug 2020

Shinichi Hemmi

9 followers · starred Sep 2023

Yuki Shindo

139 followers · starred Mar 2018