mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-21 05:01:26 -07:00
update docs and config
This commit is contained in:
1 parent
8ebf6f02ec
commit
20f5de1cf7
7 files changed
+62
-9
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user