Something went wrong. Try again.
Multi-runtime Japanese morphological tokenizer in TypeScript, inspired by Sudachi. Performs Viterbi tokenization with NFKC normalization.
Something went wrong. Try again.
Split replace_map into char-keyed and string-keyed, fix key_lengths master
Split the single HashMap<String, String> into replace_single (HashMap<char, String>) for single-codepoint rules and replace_multi (HashMap<String, String>) for multi-codepoint rules. Single-char lookups now avoid allocating a String key entirely. key_lengths now stores char count instead of byte length, and only tracks multi-codepoint keys. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author Russ T Fugal Co-author Claude Opus 4.6 Date (Mar 3, 2026, 3:45 PM UTC) Commit 4bb4e5bd 4bb4e5bd757f0637cad55b32b6017cd74ec4aeaa Parent 05fb4647 05fb464719011040be55f1609164713b19fcc4ae