michael@0: // Copyright 2013 Google Inc. All Rights Reserved. michael@0: // michael@0: // Licensed under the Apache License, Version 2.0 (the "License"); michael@0: // you may not use this file except in compliance with the License. michael@0: // You may obtain a copy of the License at michael@0: // michael@0: // http://www.apache.org/licenses/LICENSE-2.0 michael@0: // michael@0: // Unless required by applicable law or agreed to in writing, software michael@0: // distributed under the License is distributed on an "AS IS" BASIS, michael@0: // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. michael@0: // See the License for the specific language governing permissions and michael@0: // limitations under the License. michael@0: michael@0: // michael@0: // Degenerate CLD2 scoring lookup table, for use as placeholder michael@0: // michael@0: #include "cld2tablesummary.h" michael@0: michael@0: namespace CLD2 { michael@0: michael@0: static const uint32 kDistinctBiTableBuildDate = 20130101; // yyyymmdd michael@0: static const uint32 kDistinctBiTableSize = 1; // Total Bucket count michael@0: static const uint32 kDistinctBiTableKeyMask = 0xffffffff; // Mask hash key michael@0: static const char* const kDistinctBiTableRecognizedLangScripts = ""; michael@0: michael@0: // Empty table michael@0: static const IndirectProbBucket4 kDistinctBiTable[kDistinctBiTableSize] = { michael@0: // key[4], words[4] in UTF-8 michael@0: // value[4] michael@0: { {0x00000000,0x00000000,0x00000000,0x00000000}}, // [000] michael@0: }; michael@0: michael@0: static const uint32 kDistinctBiTableSizeOne = 1; // One-langprob count michael@0: static const uint32 kDistinctBiTableIndSize = 1; // Largest subscript michael@0: static const uint32 kDistinctBiTableInd[kDistinctBiTableIndSize] = { michael@0: // [0000] michael@0: 0x00000000, }; michael@0: michael@0: extern const CLD2TableSummary kDistinctBiTable_obj = { michael@0: kDistinctBiTable, michael@0: kDistinctBiTableInd, michael@0: kDistinctBiTableSizeOne, michael@0: kDistinctBiTableSize, michael@0: kDistinctBiTableKeyMask, michael@0: kDistinctBiTableBuildDate, michael@0: kDistinctBiTableRecognizedLangScripts, michael@0: }; michael@0: michael@0: } // End namespace CLD2 michael@0: michael@0: // End of generated tables