From f0af60a82b7c0a369c7230ba1e9ee3601c7a46e7 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sat, 27 Jun 2020 14:24:30 +0200 Subject: [PATCH] Stopwords: Add "unknown", "title", "caption" and "description" Signed-off-by: Michael Mayer --- pkg/txt/resources/stopwords.txt | 4 ++++ pkg/txt/stopwords.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pkg/txt/resources/stopwords.txt b/pkg/txt/resources/stopwords.txt index f6f4e83ca..82a49a881 100644 --- a/pkg/txt/resources/stopwords.txt +++ b/pkg/txt/resources/stopwords.txt @@ -29,6 +29,10 @@ download downloads edit edited +unknown +title +caption +description temp var lib diff --git a/pkg/txt/stopwords.go b/pkg/txt/stopwords.go index 29bfbaaf8..55ee8b79f 100644 --- a/pkg/txt/stopwords.go +++ b/pkg/txt/stopwords.go @@ -34,6 +34,10 @@ var StopWords = map[string]bool{ "downloads": true, "edit": true, "edited": true, + "unknown": true, + "title": true, + "caption": true, + "description": true, "temp": true, "var": true, "lib": true,