Skip to content

v1.8.0 - Static Dictionary (sdict/stree) & WASM Enhancements

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Aug 07:00
· 37 commits to main since this release
v1.8.0
e7e91c1

Overview

v1.8.0 is a major feature update introducing static dictionary (sdict) support for faster loading and significantly lower memory consumption, full dictionary bundling for WebAssembly builds, and overhauled testing/benchmarking harnesses.


Key Highlights

  • Static Dictionary Support (sdict / stree)
    • Added binary/flat dictionary format (stree) for high-performance memory-mapped operations.
    • Added new cmigemo CLI options: --convert (convert dict to sdict), --save <file>, --sdict <file> (load sdict), and -u (alias for subdictionary).
  • WebAssembly Package Improvements
    • Included pre-compiled UTF-8 dictionary files within the WASM package.
    • Added an interactive browser demo page (demo.html).
  • Benchmark & Profiling Overhaul
    • Added cross-platform high-resolution timing utilities (bench_common.h).
    • Improved gprof profiling setup with isolated working directories.
  • Test Suite Refactoring
    • Split monolith test executable into focused category-based test programs (test_migemo, test_romaji, test_rxgen).
    • Added extensive unit tests for romaji/kana conversion and edge cases.

What's Changed

  • perf(bench): use high-resolution timing utilities for benchmarks by @koron in #113
  • build(wasm): enable dictionary build and include UTF-8 dict with demo page by @koron in #116
  • test(romaji): add unit tests, fix CP932 handling, and refactor Makefile tags by @koron in #117
  • test: split monolith test into separate executables with a CMake helper by @koron in #118
  • build(bench): improve profiling setup with isolated working directories and gmon handling by @koron in #119
  • Introduce static mtree (stree) implementation by @koron in #120
  • Add static dictionary (sdict) support for memory and search optimization by @koron in #121
  • Release v1.8.0: Bump version, update documentation and directory indices by @koron in #122

Full Changelog: v1.7.1...v1.8.0