feat: 词云支持关键词过滤(resolve #126)

This commit is contained in:
digua
2026-04-12 18:29:17 +08:00
committed by digua
parent 17bb3d772e
commit 3557f07431
18 changed files with 624 additions and 2 deletions
+2
View File
@@ -24,6 +24,7 @@ export function getWordFrequency(params: WordFrequencyParams): WordFrequencyResu
customPosTags,
enableStopwords = true,
dictType = 'default',
excludeWords,
} = params
const db = openDatabase(sessionId)
@@ -87,6 +88,7 @@ export function getWordFrequency(params: WordFrequencyParams): WordFrequencyResu
customPosTags,
enableStopwords,
dictType: dictType as DictType,
excludeWords,
})
let totalWords = 0