update docs and config

This commit is contained in:
sudacode committed 2026-02-15 17:29:27 -08:00
1 parent 8ebf6f02ec
commit 20f5de1cf7
7 files changed
+62 -9

No files matched your search

+4
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) {