Home
last modified time | relevance | path

Searched refs:ratio_cutoff (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/cld/encodings/compact_lang_det/
Dcldutil.cc795 double ratio_cutoff; in ReliabilityMainstream() local
798 ratio_cutoff = 5.0; // ramp down from 100% to 0%: 3.0-5.0 in ReliabilityMainstream()
801 ratio_cutoff = 4.0; // ramp down from 100% to 0%: 2.0-4.0 in ReliabilityMainstream()
803 if (ratio <= ratio_cutoff - 2.0) {return 100;} in ReliabilityMainstream()
804 if (ratio > ratio_cutoff) {return 0;} in ReliabilityMainstream()
806 int iratio = static_cast<int>(100 * (ratio_cutoff - ratio) / 2.0); in ReliabilityMainstream()