8000 GitHub - golddranks/monokakido: A Rust library for parsing and interpreting the Monokakido dictionary format. Full test coverage and efficient implementation with minimal dependencies.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Notifications You must be signed in to change notification settings

golddranks/monokakido

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monokakido.rs

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

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0