C# (.NET 9.0) port of hoshidicts by Manhhao — a high-performance Yomitan dictionary importer, query engine, and lookup system.
- Import Yomitan dictionary zips blazingly fast into a compact binary format
- Query imported dictionaries by expression or reading
- Lookup with automatic deconjugation and hiragana/katakana conversion
- Frequency & pitch accent support from meta dictionaries
dotnet build -c Releasedotnet publish cli/HoshiDictsSharpCli/HoshiDictsSharpCli.csproj -c Release -o publishRequires Visual Studio C++ Build Tools (Desktop development with C++ workload).
From a Developer Command Prompt for VS 2022:
dotnet publish cli/HoshiDictsSharpCli/HoshiDictsSharpCli.csproj -c Release -o publish-aot# Import a Yomitan dictionary
hoshidicts import "path/to/dictionary.zip"
# Query a term
hoshidicts query "path/to/imported/dict" "読む"
# Full lookup with deconjugation (e.g. 読んでいる → 読む)
hoshidicts lookup "path/to/dict" "読んでいる"
# Deconjugate a word
hoshidicts deconjugate "読んだ"
# Hiragana/katakana preprocessing
hoshidicts preprocess "カタカナ"
# Query frequency data
hoshidicts freq "path/to/freq_dict" "読む" "よむ"dotnet test -c Release- Hoshidicts original C++ version | MIT
- Yomitan dictionary format | GPLv3
- K4os.Compression.LZ4 high-performance LZ4 compression library | MIT
- Jiten deconjugator | Apache-2.0