diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-11 19:58:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-06-11 19:58:57 +0100 |
commit | 6baeb7cc2a0c22705b807e96334c9e67007acf8c (patch) | |
tree | 94aed54fe1b9aaee07f73d877a422e1c81f287fb /src/libstat | |
parent | 44f9078de3ea7698a7d10373b4821877a1e5fe23 (diff) | |
download | rspamd-6baeb7cc2a0c22705b807e96334c9e67007acf8c.tar.gz rspamd-6baeb7cc2a0c22705b807e96334c9e67007acf8c.zip |
[Project] Reduce default window size of OSB tokenizer to 2
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/tokenizers/osb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/tokenizers/osb.c b/src/libstat/tokenizers/osb.c index 039ead231..0bc3414a5 100644 --- a/src/libstat/tokenizers/osb.c +++ b/src/libstat/tokenizers/osb.c @@ -23,7 +23,7 @@ #include "libmime/lang_detection.h" /* Size for features pipe */ -#define DEFAULT_FEATURE_WINDOW_SIZE 5 +#define DEFAULT_FEATURE_WINDOW_SIZE 2 #define DEFAULT_OSB_VERSION 2 static const int primes[] = { |