Lines Matching refs:bigrams
49 * bigram < text > bigrams
51 * List bigrams for 'updatedb' script.
71 struct bigram bigrams[256 * 256];
77 bigrams[(i1<<8)+i2].count++;
102 memset(bigrams, 0, sizeof(bigrams));
104 bigrams[i].b1 = i / 256;
105 bigrams[i].b2 = i % 256;
116 * output post-residue bigrams only
127 /* sort the bigrams by how many times it appeared and their value */
128 heapsort((void *)bigrams, 256 * 256, sizeof(struct bigram),
131 /* write 128 most frequent bigrams out */
132 bg = bigrams;