parse monokakido dictionaries
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
hashirama b3b25f2017
Some checks failed
Build and Release / create_tag (push) Has been cancelled
Build and Release / Build on ${{ matrix.os }} (target/release/monokakido, rustkakido-linux, ubuntu-latest) (push) Has been cancelled
Build and Release / Build on ${{ matrix.os }} (target/release/monokakido, rustkakido-macos, macos-latest) (push) Has been cancelled
Build and Release / Build on ${{ matrix.os }} (target/release/monokakido.exe, rustkakido-windows.exe, windows-latest) (push) Has been cancelled
Build and Release / Create Release (push) Has been cancelled
Update README.md
2025-05-05 05:26:59 +00:00
.github/workflows fix workflows again 2024-07-05 13:17:54 +07:00
src Update dict.rs 2024-07-05 13:12:19 +07:00
.gitignore Dict exploding works 2023-02-01 04:39:15 +09:00
Cargo.lock 0.3.2. get_audio subcommand. 2023-02-03 04:02:20 +09:00
Cargo.toml fix workflows again 2024-07-05 13:17:54 +07:00
README.md Update README.md 2025-05-05 05:26:59 +00:00

monokakido.rs

A Rust library for parsing and interpreting the Monokakido dictionary format. Aiming for full test coverage and efficient implementation with minimal dependencies.

for a better api, use this library along with: https://git.ajattix.org/hashirama/mkd-utils

Notice

This library started as a personal project driven by curiosity. It is ABSOLUTELY NOT inteded to support piracy; I strongly condemn making unauthorized copies of Monokakido's dictionaries, and take no part or responsibility in that kind of activity. Please buy your own dictionaries directly from Monokakido to show your love and support.

TODO:

  • Add headline support
  • Refactor as a workspace to separate the dependencies of the library and the binaries
  • Move to mmap-based indexes
  • Add graphics support
  • Add TTY detection to CLI (prevent binary output to shell)
  • Add proper argument parser lib to CLI
  • Refine CLI according to the plan below
  • Document the rsc, nrsc and keystore and headline formats

Test:

  • Audio using "rsc" (CCCAD, WISDOM3)
  • Audio using "nrsc" (DAIJISEN2, NHKACCENT2, OALD10, OLDAE, OLEX, OLT, RHEJ, SMK8)
  • Multiple contents (WISDOM3, OLEX)

CLI (Planned)

Tab-separated output formats:

  • keyword
  • headline
  • iid (item id)
  • pid (page id)
  • aid (audio id)
  • gid (graphics id)

\n\n separated output formats:

  • item
  • page

binary output formats:

  • audio
  • graphics

Planned to support:

  • WISDOM3
  • SMK8
  • NHKACCENT2
  • DAIJISEN2