Repository navigation
v26.10.101
Install
Download hasami-<target>.tar.gz for your platform from the assets below (.zip on Windows), extract it and put hasami on your PATH. SHA256SUMS lists the checksums of all assets.
curl -fLO https://github.com/owayo/hasami/releases/download/v26.10.101/hasami-aarch64-apple-darwin.tar.gz
tar -xzf hasami-aarch64-apple-darwin.tar.gzDictionaries
hasami needs a dictionary. The dictionaries are not in the repository; they are attached to this release.
hasami dict download # the recommended dictionary, into ~/.local/share/hasami/ (%LOCALAPPDATA%\hasami on Windows)
hasami dict download --all # all three dictionaries
hasami tokenize "形態素解析のテスト" # uses the downloaded dictionary when --dict is omitted| Dictionary | Contents |
|---|---|
ipadic |
IPAdic |
ipadic-neologd |
IPAdic + NEologd |
ipadic-neologd-sudachi |
IPAdic + NEologd + SudachiDict (recommended) |
Each dictionary is attached as <name>.hsd. <name>.hsd.zst is the same dictionary compressed with zstd; hasami dict download fetches it and checks the SHA-256 after decompressing. dictionaries.json lists the dictionaries with their sizes and SHA-256, and SHA256SUMS covers every file of this release.
To download a dictionary with curl and verify it:
base=https://github.com/owayo/hasami/releases/download/v26.10.101
curl -fL --remote-name-all "$base/ipadic-neologd-sudachi.hsd" "$base/SHA256SUMS"
grep ' ipadic-neologd-sudachi.hsd$' SHA256SUMS | sha256sum --check --strict -The dictionaries contain data from IPAdic, mecab-ipadic-NEologd and SudachiDict. Their licenses are in THIRD_PARTY_LICENSES.md; distribute it together with the dictionaries when you redistribute them.
Full Changelog: v26.10.100...v26.10.101