1 // Copyright 2013 Google Inc. All Rights Reserved.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 //
16 // Degenerate CLD2 scoring lookup table, for use as placeholder
17 //
18 #include "cld2tablesummary.h"
19 
20 namespace CLD2 {
21 
22 static const uint32 kDistinctBiTableBuildDate = 20130101;    // yyyymmdd
23 static const uint32 kDistinctBiTableSize = 1;       // Total Bucket count
24 static const uint32 kDistinctBiTableKeyMask = 0xffffffff;    // Mask hash key
25 static const char* const kDistinctBiTableRecognizedLangScripts = "";
26 
27 // Empty table
28 static const IndirectProbBucket4 kDistinctBiTable[kDistinctBiTableSize] = {
29   // key[4], words[4] in UTF-8
30   // value[4]
31   { {0x00000000,0x00000000,0x00000000,0x00000000}},	// [000]
32 };
33 
34 static const uint32 kDistinctBiTableSizeOne = 1;    // One-langprob count
35 static const uint32 kDistinctBiTableIndSize = 1;       // Largest subscript
36 static const uint32 kDistinctBiTableInd[kDistinctBiTableIndSize] = {
37   // [0000]
38   0x00000000, };
39 
40 extern const CLD2TableSummary kDistinctBiTable_obj = {
41   kDistinctBiTable,
42   kDistinctBiTableInd,
43   kDistinctBiTableSizeOne,
44   kDistinctBiTableSize,
45   kDistinctBiTableKeyMask,
46   kDistinctBiTableBuildDate,
47   kDistinctBiTableRecognizedLangScripts,
48 };
49 
50 }       // End namespace CLD2
51 
52 // End of generated tables
53