#include <ze-sys.h>
#include "ze-filter.h"
Go to the source code of this file.
|
void | text2lowerascii (char *buf, size_t size) |
|
double | entropy_monogram (char *buf, size_t sz) |
|
bool | text_buffer_entropy (char *buf, size_t sz, double *e0, double *e1, double *e2) |
|
double | entropy_token_class (char *buf, size_t sz) |
|
double | entropy_punct_class (char *buf, size_t sz) |
|
bool | message_entropy (char *id, char *fname) |
|
bool | message_extract_http_urls (char *id, char *fname) |
|
◆ ONLY_LOWER
◆ SZBUF
◆ SZH0
◆ SZH1
◆ SZH2
◆ SZH3
◆ URL_DOMAIN_EXPRESSION
#define URL_DOMAIN_EXPRESSION "http[s]?://[^ /<>\\(\\)\"\'?]*" |
◆ entropy_monogram()
double entropy_monogram |
( |
char * |
buf, |
|
|
size_t |
sz |
|
) |
| |
◆ entropy_punct_class()
double entropy_punct_class |
( |
char * |
buf, |
|
|
size_t |
sz |
|
) |
| |
◆ entropy_token_class()
double entropy_token_class |
( |
char * |
buf, |
|
|
size_t |
sz |
|
) |
| |
◆ message_entropy()
bool message_entropy |
( |
char * |
id, |
|
|
char * |
fname |
|
) |
| |
◆ message_extract_http_urls()
bool message_extract_http_urls |
( |
char * |
id, |
|
|
char * |
fname |
|
) |
| |
◆ text2lowerascii()
void text2lowerascii |
( |
char * |
buf, |
|
|
size_t |
size |
|
) |
| |
◆ text_buffer_entropy()
bool text_buffer_entropy |
( |
char * |
buf, |
|
|
size_t |
sz, |
|
|
double * |
e0, |
|
|
double * |
e1, |
|
|
double * |
e2 |
|
) |
| |