mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-04-28 04:19:27 -07:00
fix(tokenizer): preserve annotation and enrichment behavior
This commit is contained in:
@@ -160,7 +160,7 @@ async function applyAnnotationStage(
|
||||
options: TokenizerAnnotationOptions,
|
||||
): Promise<MergedToken[]> {
|
||||
if (!hasAnyAnnotationEnabled(options)) {
|
||||
return tokens;
|
||||
return stripSubtitleAnnotationMetadata(tokens);
|
||||
}
|
||||
|
||||
if (!annotationStageModulePromise) {
|
||||
|
||||
Reference in New Issue
Block a user