diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 21:30:40 +0000 |
commit | 133a45c109da5310add55824db21af5239951f93 (patch) | |
tree | ba6ac4c0a950a0dda56451944315d66409923918 /conf/lang_detection.inc | |
parent | Initial commit. (diff) | |
download | rspamd-133a45c109da5310add55824db21af5239951f93.tar.xz rspamd-133a45c109da5310add55824db21af5239951f93.zip |
Adding upstream version 3.8.1.upstream/3.8.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'conf/lang_detection.inc')
-rw-r--r-- | conf/lang_detection.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/conf/lang_detection.inc b/conf/lang_detection.inc new file mode 100644 index 0000000..16bfa3f --- /dev/null +++ b/conf/lang_detection.inc @@ -0,0 +1,28 @@ +# Language detection configuration +# Please don't modify this file as your changes might be overwritten with +# the next update. +# +# You can modify 'local.d/lang_detection.inc' to add and merge +# parameters defined inside this section +# +# You can modify 'override.d/lang_detection.inc' to strictly override all +# parameters defined inside this section + +# Path to the languages shared data +# languages = "${SHAREDIR}/languages" + +# Limit in words to treat text as short for language detection +# short_text_limit = 10 + +# Enable only specific languages +# languages_enable = ["en", "de"] + +# Disable specific languages +# languages_disable = ["fr", "es"] + +# Use the following fasttext model for language detection (if Fasttext support is compiled in) +# fasttext_model = "${SHAREDIR}/languages/fasttext_model.ftz" + +# Prefer fasttext over all other methods +# prefer_fasttext = true; + |