raven/base/rspamd/fix-fasttext-model-path.patch
2024-08-25 08:53:26 +06:00

13 lines
534 B
Diff

diff -Naur a/conf/lang_detection.inc b/conf/lang_detection.inc
--- a/conf/lang_detection.inc 2024-07-23 16:37:27.000000000 +0600
+++ b/conf/lang_detection.inc 2024-08-19 09:35:00.113184366 +0600
@@ -21,7 +21,7 @@
# 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"
+# fasttext_model = "${SHAREDIR}/fasttext_model.ftz"
# Prefer fasttext over all other methods
# prefer_fasttext = true;