mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 10:29:34 +00:00
Add new joex option to nix module
This commit is contained in:
parent
a670bbb6c2
commit
a563ba33e7
@ -118,6 +118,7 @@ let
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
working-dir = "/tmp/docspell-analysis";
|
working-dir = "/tmp/docspell-analysis";
|
||||||
|
clear-stanford-nlp-interval = "15 minutes";
|
||||||
};
|
};
|
||||||
processing = {
|
processing = {
|
||||||
max-due-date-years = 10;
|
max-due-date-years = 10;
|
||||||
@ -771,6 +772,14 @@ in {
|
|||||||
files.
|
files.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
clear-stanford-nlp-interval = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = defaults.text-analysis.clear-stanford-nlp-interval;
|
||||||
|
description = ''
|
||||||
|
Idle time after which the NLP caches are cleared to free
|
||||||
|
memory. If <= 0 clearing the cache is disabled.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
regex-ner = mkOption {
|
regex-ner = mkOption {
|
||||||
type = types.submodule({
|
type = types.submodule({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user