LangCyrillicModel.cpp

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is Mozilla Communicator client code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either the GNU General Public License Version 2 or later (the "GPL"), or
00026  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 #include "nsSBCharSetProber.h"
00039 
00040 
00041 
00042 //KOI8-R language model
00043 //Character Mapping Table:
00044 unsigned char KOI8R_CharToOrderMap[] =
00045 {
00046 255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
00047 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
00048 +253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
00049 252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
00050 253,142,143,144,145,146,147,148,149,150,151,152, 74,153, 75,154,  //40
00051 155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,  //50
00052 253, 71,172, 66,173, 65,174, 76,175, 64,176,177, 77, 72,178, 69,  //60
00053  67,179, 78, 73,180,181, 79,182,183,184,185,253,253,253,253,253,  //70
00054 191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,  //80
00055 207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,  //90
00056 223,224,225, 68,226,227,228,229,230,231,232,233,234,235,236,237,  //a0
00057 238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,  //b0
00058  27,  3, 21, 28, 13,  2, 39, 19, 26,  4, 23, 11,  8, 12,  5,  1,  //c0
00059  15, 16,  9,  7,  6, 14, 24, 10, 17, 18, 20, 25, 30, 29, 22, 54,  //d0
00060  59, 37, 44, 58, 41, 48, 53, 46, 55, 42, 60, 36, 49, 38, 31, 34,  //e0
00061  35, 43, 45, 32, 40, 52, 56, 33, 61, 62, 51, 57, 47, 63, 50, 70,  //f0
00062 };
00063 
00064 unsigned char win1251_CharToOrderMap[] =
00065 {
00066 255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
00067 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
00068 +253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
00069 252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
00070 253,142,143,144,145,146,147,148,149,150,151,152, 74,153, 75,154,  //40
00071 155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,  //50
00072 253, 71,172, 66,173, 65,174, 76,175, 64,176,177, 77, 72,178, 69,  //60
00073  67,179, 78, 73,180,181, 79,182,183,184,185,253,253,253,253,253,  //70
00074 191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,
00075 207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,
00076 223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,
00077 239,240,241,242,243,244,245,246, 68,247,248,249,250,251,252,253,
00078  37, 44, 33, 46, 41, 48, 56, 51, 42, 60, 36, 49, 38, 31, 34, 35,
00079  45, 32, 40, 52, 53, 55, 58, 50, 57, 63, 70, 62, 61, 47, 59, 43,
00080   3, 21, 10, 19, 13,  2, 24, 20,  4, 23, 11,  8, 12,  5,  1, 15,
00081   9,  7,  6, 14, 39, 26, 28, 22, 25, 29, 54, 18, 17, 30, 27, 16,
00082 };
00083 
00084 unsigned char latin5_CharToOrderMap[] =
00085 {
00086 255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
00087 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
00088 +253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
00089 252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
00090 253,142,143,144,145,146,147,148,149,150,151,152, 74,153, 75,154,  //40
00091 155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,  //50
00092 253, 71,172, 66,173, 65,174, 76,175, 64,176,177, 77, 72,178, 69,  //60
00093  67,179, 78, 73,180,181, 79,182,183,184,185,253,253,253,253,253,  //70
00094 191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,
00095 207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,
00096 223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,
00097  37, 44, 33, 46, 41, 48, 56, 51, 42, 60, 36, 49, 38, 31, 34, 35,
00098  45, 32, 40, 52, 53, 55, 58, 50, 57, 63, 70, 62, 61, 47, 59, 43,
00099   3, 21, 10, 19, 13,  2, 24, 20,  4, 23, 11,  8, 12,  5,  1, 15,
00100   9,  7,  6, 14, 39, 26, 28, 22, 25, 29, 54, 18, 17, 30, 27, 16,
00101 239, 68,240,241,242,243,244,245,246,247,248,249,250,251,252,255,
00102 };
00103 
00104 unsigned char macCyrillic_CharToOrderMap[] =
00105 {
00106 255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
00107 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
00108 +253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
00109 252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
00110 253,142,143,144,145,146,147,148,149,150,151,152, 74,153, 75,154,  //40
00111 155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,  //50
00112 253, 71,172, 66,173, 65,174, 76,175, 64,176,177, 77, 72,178, 69,  //60
00113  67,179, 78, 73,180,181, 79,182,183,184,185,253,253,253,253,253,  //70
00114  37, 44, 33, 46, 41, 48, 56, 51, 42, 60, 36, 49, 38, 31, 34, 35,
00115  45, 32, 40, 52, 53, 55, 58, 50, 57, 63, 70, 62, 61, 47, 59, 43,
00116 191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,
00117 207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,
00118 223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,
00119 239,240,241,242,243,244,245,246,247,248,249,250,251,252, 68, 16,
00120   3, 21, 10, 19, 13,  2, 24, 20,  4, 23, 11,  8, 12,  5,  1, 15,
00121   9,  7,  6, 14, 39, 26, 28, 22, 25, 29, 54, 18, 17, 30, 27,255,
00122 };
00123 
00124 unsigned char IBM855_CharToOrderMap[] =
00125 {
00126 255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
00127 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
00128 +253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
00129 252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
00130 253,142,143,144,145,146,147,148,149,150,151,152, 74,153, 75,154,  //40
00131 155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,  //50
00132 253, 71,172, 66,173, 65,174, 76,175, 64,176,177, 77, 72,178, 69,  //60
00133  67,179, 78, 73,180,181, 79,182,183,184,185,253,253,253,253,253,  //70
00134 191,192,193,194, 68,195,196,197,198,199,200,201,202,203,204,205,
00135 206,207,208,209,210,211,212,213,214,215,216,217, 27, 59, 54, 70,
00136   3, 37, 21, 44, 28, 58, 13, 41,  2, 48, 39, 53, 19, 46,218,219,
00137 220,221,222,223,224, 26, 55,  4, 42,225,226,227,228, 23, 60,229,
00138 230,231,232,233,234,235, 11, 36,236,237,238,239,240,241,242,243,
00139   8, 49, 12, 38,  5, 31,  1, 34, 15,244,245,246,247, 35, 16,248,
00140  43,  9, 45,  7, 32,  6, 40, 14, 52, 24, 56, 10, 33, 17, 61,249,
00141 250, 18, 62, 20, 51, 25, 57, 30, 47, 29, 63, 22, 50,251,252,255,
00142 };
00143 
00144 unsigned char IBM866_CharToOrderMap[] =
00145 {
00146 255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
00147 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
00148 +253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
00149 252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
00150 253,142,143,144,145,146,147,148,149,150,151,152, 74,153, 75,154,  //40
00151 155,156,157,158,159,160,161,162,163,164,165,253,253,253,253,253,  //50
00152 253, 71,172, 66,173, 65,174, 76,175, 64,176,177, 77, 72,178, 69,  //60
00153  67,179, 78, 73,180,181, 79,182,183,184,185,253,253,253,253,253,  //70
00154  37, 44, 33, 46, 41, 48, 56, 51, 42, 60, 36, 49, 38, 31, 34, 35,
00155  45, 32, 40, 52, 53, 55, 58, 50, 57, 63, 70, 62, 61, 47, 59, 43,
00156   3, 21, 10, 19, 13,  2, 24, 20,  4, 23, 11,  8, 12,  5,  1, 15,
00157 191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,
00158 207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,
00159 223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,
00160   9,  7,  6, 14, 39, 26, 28, 22, 25, 29, 54, 18, 17, 30, 27, 16,
00161 239, 68,240,241,242,243,244,245,246,247,248,249,250,251,252,255,
00162 };
00163 
00164 //Model Table: 
00165 //total sequences: 100%
00166 //first 512 sequences: 97.6601%
00167 //first 1024 sequences: 2.3389%
00168 //rest  sequences:      0.1237%
00169 //negative sequences:   0.0009% 
00170 unsigned char RussianLangModel[] = 
00171 {
00172 0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,3,3,3,3,1,3,3,3,2,3,2,3,3,
00173 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,2,2,2,2,2,0,0,2,
00174 3,3,3,2,3,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,3,2,3,2,0,
00175 0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
00176 3,3,3,2,2,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,2,3,3,1,0,
00177 0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
00178 3,2,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,
00179 0,0,0,0,0,0,0,2,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
00180 3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,0,0,3,3,3,3,3,3,3,3,3,3,3,2,1,
00181 0,0,0,0,0,1,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
00182 3,3,3,3,3,3,3,3,2,2,2,3,1,3,3,1,3,3,3,3,2,2,3,0,2,2,2,3,3,2,1,0,
00183 0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,
00184 3,3,3,3,3,3,2,3,3,3,3,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0,0,0,0,0,1,0,
00290 1,0,0,0,0,2,0,1,2,1,0,1,1,1,0,1,0,0,0,1,0,1,0,0,1,0,1,0,0,0,0,1,
00291 0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,
00292 2,2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,
00293 1,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,0,0,0,
00294 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,
00295 1,1,1,0,1,0,1,0,0,1,1,1,1,0,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,
00296 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,
00297 1,1,0,1,1,0,1,0,1,0,0,0,0,1,1,0,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,0,
00298 0,1,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
00299 0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,
00300 };
00301 
00302 
00303 SequenceModel Koi8rModel = 
00304 {
00305   KOI8R_CharToOrderMap,
00306   RussianLangModel,
00307   (float)0.976601,
00308   PR_FALSE,
00309   "KOI8-R"
00310 };
00311 
00312 SequenceModel Win1251Model = 
00313 {
00314   win1251_CharToOrderMap,
00315   RussianLangModel,
00316   (float)0.976601,
00317   PR_FALSE,
00318   "windows-1251"
00319 };
00320 
00321 SequenceModel Latin5Model = 
00322 {
00323   latin5_CharToOrderMap,
00324   RussianLangModel,
00325   (float)0.976601,
00326   PR_FALSE,
00327   "ISO-8859-5"
00328 };
00329 
00330 SequenceModel MacCyrillicModel = 
00331 {
00332   macCyrillic_CharToOrderMap,
00333   RussianLangModel,
00334   (float)0.976601,
00335   PR_FALSE,
00336   "x-mac-cyrillic"
00337 };
00338 
00339 SequenceModel Ibm866Model = 
00340 {
00341   IBM866_CharToOrderMap,
00342   RussianLangModel,
00343   (float)0.976601,
00344   PR_FALSE,
00345   "IBM866"
00346 };
00347 
00348 SequenceModel Ibm855Model = 
00349 {
00350   IBM855_CharToOrderMap,
00351   RussianLangModel,
00352   (float)0.976601,
00353   PR_FALSE,
00354   "IBM855"
00355 };
Generated by  doxygen 1.6.2-20100208