[LanguageModel] Return top languages only with a reasonable sample set
Before, the LanguageModel returned top languages even if it had only one data point. Thus the frequencies of top languages could change drastically in the warm-up phase of the model. This CL adds a minimum size of the sample set. The model returns empty list of top languages before this minimal size is reached. BUG=653058 Review-Url: https://codereview.chromium.org/2391383005 Cr-Commit-Position: refs/heads/master@{#423849}
Showing
Please register or sign in to comment