From 5c780c99db3f0038c039c1d677a5b1c5c21278b6 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 7 Jul 2020 20:28:17 +0200 Subject: [PATCH] Backend: Add words to stopwords.txt Signed-off-by: Michael Mayer --- pkg/txt/resources/stopwords.txt | 5 +++++ pkg/txt/stopwords.go | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pkg/txt/resources/stopwords.txt b/pkg/txt/resources/stopwords.txt index 3e3838b33..37a8bedd9 100644 --- a/pkg/txt/resources/stopwords.txt +++ b/pkg/txt/resources/stopwords.txt @@ -96,6 +96,11 @@ src photo image file +datei +dateien +ordner +folder +folders 'll 'tis 'twas diff --git a/pkg/txt/stopwords.go b/pkg/txt/stopwords.go index f69a95223..ec5f6a5c3 100644 --- a/pkg/txt/stopwords.go +++ b/pkg/txt/stopwords.go @@ -101,6 +101,11 @@ var StopWords = map[string]bool{ "photo": true, "image": true, "file": true, + "datei": true, + "dateien": true, + "ordner": true, + "folder": true, + "folders": true, "'ll": true, "'tis": true, "'twas": true,