medoc avatar medoc committed c9cdedf

Updated/added Language models

Comments (0)

Files changed (14)

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangBulgarianModel.cpp

   BulgarianLangModel,
   (float)0.969392,
   PR_FALSE,
-  "ISO-8859-5"
+  "ISO-8859-5",
+  "Bulgarian"
 };
 
 const SequenceModel Win1251BulgarianModel = 
   BulgarianLangModel,
   (float)0.969392,
   PR_FALSE,
-  "windows-1251"
+  "windows-1251",
+  "Bulgarian"
 };

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangCyrillicModel.cpp

   RussianLangModel,
   (float)0.976601,
   PR_FALSE,
-  "KOI8-R"
+  "KOI8-R",
+  "Russian"
 };
 
 const SequenceModel Win1251Model = 
   RussianLangModel,
   (float)0.976601,
   PR_FALSE,
-  "windows-1251"
+  "windows-1251",
+  "Russian"
 };
 
 const SequenceModel Latin5Model = 
   RussianLangModel,
   (float)0.976601,
   PR_FALSE,
-  "ISO-8859-5"
+  "ISO-8859-5",
+  "Russian"
 };
 
 const SequenceModel MacCyrillicModel = 
   RussianLangModel,
   (float)0.976601,
   PR_FALSE,
-  "x-mac-cyrillic"
+  "x-mac-cyrillic",
+  "Russian"
 };
 
 const SequenceModel Ibm866Model = 
   RussianLangModel,
   (float)0.976601,
   PR_FALSE,
-  "IBM866"
+  "IBM866",
+  "Russian"
 };
 
 const SequenceModel Ibm855Model = 
   RussianLangModel,
   (float)0.976601,
   PR_FALSE,
-  "IBM855"
+  "IBM855",
+  "Russian"
 };

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangCzechModel.cpp

+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+#include "nsSBCharSetProber.h"
+
+static const unsigned char czech_iso_8859_2CharToOrderMap[] = 
+{
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 32, 42, 49, 41, 63, 52, 36, 38, 53, 35, 37, 59, 44, 34, 47,
+ 33,180, 48, 45, 40, 56, 39, 76, 70, 75, 51,255,255,255,255,255,
+255,  3, 24, 19, 11,  1, 50, 57, 17,  8, 16, 12,  5, 10,  4,  2,
+ 14, 58, 15,  6,  7, 13,  9, 80, 62, 21, 23,255,255,255,255,255,
+179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,
+163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,
+147,146,145,144,143,142,141,140,139, 64,138, 79,137,136, 61,135,
+134,133,132,131,130,129,128,127,126, 28,125, 43,124,123, 25,122,
+121, 71,120,119,118,117,116,115, 60, 72,114,113, 73, 69,112, 78,
+111,110,109, 68,108,107,106,105, 65, 77, 67,104,103, 74,102,101,
+100, 20, 99, 98, 97, 96, 95, 94, 27, 29, 93, 92, 22, 18, 91, 55,
+ 90, 89, 54, 66, 88, 87, 86, 85, 26, 31, 46, 84, 83, 30, 82, 81,
+};
+
+static const PRUint8 czechLangModel[] = 
+{
+1,3,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,1,0,0,3,3,3,3,3,3,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,2,0,0,2,0,0,0,2,0,0,0,2,2,0,2,0,0,0,0,2,0,0,
+1,2,0,3,3,3,3,2,3,3,3,3,3,3,3,3,3,0,3,0,0,0,3,3,3,3,3,3,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,2,2,0,2,0,0,0,0,0,0,0,
+1,2,1,3,3,3,3,2,3,3,3,3,2,3,3,3,3,0,3,0,0,0,3,3,3,3,3,3,0,0,0,0,
+0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,2,2,0,2,0,0,0,0,0,0,0,
+3,3,3,3,2,3,3,3,0,0,3,3,3,0,0,0,2,3,3,3,3,3,2,2,3,0,2,2,3,3,2,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,
+3,3,3,3,3,3,2,3,2,2,2,3,3,0,0,3,2,3,2,3,3,0,3,2,2,0,3,2,3,3,2,0,
+0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,3,0,0,0,0,0,0,
+3,3,3,3,3,2,3,3,3,3,2,3,3,3,3,2,2,3,3,3,3,1,0,2,0,0,1,0,1,2,2,0,
+0,0,0,0,0,0,0,0,0,0,3,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,
+3,3,3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,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,0,0,0,0,0,0,0,0,0,0,0,
+0,0,0,0,0,0,1,1,0,0,0,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,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,2,0,0,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,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,
+2,0,2,0,2,0,1,1,0,0,0,2,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,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,
+};
+
+const SequenceModel iso_8859_2czechModel = 
+{
+  czech_iso_8859_2CharToOrderMap,
+  czechLangModel,
+  (float)0.968107,
+  PR_TRUE,
+  "iso-8859-2",
+  "czech"
+};

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangFinnishModel.cpp

+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+#include "nsSBCharSetProber.h"
+
+static const unsigned char finnish_WINDOWS_1252CharToOrderMap[] = 
+{
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 30, 48, 45, 50, 22, 46, 40, 29, 27, 32, 24, 33, 21, 26, 31,
+ 36, 60, 34, 23, 28, 39, 35, 59, 49, 41, 54,255,255,255,255,255,
+255,  1, 43, 47, 19,  5, 44, 37, 13,  2, 18,  9,  8, 12,  3, 11,
+ 17, 57, 15,  6,  4, 10, 14, 51, 58, 16, 56,255,255,255,255,255,
+175,255,174,173,172,171,170,169,168,167,166,165,164,255,163,255,
+255,162,161,160,159,158,157,156,155,154,153,152,151,255,150,149,
+148,147,146,145,144,143, 63,142,141,140,139,138,137,136,135,134,
+133,132,131,130,129,128,127,126,125,124,123, 25,122,121,120,119,
+118,117,116,115, 38,114,113,112,111,110,109,108,107,106,105,104,
+103,102,101,100, 99, 98, 42, 97, 96, 95, 94, 93, 92, 91, 90, 89,
+ 88, 87, 62, 86,  7, 55, 85, 52, 84, 53, 83, 82, 81, 80, 79, 78,
+ 77, 76, 75, 74, 73, 72, 20, 71, 70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,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,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,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,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,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,
+};
+
+const SequenceModel WINDOWS_1252finnishModel = 
+{
+  finnish_WINDOWS_1252CharToOrderMap,
+  finnishLangModel,
+  (float)0.995928,
+  PR_TRUE,
+  "WINDOWS-1252",
+  "finnish"
+};

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangFrenchModel.cpp

+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+#include "nsSBCharSetProber.h"
+
+static const unsigned char french_WINDOWS_1252CharToOrderMap[] = 
+{
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 30, 40, 31, 37, 27, 44, 48, 52, 32, 45, 61, 25, 29, 41, 43,
+ 34, 53, 38, 35, 39, 46, 42, 68, 63, 65, 71,255,255,255,255,255,
+255,  2, 20, 12, 11,  1, 17, 18, 21,  4, 24, 57,  9, 13,  5, 10,
+ 14, 19,  7,  3,  6,  8, 16, 54, 23, 28, 36,255,255,255,255,255,
+ 64,180,179,178,177, 75,176,175,174,173,172,171, 91,170,169,168,
+167,166, 62,111,110, 67, 78, 88,165, 97,164, 90, 82,163,162,161,
+160,159,158,157,156,155,154, 86, 84, 69,101, 50,109,153, 96,152,
+ 81,151,108,150,100,149,148, 80,147,107,146, 51,145,144,143,142,
+ 70,141, 79, 72,140,139,138, 73, 77, 60, 76,137,136,135, 99,134,
+106,133,132,131, 83,130, 98, 92,129, 95,128, 94,127,126,125,124,
+ 22, 93, 49,123,105,104, 89, 47, 26, 15, 33, 74,122,121, 56, 66,
+120,103,119,118, 55,102, 87,117,116, 59,115, 58, 85,114,113,112,
+};
+
+static const PRUint8 frenchLangModel[] = 
+{
+2,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,2,3,2,0,3,2,0,0,0,3,2,0,0,0,
+0,0,0,3,0,0,1,1,0,0,0,1,0,0,2,0,2,0,2,0,0,3,1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,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,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,0,0,0,0,0,0,0,0,0,0,0,
+};
+
+const SequenceModel WINDOWS_1252frenchModel = 
+{
+  french_WINDOWS_1252CharToOrderMap,
+  frenchLangModel,
+  (float)0.985451,
+  PR_TRUE,
+  "WINDOWS-1252",
+  "french"
+};

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangGermanModel.cpp

+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+#include "nsSBCharSetProber.h"
+
+static const unsigned char german_WINDOWS_1252CharToOrderMap[] = 
+{
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 30, 34, 50, 25, 27, 36, 31, 28, 35, 49, 41, 39, 32, 42, 48,
+ 45, 58, 44, 21, 37, 40, 43, 29, 62, 61, 47,255,255,255,255,255,
+255,  8, 16, 12,  9,  1, 18, 13,  7,  3, 46, 20, 11, 14,  2, 15,
+ 33, 53,  4,  5,  6, 10, 23, 17, 55, 51, 19,255,255,255,255,255,
+180,179,178,177,176,175,174,173,172,171,170, 64,169,168,167,166,
+165,164, 54,163,162,161, 66,160,159,158,157, 63,156,155,154,153,
+ 65,152,151,150,149,148,147,146,145,144,143, 57,142,141,140,139,
+138,137,136,135,134,133,132,131,130,129,128, 56,127,126,125,124,
+123,122,121,120, 59,119,118, 71,117,116,115,114,113,112,111,110,
+109,108,107,106,105,104, 60,103,102,101,100, 99, 52, 98, 97, 26,
+ 70, 96, 69, 95, 24, 94, 68, 93, 92, 67, 91, 90, 89, 88, 87, 86,
+ 85, 84, 83, 82, 81, 80, 38, 79, 78, 77, 76, 75, 22, 74, 73, 72,
+};
+
+static const PRUint8 germanLangModel[] = 
+{
+3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,0,2,2,2,0,3,0,0,0,0,0,0,
+3,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,3,0,2,2,2,0,2,0,0,0,0,0,0,0,
+3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,3,3,3,0,0,0,0,0,0,0,0,
+2,0,0,0,0,2,0,0,0,0,0,0,0,2,0,0,0,0,2,0,2,2,0,0,2,0,0,0,0,0,0,0,
+3,3,2,3,3,3,3,2,3,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 
+{
+  german_WINDOWS_1252CharToOrderMap,
+  germanLangModel,
+  (float)0.985431,
+  PR_TRUE,
+  "WINDOWS-1252",
+  "german"
+};

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangGreekModel.cpp

  * ***** END LICENSE BLOCK ***** */
 
 #include "nsSBCharSetProber.h"
-/****************************************************************
-255: Control characters that usually does not exist in any text
-254: Carriage/Return
-253: symbol (punctuation) that does not belong to word
-252: 0 - 9
 
-*****************************************************************/
-
-//Character Mapping Table:
-static const unsigned char Latin7_CharToOrderMap[] =
+static const unsigned char greek_ISO_8859_7CharToOrderMap[] = 
 {
-255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
-+253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
-252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
-253, 82,100,104, 94, 98,101,116,102,111,187,117, 92, 88,113, 85,  //40
- 79,118,105, 83, 67,114,119, 95, 99,109,188,253,253,253,253,253,  //50
-253, 72, 70, 80, 81, 60, 96, 93, 89, 68,120, 97, 77, 86, 69, 55,  //60
- 78,115, 65, 66, 58, 76,106,103, 87,107,112,253,253,253,253,253,  //70
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //80
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //90
-+253,233, 90,253,253,253,253,253,253,253,253,253,253, 74,253,253,  //a0
-253,253,253,253,247,248, 61, 36, 46, 71, 73,253, 54,253,108,123,  //b0
-110, 31, 51, 43, 41, 34, 91, 40, 52, 47, 44, 53, 38, 49, 59, 39,  //c0
- 35, 48,250, 37, 33, 45, 56, 50, 84, 57,120,121, 17, 18, 22, 15,  //d0
-124,  1, 29, 20, 21,  3, 32, 13, 25,  5, 11, 16, 10,  6, 30,  4,  //e0
-  9,  8, 14,  7,  2, 12, 28, 23, 42, 24, 64, 75, 19, 26, 27,253,  //f0
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 67, 59, 45, 74, 51, 61, 69,105, 88, 99, 80, 93, 77, 95, 97,
+ 73,121, 92, 71, 64,110,103, 87,114,112,116,255,255,255,255,255,
+255, 32, 72, 60, 43, 29, 78, 44, 58, 28, 70, 49, 41, 55, 40, 31,
+ 42,115, 37, 39, 38, 53, 90, 65, 98, 66,108,255,255,255,255,255,
+145,140,150,180,138,144,179,155,178,154,177,176,135,175,149,174,
+173,137,143,172,171,136,148,170,169,153,152,151,168,167,166,165,
+164,134,107,132,127,163,162,128,147,131,161, 84,146,160,159,142,
+133,126,130,129,120,141,102, 94, 89,109,118, 83, 85,139,122,125,
+ 91, 36, 62, 75, 57, 46,111, 82,101, 56, 54, 81, 50, 68,113, 63,
+ 47, 96,158, 25, 48,106, 79, 86,119,104,124,157, 17, 21, 18, 15,
+123,  1, 34, 19, 23,  5, 33,  9, 27,  6, 12, 16, 13,  4, 52,  2,
+ 14,  7, 11,  8,  3, 10, 22, 26, 76, 24,100,117, 20, 30, 35,156,
 };
 
-
-
-static const unsigned char win1253_CharToOrderMap[] =
+static const unsigned char greek_WINDOWS_1253CharToOrderMap[] = 
 {
-255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
-+253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
-252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
-253, 82,100,104, 94, 98,101,116,102,111,187,117, 92, 88,113, 85,  //40
- 79,118,105, 83, 67,114,119, 95, 99,109,188,253,253,253,253,253,  //50
-253, 72, 70, 80, 81, 60, 96, 93, 89, 68,120, 97, 77, 86, 69, 55,  //60
- 78,115, 65, 66, 58, 76,106,103, 87,107,112,253,253,253,253,253,  //70
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //80
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //90
-+253,233, 61,253,253,253,253,253,253,253,253,253,253, 74,253,253,  //a0
-253,253,253,253,247,253,253, 36, 46, 71, 73,253, 54,253,108,123,  //b0
-110, 31, 51, 43, 41, 34, 91, 40, 52, 47, 44, 53, 38, 49, 59, 39,  //c0
- 35, 48,250, 37, 33, 45, 56, 50, 84, 57,120,121, 17, 18, 22, 15,  //d0
-124,  1, 29, 20, 21,  3, 32, 13, 25,  5, 11, 16, 10,  6, 30,  4,  //e0
-  9,  8, 14,  7,  2, 12, 28, 23, 42, 24, 64, 75, 19, 26, 27,253,  //f0
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 67, 59, 45, 74, 51, 61, 69,105, 88, 99, 80, 93, 77, 95, 97,
+ 73,121, 92, 71, 64,110,103, 87,114,112,116,255,255,255,255,255,
+255, 32, 72, 60, 43, 29, 78, 44, 58, 28, 70, 49, 41, 55, 40, 31,
+ 42,115, 37, 39, 38, 53, 90, 65, 98, 66,108,255,255,255,255,255,
+127,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,
+165,134,107,164,163,162,161,160,159,158,157,156,155,154,153,152,
+151,137,102,132,150,149,148,128,139,131,147, 84,138,146,145,136,
+133,126,130,129,120,144,143, 94, 89,109,118, 83, 85,135,122,125,
+ 91, 36, 62, 75, 57, 46,111, 82,101, 56, 54, 81, 50, 68,113, 63,
+ 47, 96,142, 25, 48,106, 79, 86,119,104,124,141, 17, 21, 18, 15,
+123,  1, 34, 19, 23,  5, 33,  9, 27,  6, 12, 16, 13,  4, 52,  2,
+ 14,  7, 11,  8,  3, 10, 22, 26, 76, 24,100,117, 20, 30, 35,140,
 };
 
-//Model Table: 
-//total sequences: 100%
-//first 512 sequences: 98.2851%
-//first 1024 sequences:1.7001%
-//rest  sequences:     0.0359%
-//negative sequences:  0.0148% 
-static const PRUint8 GreekLangModel[] = 
+static const PRUint8 greekLangModel[] = 
 {
-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,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,0,0,0,0,
-0,0,3,2,2,3,3,3,3,3,3,3,3,1,3,3,3,0,2,2,3,3,0,3,0,3,2,0,3,3,3,0,
-3,0,0,0,2,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,3,3,3,3,3,0,3,3,0,3,2,3,3,0,3,2,3,3,3,0,0,3,0,3,0,3,3,2,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,2,0,0,0,0,0,0,0,0,
-0,2,3,2,2,3,3,3,3,3,3,3,3,0,3,3,3,3,0,2,3,3,0,3,3,3,3,2,3,3,3,0,
-2,0,0,0,2,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,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3,3,0,2,1,3,3,3,3,2,3,3,2,3,3,2,0,
-0,0,0,0,2,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,3,3,3,3,0,3,3,3,3,3,3,0,3,3,0,3,3,3,3,3,3,3,3,3,3,0,3,2,3,3,0,
-2,0,1,0,2,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,
-0,3,3,3,3,3,2,3,0,0,0,0,3,3,0,3,1,3,3,3,0,3,3,0,3,3,3,3,0,0,0,0,
-2,0,0,0,2,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,0,3,2,
+0,0,0,0,2,2,2,1,2,1,1,1,1,0,0,0,2,0,0,0,2,0,1,0,0,2,1,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,0,0,2,2,0,3,2,
+0,0,0,0,2,1,1,0,2,0,0,0,1,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,2,0,0,1,
+2,3,0,0,2,3,2,0,1,1,0,0,0,0,2,2,2,1,1,2,1,0,0,0,0,0,0,0,0,1,0,0,
+0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,0,
+0,0,1,1,0,2,2,1,0,2,0,3,2,1,1,2,0,0,0,0,0,1,2,0,2,1,1,0,0,2,0,0,
+0,1,0,1,0,0,0,0,0,0,0,0,0,1,1,1,0,1,0,1,0,1,0,1,1,0,0,0,0,1,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,2,2,0,3,2,
+0,0,0,0,2,1,1,0,0,0,1,0,1,0,1,0,1,1,1,0,1,1,1,0,0,2,0,0,1,0,0,1,
 };
 
-const SequenceModel Latin7Model = 
+const SequenceModel ISO_8859_7greekModel = 
 {
-  Latin7_CharToOrderMap,
-  GreekLangModel,
-  (float)0.982851,
-  PR_FALSE,
-  "ISO-8859-7"
+  greek_ISO_8859_7CharToOrderMap,
+  greekLangModel,
+  (float)0.944928,
+  PR_TRUE,
+  "ISO-8859-7",
+  "greek"
 };
 
-const SequenceModel Win1253Model = 
+const SequenceModel WINDOWS_1253greekModel = 
 {
-  win1253_CharToOrderMap,
-  GreekLangModel,
-  (float)0.982851,
-  PR_FALSE,
-  "windows-1253"
+  greek_WINDOWS_1253CharToOrderMap,
+  greekLangModel,
+  (float)0.944928,
+  PR_TRUE,
+  "WINDOWS-1253",
+  "greek"
 };

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangHebrewModel.cpp

   HebrewLangModel,
   (float)0.984004,
   PR_FALSE,
-  "windows-1255"
+  "windows-1255",
+  "Hebrew"
 };
 

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangHungarianModel.cpp

 //Character Mapping Table:
 static const unsigned char Latin2_HungarianCharToOrderMap[] =
 {
-255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
-+253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
-252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
-253, 28, 40, 54, 45, 32, 50, 49, 38, 39, 53, 36, 41, 34, 35, 47,
- 46, 71, 43, 33, 37, 57, 48, 64, 68, 55, 52,253,253,253,253,253,
-253,  2, 18, 26, 17,  1, 27, 12, 20,  9, 22,  7,  6, 13,  4,  8,
- 23, 67, 10,  5,  3, 21, 19, 65, 62, 16, 11,253,253,253,253,253,
-159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,
-175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,
-191,192,193,194,195,196,197, 75,198,199,200,201,202,203,204,205,
- 79,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,
-221, 51, 81,222, 78,223,224,225,226, 44,227,228,229, 61,230,231,
-232,233,234, 58,235, 66, 59,236,237,238, 60, 69, 63,239,240,241,
- 82, 14, 74,242, 70, 80,243, 72,244, 15, 83, 77, 84, 30, 76, 85,
-245,246,247, 25, 73, 42, 24,248,249,250, 31, 56, 29,251,252,253,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 30, 47, 46, 43, 34, 50, 52, 38, 41, 49, 36, 44, 33, 35, 53,
+ 51,180, 45, 37, 42, 56, 39, 62, 64, 59, 54,255,255,255,255,255,
+255,  2, 18, 27, 17,  1, 24, 12, 20,  9, 23,  7,  5, 13,  4,  8,
+ 26, 65, 10,  6,  3, 21, 19, 67, 63, 16, 11,255,255,255,255,255,
+179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,
+163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,
+147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,
+131,130,129,128,127,126,125,124,123,122,121,120,119,118,117,116,
+115, 55,114,113,112,111,110,109,108, 48,107,106,105, 66,104,103,
+102,101,100, 60, 99, 61, 57, 98, 97, 96, 58, 68, 69, 95, 94, 93,
+ 92, 14, 91, 90, 89, 88, 87, 86, 85, 15, 84, 70, 83, 31, 82, 81,
+ 80, 79, 78, 25, 77, 28, 22, 76, 75, 74, 32, 40, 29, 73, 72, 71,
 };
 
 static const unsigned char win1250HungarianCharToOrderMap[] =
 {
-255,255,255,255,255,255,255,255,255,255,254,255,255,254,255,255,  //00
-255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,  //10
-+253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,  //20
-252,252,252,252,252,252,252,252,252,252,253,253,253,253,253,253,  //30
-253, 28, 40, 54, 45, 32, 50, 49, 38, 39, 53, 36, 41, 34, 35, 47,
- 46, 72, 43, 33, 37, 57, 48, 64, 68, 55, 52,253,253,253,253,253,
-253,  2, 18, 26, 17,  1, 27, 12, 20,  9, 22,  7,  6, 13,  4,  8,
- 23, 67, 10,  5,  3, 21, 19, 65, 62, 16, 11,253,253,253,253,253,
-161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,
-177,178,179,180, 78,181, 69,182,183,184,185,186,187,188,189,190,
-191,192,193,194,195,196,197, 76,198,199,200,201,202,203,204,205,
- 81,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,
-221, 51, 83,222, 80,223,224,225,226, 44,227,228,229, 61,230,231,
-232,233,234, 58,235, 66, 59,236,237,238, 60, 70, 63,239,240,241,
- 84, 14, 75,242, 71, 82,243, 73,244, 15, 85, 79, 86, 30, 77, 87,
-245,246,247, 25, 74, 42, 24,248,249,250, 31, 56, 29,251,252,253,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 30, 47, 46, 43, 34, 50, 52, 38, 41, 49, 36, 44, 33, 35, 53,
+ 51,180, 45, 37, 42, 56, 39, 63, 65, 60, 54,255,255,255,255,255,
+255,  2, 18, 27, 17,  1, 24, 12, 20,  9, 23,  7,  5, 13,  4,  8,
+ 26, 67, 10,  6,  3, 21, 19, 70, 64, 16, 11,255,255,255,255,255,
+179,178,177,176, 59,175,174,173,172,171,170,169,168,167,166,165,
+164,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,
+148,147,146,145,144,143,142,141,140,139,138, 69,137,136,135,134,
+133,132,131,130,129,128,127,126,125,124,123, 66,122,121,120,119,
+118, 55,117,116,115,114,113,112,111, 48,110,109,108, 68,107,106,
+105,104,103, 61,102, 62, 57,101,100, 99, 58, 71, 72, 98, 97, 96,
+ 95, 14, 94, 93, 92, 91, 90, 89, 88, 15, 87, 73, 86, 31, 85, 84,
+ 83, 82, 81, 25, 80, 28, 22, 79, 78, 77, 32, 40, 29, 76, 75, 74,
 };
 
 //Model Table: 
 //negative sequences:  0.0009% 
 static const PRUint8 HungarianLangModel[] = 
 {
-0,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
-3,3,3,3,3,3,3,3,3,3,2,3,3,3,3,3,3,3,3,2,2,3,3,1,1,2,2,2,2,2,1,2,
-3,2,2,3,3,3,3,3,2,3,3,3,3,3,3,1,2,3,3,3,3,2,3,3,1,1,3,3,0,1,1,1,
-0,0,0,0,0,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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,0,0,2,0,0,
+0,2,0,0,0,0,2,0,2,0,0,0,0,0,0,2,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,2,0,0,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,2,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,2,2,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,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,
+0,2,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,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,0,
+0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,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,0,0,0,0,0,0,0,
 };
 
 const SequenceModel Latin2HungarianModel = 
 {
   Latin2_HungarianCharToOrderMap,
   HungarianLangModel,
-  (float)0.947368,
+  (float)0.965178,
   PR_TRUE,
-  "ISO-8859-2"
+  "ISO-8859-2",
+  "hungarian"
 };
 
 const SequenceModel Win1250HungarianModel = 
 {
   win1250HungarianCharToOrderMap,
   HungarianLangModel,
-  (float)0.947368,
+  (float)0.965178,
   PR_TRUE,
-  "windows-1250"
+  "windows-1250",
+  "hungarian"
 };

libcharsetdetect/mozilla/extensions/universalchardet/src/base/LangPolishModel.cpp

+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+#include "nsSBCharSetProber.h"
+
+static const unsigned char polish_iso_8859_2CharToOrderMap[] = 
+{
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+255, 34, 39, 37, 46, 54, 59, 51, 43, 35, 42, 45, 49, 41, 32, 47,
+ 31,180, 50, 33, 38, 53, 60, 30, 61, 58, 40,255,255,255,255,255,
+255,  1, 21, 11, 13,  3, 44, 23, 26,  2, 18, 15, 20, 14,  6,  4,
+ 16, 63,  7,  8, 12, 19, 52,  9, 64, 10,  5,255,255,255,255,255,
+179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,
+163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,
+147, 70,146, 57,145,144, 55, 78,143,142,141,140, 74,139,138, 56,
+137, 24,136, 17,135, 82, 27,134,133,132,131, 65, 48,130,129, 25,
+128,127,126,125,124,123, 77,122,121,120, 66,119,118,117,116,115,
+114, 68,113, 62,112,111,110,109,108,107,106,105, 81,104,103,102,
+101, 76, 69,100, 80, 99, 29, 71, 98, 67, 22, 97, 96, 95, 79, 73,
+ 94, 36, 93, 28, 92, 91, 75, 90, 89, 88, 87, 86, 72, 85, 84, 83,
+};
+
+static const PRUint8 polishLangModel[] = 
+{
+2,2,2,2,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,3,0,3,0,3,2,3,0,3,0,0,0,
+0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+3,2,3,3,3,3,3,3,3,0,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,0,3,3,3,0,0,0,
+0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,