diff options
Diffstat (limited to 'src/libmime/lang_detection.h')
-rw-r--r-- | src/libmime/lang_detection.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libmime/lang_detection.h b/src/libmime/lang_detection.h index 048e425f6..0058801b8 100644 --- a/src/libmime/lang_detection.h +++ b/src/libmime/lang_detection.h @@ -23,6 +23,7 @@ struct rspamd_lang_detector; struct rspamd_language_elt; +struct rspamd_task; struct rspamd_lang_detector_res { gdouble prob; @@ -54,7 +55,8 @@ void rspamd_language_detector_to_ucs (struct rspamd_lang_detector *d, * @param words_len * @return array of struct rspamd_lang_detector_res sorted by freq descending */ -GPtrArray * rspamd_language_detector_detect (struct rspamd_lang_detector *d, +GPtrArray * rspamd_language_detector_detect (struct rspamd_task *task, + struct rspamd_lang_detector *d, GArray *ucs_tokens, gsize words_len); #endif |