Home | History | Annotate | Download | only in i18n

Lines Matching full:quality

31  * @return match quality, in the range of 0-100.
40 int32_t quality;
85 // Initial quality is based on relative proportion of recongized vs.
87 // All good: quality = 100;
88 // half or less good: quality = 0;
90 quality = (100*hits - 100*misses) / (hits + misses);
92 // Back off quality if there were too few escape sequences seen.
96 quality -= (5-(hits+shifts))*10;
99 if (quality < 0) {
100 quality = 0;
103 return quality;