diff --git a/mozolm/models/lm_scores.proto b/mozolm/models/lm_scores.proto index 20626a2..01323f0 100644 --- a/mozolm/models/lm_scores.proto +++ b/mozolm/models/lm_scores.proto @@ -25,8 +25,9 @@ option java_multiple_files = true; // Next available ID: 4 message LMScores { // Individual symbols for which counts are returned. + // Only included if `include_symbols` is true. repeated string symbols = 1; - + // Probabilities for each of the symbols. repeated double probabilities = 2; @@ -34,4 +35,7 @@ message LMScores { // have some value when mixing models, for methods that, e.g., take into // account the number of observations when calculating mixing values. double normalization = 3; + + // Whether to include the `symbols` field in the response. + bool include_symbols = 4; }