=======
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://badges.gitter.im/org.png
:target: https://gitter.im/janome-python
.. 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://mocobeta.github.io/janome/en/ (English)
https://mocobeta.github.io/janome/ (Japanese)
Requirements
=============
Python 3.7+ 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-2023, Tomoko Uchida. All rights reserved.
Raw data
{
"_id": null,
"home_page": "https://mocobeta.github.io/janome/en/",
"name": "Janome",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Tomoko Uchida",
"author_email": "tomoko.uchida.1111@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/08/4e/dc2b1a89a4ffafbf9bf49c8e11f69e28ba8b3ef81d11afe6e9f96caee6cc/Janome-0.5.0.tar.gz",
"platform": null,
"description": "=======\nJanome\n=======\n\n.. image:: https://github.com/mocobeta/janome/workflows/Checks/badge.svg\n :target: https://github.com/mocobeta/janome/actions?query=workflow%3AChecks\n\n.. image:: https://coveralls.io/repos/github/mocobeta/janome/badge.svg?branch=master\n :target: https://coveralls.io/github/mocobeta/janome?branch=master\n\n.. image:: https://badges.gitter.im/org.png\n :target: https://gitter.im/janome-python\n\n.. image:: https://img.shields.io/pypi/dm/Janome.svg\n :target: https://pypistats.org/packages/janome\n\n.. image:: https://img.shields.io/conda/v/conda-forge/janome\n :target: https://anaconda.org/conda-forge/janome\n\nJanome is a Japanese morphological analysis engine written in pure Python.\n\nGeneral documentation:\n\nhttps://mocobeta.github.io/janome/en/ (English)\n\nhttps://mocobeta.github.io/janome/ (Japanese)\n\nRequirements\n=============\n\nPython 3.7+ is required.\n\nInstall\n========\n\n[Note] This consumes about 500 MB memory for building.\n\n.. code:: bash\n\n (venv) $ pip install janome\n\nRun\n====\n\n.. code:: bash\n\n (venv) $ python\n >>> from janome.tokenizer import Tokenizer\n >>> t = Tokenizer()\n >>> for token in t.tokenize('\u3059\u3082\u3082\u3082\u3082\u3082\u3082\u3082\u3082\u306e\u3046\u3061'):\n ... print(token)\n ...\n \u3059\u3082\u3082 \u540d\u8a5e,\u4e00\u822c,*,*,*,*,\u3059\u3082\u3082,\u30b9\u30e2\u30e2,\u30b9\u30e2\u30e2\n \u3082 \u52a9\u8a5e,\u4fc2\u52a9\u8a5e,*,*,*,*,\u3082,\u30e2,\u30e2\n \u3082\u3082 \u540d\u8a5e,\u4e00\u822c,*,*,*,*,\u3082\u3082,\u30e2\u30e2,\u30e2\u30e2\n \u3082 \u52a9\u8a5e,\u4fc2\u52a9\u8a5e,*,*,*,*,\u3082,\u30e2,\u30e2\n \u3082\u3082 \u540d\u8a5e,\u4e00\u822c,*,*,*,*,\u3082\u3082,\u30e2\u30e2,\u30e2\u30e2\n \u306e \u52a9\u8a5e,\u9023\u4f53\u5316,*,*,*,*,\u306e,\u30ce,\u30ce\n \u3046\u3061 \u540d\u8a5e,\u975e\u81ea\u7acb,\u526f\u8a5e\u53ef\u80fd,*,*,*,\u3046\u3061,\u30a6\u30c1,\u30a6\u30c1\n\nLicense\n========\n\nLicensed under Apache License 2.0 and uses the MeCab-IPADIC dictionary/statistical model.\n\nSee LICENSE.txt and NOTICE.txt for license details.\n\nAcknowledgement\n================\n\nSpecial thanks to @ikawaha, @takuyaa, @nakagami and @janome_oekaki.\n\nCopyright\n==========\n\nCopyright(C) 2015-2023, Tomoko Uchida. All rights reserved.\n",
"bugtrack_url": null,
"license": "AL2",
"summary": "Japanese morphological analysis engine.",
"version": "0.5.0",
"project_urls": {
"Homepage": "https://mocobeta.github.io/janome/en/",
"Source": "https://github.com/mocobeta/janome"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "737d70f4069f4bbf0fca023e82a1fbbade6f5216365d4fe259fee1950723eca5",
"md5": "2c03e9bdfef8963aa4536f8fc7d75414",
"sha256": "d098670394a77881ce2f6b7d696c0ea5ff74c0c8cf74a8a882159ec82c0e6dc7"
},
"downloads": -1,
"filename": "Janome-0.5.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "2c03e9bdfef8963aa4536f8fc7d75414",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 19654103,
"upload_time": "2023-07-01T10:52:58",
"upload_time_iso_8601": "2023-07-01T10:52:58.572457Z",
"url": "https://files.pythonhosted.org/packages/73/7d/70f4069f4bbf0fca023e82a1fbbade6f5216365d4fe259fee1950723eca5/Janome-0.5.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "084edc2b1a89a4ffafbf9bf49c8e11f69e28ba8b3ef81d11afe6e9f96caee6cc",
"md5": "15b115aa752126fe4f003a52b151ffd9",
"sha256": "ce4a3ed7a4635c2f80139639327d5b1e0381858ad74a3c4a61e8cc83f820400e"
},
"downloads": -1,
"filename": "Janome-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "15b115aa752126fe4f003a52b151ffd9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 18829020,
"upload_time": "2023-07-01T10:53:09",
"upload_time_iso_8601": "2023-07-01T10:53:09.161786Z",
"url": "https://files.pythonhosted.org/packages/08/4e/dc2b1a89a4ffafbf9bf49c8e11f69e28ba8b3ef81d11afe6e9f96caee6cc/Janome-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-01 10:53:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mocobeta",
"github_project": "janome",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "janome"
}