From 4089b57dda84ce907046c7d47c44f75711310e23 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 26 Dec 2023 05:39:29 +0100 Subject: chore: add `SuggestTagByTags` This naive implementation scores tags based on the words that correlate to a tag being set. It then uses that score to determine the highest-scoring value for a tag based on the words in a document. --- apaperless.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apaperless.yaml') diff --git a/apaperless.yaml b/apaperless.yaml index de0da43..f6e63a7 100644 --- a/apaperless.yaml +++ b/apaperless.yaml @@ -1,3 +1,7 @@ suggestedTags: -- - createdAt +- contents: + - createdAt - '[0-9]{2}\.[0-9]{2}\.[0-9]{4}' + tag: SuggestTagByRE +- contents: correspondent + tag: SuggestTagByTags -- cgit v1.2.3