From f5672f00478b5f311f5cb3a26b0b8c50b1cc42ec Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Fri, 25 Oct 2024 10:48:35 -0300 Subject: [PATCH] fix: increase lande confidence to 0.7 --- src/pipeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipeline.ts b/src/pipeline.ts index 867f2c22..633c4c7a 100644 --- a/src/pipeline.ts +++ b/src/pipeline.ts @@ -201,7 +201,7 @@ async function parseMetadata(event: NostrEvent, signal: AbortSignal): Promise { if (event.kind !== 1) return; - const language = detectLanguage(event.content, 0.90); + const language = detectLanguage(event.content, 0.7); if (!language) return; const kysely = await Storages.kysely();