summaryrefslogtreecommitdiffstats
path: root/conf/lang_detection.inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--conf/lang_detection.inc28
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;
+