/dports/mail/dspam/dspam-3.10.2/src/ |
H A D | diction.c | 57 if (!diction) { in ds_diction_create() 66 diction->items = 0; in ds_diction_create() 67 diction->tbl = in ds_diction_create() 69 if (!diction->tbl) in ds_diction_create() 72 free(diction); in ds_diction_create() 78 if (!diction->order || !diction->chained_order) { in ds_diction_create() 82 free(diction); in ds_diction_create() 86 return diction; in ds_diction_create() 115 free(diction); in ds_diction_destroy() 141 term = diction->tbl[key % diction->size]; in ds_diction_find() [all …]
|
H A D | diction.h | 53 struct _ds_diction *diction; member 61 void ds_diction_destroy(ds_diction_t diction); 64 ds_term_t ds_diction_find(ds_diction_t diction, ds_key_t key); 65 ds_term_t ds_diction_touch(ds_diction_t diction, ds_key_t key, 67 void ds_diction_delete(ds_diction_t diction, ds_key_t key); 68 int ds_diction_setstat(ds_diction_t diction, ds_key_t key, ds_spam_stat_t s); 69 int ds_diction_addstat(ds_diction_t diction, ds_key_t key, ds_spam_stat_t s); 70 int ds_diction_getstat(ds_diction_t diction, ds_key_t key, ds_spam_stat_t s); 72 ds_cursor_t ds_diction_cursor(ds_diction_t diction);
|
H A D | tokenizer.h | 37 ds_diction_t diction); 43 ds_diction_t diction); 49 ds_diction_t diction); 57 ds_diction_t diction, 64 ds_diction_t diction); 72 ds_diction_t diction, 80 ds_diction_t diction, 89 ds_diction_t diction,
|
H A D | tokenizer.c | 86 if (diction == NULL) in _ds_tokenize() 99 ds_diction_t diction) in _ds_tokenize_ngram() argument 115 _ds_url_tokenize(diction, body, "http://"); in _ds_tokenize_ngram() 116 _ds_url_tokenize(diction, body, "www."); in _ds_tokenize_ngram() 117 _ds_url_tokenize(diction, body, "href="); in _ds_tokenize_ngram() 174 diction->whitelist_token = whitelist_token; in _ds_tokenize_ngram() 252 ds_diction_t diction) in _ds_tokenize_sparse() argument 278 _ds_url_tokenize(diction, body, "http://"); in _ds_tokenize_sparse() 279 _ds_url_tokenize(diction, body, "www."); in _ds_tokenize_sparse() 280 _ds_url_tokenize(diction, body, "href="); in _ds_tokenize_sparse() [all …]
|
H A D | libdspam.c | 828 if (!diction) in _ds_operate() 905 ds_c = ds_diction_cursor(diction); in _ds_operate() 1095 _ds_increment_tokens(CTX, diction); in _ds_operate() 1107 ds_diction_destroy (diction); in _ds_operate() 1134 ds_diction_destroy(diction); in _ds_operate() 1169 if (diction == NULL) { in _ds_process_signature() 1176 ds_diction_destroy(diction); in _ds_process_signature() 1258 ds_diction_destroy(diction); in _ds_process_signature() 1373 ds_diction_destroy(diction); in _ds_process_signature() 1392 ds_diction_destroy(diction); in _ds_process_signature() [all …]
|
H A D | storage_driver.c | 75 int _ds_getall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction) in _ds_getall_spamrecords() argument 83 return (*ptr)(CTX, diction); in _ds_getall_spamrecords() 86 int _ds_setall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction) in _ds_setall_spamrecords() argument 94 return (*ptr)(CTX, diction); in _ds_setall_spamrecords() 97 int _ds_delall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction) in _ds_delall_spamrecords() argument 105 return (*ptr)(CTX, diction); in _ds_delall_spamrecords()
|
H A D | libdspam.h | 74 int _ds_calc_result (DSPAM_CTX * CTX, ds_heap_t sort, ds_diction_t diction); 75 int _ds_increment_tokens(DSPAM_CTX *CTX, ds_diction_t diction); 81 ds_diction_t _ds_apply_bnr (DSPAM_CTX *CTX, ds_diction_t diction);
|
H A D | storage_driver.h | 112 int _ds_getall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction); 113 int _ds_setall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction); 114 int _ds_delall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction);
|
H A D | sqlite_drv.c | 261 ds_c = ds_diction_cursor(diction); in _ds_getall_spamrecords() 316 ds_diction_addstat(diction, token, &stat); in _ds_getall_spamrecords() 321 ds_c = ds_diction_cursor(diction); in _ds_getall_spamrecords() 335 ds_c = ds_diction_cursor(diction); in _ds_getall_spamrecords() 379 ds_c = ds_diction_cursor(diction); in _ds_setall_spamrecords() 395 ds_diction_getstat(diction, s->control_token, &stat); in _ds_setall_spamrecords() 410 ds_c = ds_diction_cursor(diction); in _ds_setall_spamrecords() 418 diction->whitelist_token != ds_term->key && in _ds_setall_spamrecords() 430 ds_diction_getstat(diction, ds_term->key, &stat2); in _ds_setall_spamrecords() 1325 if (diction->items < 1) in _ds_delall_spamrecords() [all …]
|
H A D | sqlite3_drv.c | 284 if (diction->items < 1) in _ds_getall_spamrecords() 308 ds_c = ds_diction_cursor(diction); in _ds_getall_spamrecords() 378 ds_diction_addstat(diction, token, &stat); in _ds_getall_spamrecords() 396 ds_diction_addstat(diction, CONTROL_TOKEN, &stat); in _ds_getall_spamrecords() 417 if (diction->items < 1) in _ds_setall_spamrecords() 438 ds_diction_getstat(diction, s->control_token, &control); in _ds_setall_spamrecords() 457 ds_c = ds_diction_cursor(diction); in _ds_setall_spamrecords() 471 ds_term->key != diction->whitelist_token && in _ds_setall_spamrecords() 478 ds_diction_getstat(diction, ds_term->key, &stat); in _ds_setall_spamrecords() 1380 if (diction->items < 1) in _ds_delall_spamrecords() [all …]
|
H A D | hash_drv.c | 660 _ds_getall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction) in _ds_getall_spamrecords() argument 668 if (diction == NULL || CTX == NULL) in _ds_getall_spamrecords() 671 ds_c = ds_diction_cursor(diction); in _ds_getall_spamrecords() 680 ds_diction_setstat(diction, ds_term->key, p_stat); in _ds_getall_spamrecords() 696 _ds_setall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction) in _ds_setall_spamrecords() argument 702 if (diction == NULL || CTX == NULL) in _ds_setall_spamrecords() 707 (diction->whitelist_token == 0 && (!(CTX->flags & DSF_NOISE))))) in _ds_setall_spamrecords() 712 ds_c = ds_diction_cursor(diction); in _ds_setall_spamrecords() 724 diction->whitelist_token != ds_term->key && in _ds_setall_spamrecords() 1116 _ds_delall_spamrecords (DSPAM_CTX * CTX, ds_diction_t diction) in _ds_delall_spamrecords() argument [all …]
|
/dports/misc/diction/diction-1.11/ |
H A D | diction.pot | 18 #: diction.c:78 diction.c:402 23 #: diction.c:93 diction.c:111 diction.c:129 27 #: diction.c:121 32 #: diction.c:260 36 #: diction.c:283 45 #: diction.c:325 50 #: diction.c:369 54 #: diction.c:376 60 #: diction.c:377 65 #: diction.c:378 [all …]
|
H A D | en_GB.po | 12 #: diction.c:78 diction.c:402 17 #: diction.c:93 diction.c:111 diction.c:129 21 #: diction.c:121 26 #: diction.c:260 30 #: diction.c:283 44 #: diction.c:325 49 #: diction.c:369 53 #: diction.c:376 61 #: diction.c:377 67 #: diction.c:378 [all …]
|
H A D | nl.po | 17 #: diction.c:78 diction.c:402 22 #: diction.c:93 diction.c:111 diction.c:129 26 #: diction.c:121 31 #: diction.c:260 35 #: diction.c:283 49 #: diction.c:325 55 #: diction.c:369 59 #: diction.c:376 65 #: diction.c:377 70 #: diction.c:378 [all …]
|
H A D | de.po | 13 #: diction.c:78 diction.c:402 18 #: diction.c:93 diction.c:111 diction.c:129 22 #: diction.c:121 28 #: diction.c:260 32 #: diction.c:283 46 #: diction.c:325 51 #: diction.c:369 56 #: diction.c:376 62 #: diction.c:377 68 #: diction.c:378 [all …]
|
H A D | diction.texi.in | 3 @setfilename diction.info 4 @settitle diction, print wordy and commonly misused phrases in sentences 16 * diction: (diction). print wordy and commonly misused phrases in sentences. 18 This file documents @command{diction}, a program to print wordy and 46 @title diction, print wordy and commonly misused phrases in sentences 84 @command{diction}. 101 @command{diction} finds all sentences in a document that contain 102 phrases from a database of frequently misused, bad or wordy diction. 135 @chapter Invoking @command{diction} 225 @itemx @DATADIR@/diction [all …]
|
H A D | diction.spec | 7 Name: diction 12 Source: http://www.moria.de/~michael/diction/diction-%{version}.tar.gz 14 URL: http://www.moria.de/~michael/diction/ 18 diction [desc]
|
H A D | diction.spec.in | 7 Name: diction 12 Source: http://www.moria.de/~michael/diction/diction-%{version}.tar.gz 14 URL: http://www.moria.de/~michael/diction/ 18 diction [desc]
|
H A D | configure.in | 1 AC_INIT(diction.c) 71 AC_OUTPUT(Makefile diction.1 diction.texi diction.spec style.1 test/rundiction)
|
H A D | README | 1 GNU diction and style are free implementations of old standard unix 12 http://www.moria.de/~michael/diction/ 16 http://www.akki-n.de/development/diction-and-style-for-windows/ 20 http://gnuwin32.sourceforge.net/packages/diction.htm
|
H A D | diction.c | 169 static void diction(const char *sent, size_t length, const char *file, int line) /*{{{*/ in diction() function 395 if (optind==argc) sentence("diction",stdin,"(stdin)",diction,phraseLanguage); in main() 406 sentence("diction",fp,argv[optind],diction,phraseLanguage); in main()
|
/dports/mail/dspam/dspam-3.10.2/src/tools.hash_drv/ |
H A D | Makefile.in | 72 cssclean-diction.$(OBJEXT) cssclean-nodetree.$(OBJEXT) \ 82 csscompress-diction.$(OBJEXT) csscompress-nodetree.$(OBJEXT) \ 92 cssconvert-diction.$(OBJEXT) cssconvert-nodetree.$(OBJEXT) \ 102 cssstat-diction.$(OBJEXT) cssstat-nodetree.$(OBJEXT) \
|
/dports/textproc/p5-Lingua-Stem-Snowball/Lingua-Stem-Snowball-0.952/t/test_voc/ |
H A D | fr.utf8 | 44 diction diction
|
/dports/misc/diction/diction-1.11/test/ |
H A D | rundiction.in | 3 @VALGRIND@ ./diction -f /dev/null -n "$@"
|
/dports/misc/diction/ |
H A D | .license-catalog.mk | 5 _LICENSE_DISTFILES=diction-1.11.tar.gz
|