Added a histogram to count server- and CLD3-language conflicts

Desktop / Chromium - martis [chromium.org] - 18 April 2017 22:31 EDT

The histogram contains one bucket for every common "en*" server language crossed with every CLD3-detected language. These are the most common cases in which we might wish to favor a CLD3-detected language over the server language; these metrics will help us decide when this should be done.

Review-Url: https://codereview.chromium.org/2807343006 Cr-Commit-Position: refs/heads/master@{#465470}

cb7dafb Added a histogram to count server- and CLD3-language conflicts.
.../translate/core/common/translate_metrics.cc | 28 +-
.../translate/core/common/translate_metrics.h | 6 +
.../core/common/translate_metrics_unittest.cc | 25 +
.../language_detection/language_detection_util.cc | 9 +-
tools/metrics/histograms/histograms.xml | 1026 ++++++++++++++++++++
5 files changed, 1090 insertions(+), 4 deletions(-)

Upstream: git.chromium.org


  • Share