Home | History | Annotate | Download | only in crec

Lines Matching refs:batch

79     altword_token* batch,
86 if (batch->costbasis == MAXcostdata / 2)
88 free_altword_token(rec, batch);
91 /* a flag to check whether we already pruned this batch would be nice */
94 awtokenp = &batch->next_token;
95 for (awtoken = batch->next_token; awtoken != AWTNULL; awtoken = next_awtoken)
98 if ((bigcostdata)batch->costbasis + awtoken->costdelta > costlimit)
109 if ((bigcostdata)(batch->costbasis) + batch->costdelta < costlimit)
113 else if (batch->next_token != AWTNULL)
117 awtoken = batch->next_token;
118 batch->costdelta = awtoken->costdelta;
119 batch->word = awtoken->word;
120 batch->word_backtrace = awtoken->word_backtrace;
121 /*ASSERT( batch->refcount == awtoken->refcount); */
122 /* batch->refcount = awtoken->refcount; */
123 batch->next_token = awtoken->next_token;
130 batch->costbasis = MAXcostdata / 2; /* was costdelta */
131 free_altword_token(rec, batch);
132 batch = AWTNULL;
134 return batch;
429 /*compute the scores in a batch - this allows the model computing code to