Bump size of language content

This commit is contained in:
Omar Roth 2018-03-17 12:38:34 -05:00
parent 909bb2be7f
commit fb87b3347b

View File

@ -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