Skip to main content

UniDic packaged for Python

Project description

unidic-py

This is a version of UniDic packaged for use with pip.

Currently it supports 2.3.0, the latest version of UniDic. Note this will take up 2GB on disk after install. If you want a small package, try unidic-lite.

After installing via pip, you need to download the dictionary using the following command:

python -m unidic download

Example use with fugashi, though mecab-python3 works the same way:

import fugashi
import unidic
tagger = fugashi.Tagger('-d{}'.format(unidic.DICDIR))
# that's it!

License

The modern Japanese UniDic is available under the GPL, LGPL, or BSD license, see here. UniDic is developed by NINJAL, the National Institute for Japanese Language and Linguistics.

The code in this repository is not written or maintained by NINJAL. The code is available under the MIT or WTFPL License, as you prefer.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unidic-1.0.0a1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file unidic-1.0.0a1.tar.gz.

File metadata

  • Download URL: unidic-1.0.0a1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for unidic-1.0.0a1.tar.gz
Algorithm Hash digest
SHA256 7ab6c82ae6407bb694bd1eb54c0bc87b93990cabbf0840169689047f88d7bf75
MD5 d9d5ff58d9759068a29d6a7d7619150c
BLAKE2b-256 95f4f014647a12c373c61f7673d90b714dea11bca032e748e5224620b00561bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page