From 2e418536f3c8370a9f661286e63d38da104672c5 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 17 Mar 2016 16:36:05 +0000 Subject: [PATCH] [Doc] Add chartable documentation --- doc/markdown/modules/chartable.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5