From fb87b3347be639d4bedcd045c6efadc76ec902a4 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 17 Mar 2018 12:38:34 -0500 Subject: [PATCH] Bump size of language content --- src/helpers.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers.cr b/src/helpers.cr index b96fd6da..e75ce4ed 100644 --- a/src/helpers.cr +++ b/src/helpers.cr @@ -267,7 +267,7 @@ def rank_videos(db, n, pool, filter) else description = XML.parse(video.description) content = [video.title, description.content].join(" ") - content = content[0,1000] + content = content[0,10000] results = DetectLanguage.detect(content) language = results[0].language