diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-17 16:36:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-03-17 16:36:05 +0000 |
commit | 2e418536f3c8370a9f661286e63d38da104672c5 (patch) | |
tree | 45a35a31d16f650d5434f0811b377f1b0863e928 /doc | |
parent | 9aad848f487d0d362947fdfe49d4a5d5d8fd4393 (diff) | |
download | rspamd-2e418536f3c8370a9f661286e63d38da104672c5.tar.gz rspamd-2e418536f3c8370a9f661286e63d38da104672c5.zip |
[Doc] Add chartable documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/markdown/modules/chartable.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/markdown/modules/chartable.md b/doc/markdown/modules/chartable.md index e69de29bb..f5aa55322 100644 --- a/doc/markdown/modules/chartable.md +++ b/doc/markdown/modules/chartable.md @@ -0,0 +1,10 @@ +# Chartable module + +This module allows to find number of characters from the different [unicode scripts](http://www.unicode.org/reports/tr24/). Finally, it evaluates number of scrips changes, e.g. 'a網絡a' is treated as 2 script changes - from latin to chineese and from chineese back to latin, divided by total number of unicode characters. If the product of this division is higher than threshold then a symbol is inserted. By default threshold is `0.1` meaning that script changes occurrs approximantely for 10% of characters. + +~~~nginx +chartable { + symbol = "R_CHARSET_MIXED"; + threshold = 0.1; +} +~~~
\ No newline at end of file |