update docs and config

This commit is contained in:
2026-02-15 17:29:27 -08:00
parent 8ebf6f02ec
commit 20f5de1cf7
7 changed files with 62 additions and 9 deletions

View File

@@ -183,6 +183,10 @@ function isKanaChar(char: string): boolean {
);
}
/**
* Detects repeated-kana speech-like tokens (e.g. 「ああああ」, 「ははは」, 「うーん」 style patterns)
* so they are not JLPT-labeled when they are mostly expressive particles/sfx.
*/
function isRepeatedKanaSfx(text: string): boolean {
const normalized = text.trim();
if (!normalized) {