Home | History | Annotate | Download | only in text

Lines Matching defs:quality

32      * @return match quality, in the range of 0-100.
40 int quality;
77 // Initial quality is based on relative proportion of recongized vs.
79 // All good: quality = 100;
80 // half or less good: quality = 0;
82 quality = (100*hits - 100*misses) / (hits + misses);
84 // Back off quality if there were too few escape sequences seen.
88 quality -= (5-(hits+shifts))*10;
91 if (quality < 0) {
92 quality = 0;
94 return quality;