diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-26 05:39:29 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-12-26 05:39:30 +0100 |
commit | 4089b57dda84ce907046c7d47c44f75711310e23 (patch) | |
tree | f00edf04967cdc1dc188f4f35dcc54ca0a4c544c /apaperless.yaml | |
parent | 97d2eb5a52d546db79ac687479f2d687de8445c1 (diff) |
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.
Diffstat (limited to 'apaperless.yaml')
-rw-r--r-- | apaperless.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
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 |