Skip to content

Commit

Permalink
[Conf] Add missing attributes for the language detection configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Apr 30, 2023
1 parent 1194379 commit 9158852
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions conf/lang_detection.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9158852

Please sign in to comment.