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 1GB on disk after install and can take a long time to download. 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.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file unidic-1.0.1.tar.gz.

File metadata

  • Download URL: unidic-1.0.1.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.2

File hashes

Hashes for unidic-1.0.1.tar.gz
Algorithm Hash digest
SHA256 db73066a9f15b572be74dcb767ffc66ed1220f028b1a23f87ea6530a292da500
MD5 c00cfd202bc87d0451a325cda0231fcb
BLAKE2b-256 ec96a325f0ee9e2375e66b7fc4d67bb23ba5bcd4acc8da837873e5afed29c606

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