aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-04-30 20:52:40 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-04-30 20:52:40 +0100
commit915885232b2cffeab1fe7be02df89fba4fea3255 (patch)
tree61b816ad22d8c178e944a1c790bde778c5d24107 /conf
parent1194379baafff6c71be3fe0913dfa11dd0071fb3 (diff)
downloadrspamd-915885232b2cffeab1fe7be02df89fba4fea3255.tar.gz
rspamd-915885232b2cffeab1fe7be02df89fba4fea3255.zip
[Conf] Add missing attributes for the language detection configuration
Diffstat (limited to 'conf')
-rw-r--r--conf/lang_detection.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/lang_detection.inc b/conf/lang_detection.inc
index ca51d2ee9..19ece79bd 100644
--- a/conf/lang_detection.inc
+++ b/conf/lang_detection.inc
@@ -8,3 +8,18 @@
# You can modify 'override.d/lang_detection.inc' to strictly override all
# parameters defined inside this section
+# Path to the languages shared data
+# languages = "${RSPAMD_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 = "${RSPAMD_SHAREDIR}/languages/fasttext_model.ftz"
+