browser/components/translation/cld2/internal/generated_distinct_bi_0.cc

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/components/translation/cld2/internal/generated_distinct_bi_0.cc	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +// Copyright 2013 Google Inc. All Rights Reserved.
     1.5 +//
     1.6 +// Licensed under the Apache License, Version 2.0 (the "License");
     1.7 +// you may not use this file except in compliance with the License.
     1.8 +// You may obtain a copy of the License at
     1.9 +//
    1.10 +//     http://www.apache.org/licenses/LICENSE-2.0
    1.11 +//
    1.12 +// Unless required by applicable law or agreed to in writing, software
    1.13 +// distributed under the License is distributed on an "AS IS" BASIS,
    1.14 +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    1.15 +// See the License for the specific language governing permissions and
    1.16 +// limitations under the License.
    1.17 +
    1.18 +//
    1.19 +// Degenerate CLD2 scoring lookup table, for use as placeholder
    1.20 +//
    1.21 +#include "cld2tablesummary.h"
    1.22 +
    1.23 +namespace CLD2 {
    1.24 +
    1.25 +static const uint32 kDistinctBiTableBuildDate = 20130101;    // yyyymmdd
    1.26 +static const uint32 kDistinctBiTableSize = 1;       // Total Bucket count
    1.27 +static const uint32 kDistinctBiTableKeyMask = 0xffffffff;    // Mask hash key
    1.28 +static const char* const kDistinctBiTableRecognizedLangScripts = "";
    1.29 +
    1.30 +// Empty table
    1.31 +static const IndirectProbBucket4 kDistinctBiTable[kDistinctBiTableSize] = {
    1.32 +  // key[4], words[4] in UTF-8
    1.33 +  // value[4]
    1.34 +  { {0x00000000,0x00000000,0x00000000,0x00000000}},	// [000]
    1.35 +};
    1.36 +
    1.37 +static const uint32 kDistinctBiTableSizeOne = 1;    // One-langprob count
    1.38 +static const uint32 kDistinctBiTableIndSize = 1;       // Largest subscript
    1.39 +static const uint32 kDistinctBiTableInd[kDistinctBiTableIndSize] = {
    1.40 +  // [0000]
    1.41 +  0x00000000, };
    1.42 +
    1.43 +extern const CLD2TableSummary kDistinctBiTable_obj = {
    1.44 +  kDistinctBiTable,
    1.45 +  kDistinctBiTableInd,
    1.46 +  kDistinctBiTableSizeOne,
    1.47 +  kDistinctBiTableSize,
    1.48 +  kDistinctBiTableKeyMask,
    1.49 +  kDistinctBiTableBuildDate,
    1.50 +  kDistinctBiTableRecognizedLangScripts,
    1.51 +};
    1.52 +
    1.53 +}       // End namespace CLD2
    1.54 +
    1.55 +// End of generated tables

mercurial