From 5b312cc1b53935184de3c7705e231332cf36c358 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 24 Jun 2020 06:56:54 +0200 Subject: [PATCH] Backend: Add stopwords 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 89ac3d407..26a6dba31 100644 --- a/pkg/txt/resources/stopwords.txt +++ b/pkg/txt/resources/stopwords.txt @@ -9,6 +9,10 @@ android sync usb dsc +pic +pict +picture +pictures upload download temp diff --git a/pkg/txt/stopwords.go b/pkg/txt/stopwords.go index 8ec905777..4ecb1005a 100644 --- a/pkg/txt/stopwords.go +++ b/pkg/txt/stopwords.go @@ -14,6 +14,10 @@ var Stopwords = map[string]bool{ "sync": true, "usb": true, "dsc": true, + "pic": true, + "pict": true, + "picture": true, + "pictures": true, "upload": true, "download": true, "temp": true,