Searched defs:dfreq (Results 1 - 2 of 2) sorted by relevance
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwngram.c | 54 ** is closest to the frequency vector dfreq. 57 double vcwngmatch(int* mtch, size_t* dfreq, size_t size, argument 60 double vcwngmatch(mtch, dfreq, size, data, dtsz, pos, stop) 62 size_t* dfreq; /* vector of data frequency */ 92 { if(dfreq[r] < rfreq[r]) 93 { rdif += rfreq[r] - dfreq[r]; 97 { rdif += dfreq[r] - rfreq[r]; 98 rmax += dfreq[r]; 132 { if((lfreq[r] -= 1) < dfreq[r]) 136 if((lfreq[l] += 1) > dfreq[ [all...] |
H A D | vcwvote.c | 59 static double frinterval(Vcwindow_t* vcw, size_t* dfreq, size_t size, Sfoff_t l, Sfoff_t r) argument 61 static double frinterval(vcw, dfreq, size, l, r) 63 size_t* dfreq; /* frequencies of data n-grams */ 86 if((dif = vcwngmatch(&mtch, dfreq, size, data, dtsz, 0, NGRAMMATCH)) < fr->bestd) 97 static double frsearch(Vcwindow_t* vcw, size_t* dfreq, size_t size) argument 99 static double frsearch(vcw, dfreq, size) 101 size_t* dfreq; /* frequencies of data n-grams */ 127 if(frinterval(vcw, dfreq, size, l, r) >= 1. ) 136 static double frtarget(Vcwindow_t* vcw, size_t* dfreq, size_t size, Sfoff_t here) argument 138 static double frtarget(vcw, dfreq, siz 202 size_t dfreq[NG_FREQ]; local [all...] |
Completed in 23 milliseconds