Skip to content

WorksApplications/SudachiDict

Repository files navigation

SudachiDict

A lexicon for Japanese tokenizer Sudachi.

Download

Click here for pre-built dictionaries.

Pre-built synonym dictionaries for Chikkar is here.

Python packages

You can install the dictionaries for WorksApplications/SudachiPy, the Python version of Sudachi, as Python packages.

In SudachiPy v0.5.2 and later, you can specify a dictionary directly from a command line or program.

WARNING: sudachipy link is no longer available in SudachiPy v0.5.2 and later.

please see the following links for more details on the dictionary option.

Install

pip install sudachidict_core
pip install sudachidict_small
pip install sudachidict_full

Dictionary types

Sudachi has three types of dictionaries.

  • Small: includes only the vocabulary of UniDic
  • Core: includes basic vocabulary (default)
  • Full: includes miscellaneous proper nouns

Build from sources

Dictionary sources were hosted on git lfs, but are hosted on S3 now. They will be moved to github in the future once more.

At the moment, you need to manually download required files from the AWS S3, and unzip them into the src/main/text directory. Core dictionary requires small and core files, Full requires all three files.

Licenses

SudachiDict by Works Applications Co., Ltd. is licensed under the [Apache License, Version2.0](http://www.apache.org/licenses/LICENSE-2.0.html)

   Copyright (c) 2017-2023 Works Applications Co., Ltd.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

This project includes UniDic and a part of NEologd.