]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Conf] Add missing attributes for the language detection configuration
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 30 Apr 2023 19:52:40 +0000 (20:52 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 30 Apr 2023 19:52:40 +0000 (20:52 +0100)
conf/lang_detection.inc

index ca51d2ee915dba4ef1eb8a3d7534ae60c43cb52a..19ece79bdf9a10a5ebcdb57bc2d7ae77aeee4a43 100644 (file)
@@ -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"
+