mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-03 06:22:41 -08:00
fix(tokenizer): tighten n+1 eligibility using mecab pos overlaps
This commit is contained in:
24
src/types.ts
24
src/types.ts
@@ -334,6 +334,30 @@ export interface SubtitleStyleConfig {
|
||||
};
|
||||
}
|
||||
|
||||
export interface TokenPos1ExclusionConfig {
|
||||
defaults?: string[];
|
||||
add?: string[];
|
||||
remove?: string[];
|
||||
}
|
||||
|
||||
export interface ResolvedTokenPos1ExclusionConfig {
|
||||
defaults: string[];
|
||||
add: string[];
|
||||
remove: string[];
|
||||
}
|
||||
|
||||
export interface TokenPos2ExclusionConfig {
|
||||
defaults?: string[];
|
||||
add?: string[];
|
||||
remove?: string[];
|
||||
}
|
||||
|
||||
export interface ResolvedTokenPos2ExclusionConfig {
|
||||
defaults: string[];
|
||||
add: string[];
|
||||
remove: string[];
|
||||
}
|
||||
|
||||
export type FrequencyDictionaryMode = 'single' | 'banded';
|
||||
|
||||
export interface ShortcutsConfig {
|
||||
|
||||
Reference in New Issue
Block a user