• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2018 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // Internal data for approx-script.cc; see approx-script-data.h
18 //
19 // DO NOT EDIT BY HAND
20 //
21 // Generated by
22 // lang_id/script/update-script-data.sh
23 
24 #include "lang_id/script/approx-script-data.h"
25 
26 namespace libtextclassifier3 {
27 namespace mobile {
28 namespace approx_script_internal {
29 
30 const int kNumRanges = 367;
31 
32 const uint32 kRangeFirst[] = {
33   65,  // Range #0: [65, 90, Latin]
34   97,  // Range #1: [97, 122, Latin]
35   170,  // Range #2: [170, 170, Latin]
36   186,  // Range #3: [186, 186, Latin]
37   192,  // Range #4: [192, 214, Latin]
38   216,  // Range #5: [216, 246, Latin]
39   248,  // Range #6: [248, 696, Latin]
40   736,  // Range #7: [736, 740, Latin]
41   746,  // Range #8: [746, 747, Bopomofo]
42   880,  // Range #9: [880, 883, Greek]
43   885,  // Range #10: [885, 893, Greek]
44   895,  // Range #11: [895, 900, Greek]
45   902,  // Range #12: [902, 902, Greek]
46   904,  // Range #13: [904, 993, Greek]
47   994,  // Range #14: [994, 1007, Coptic]
48   1008,  // Range #15: [1008, 1023, Greek]
49   1024,  // Range #16: [1024, 1156, Cyrillic]
50   1159,  // Range #17: [1159, 1327, Cyrillic]
51   1329,  // Range #18: [1329, 1416, Armenian]
52   1418,  // Range #19: [1418, 1423, Armenian]
53   1425,  // Range #20: [1425, 1479, Hebrew]
54   1488,  // Range #21: [1488, 1524, Hebrew]
55   1536,  // Range #22: [1536, 1540, Arabic]
56   1542,  // Range #23: [1542, 1547, Arabic]
57   1549,  // Range #24: [1549, 1562, Arabic]
58   1564,  // Range #25: [1564, 1566, Arabic]
59   1568,  // Range #26: [1568, 1599, Arabic]
60   1601,  // Range #27: [1601, 1610, Arabic]
61   1622,  // Range #28: [1622, 1647, Arabic]
62   1649,  // Range #29: [1649, 1756, Arabic]
63   1758,  // Range #30: [1758, 1791, Arabic]
64   1792,  // Range #31: [1792, 1871, Syriac]
65   1872,  // Range #32: [1872, 1919, Arabic]
66   1920,  // Range #33: [1920, 1969, Thaana]
67   1984,  // Range #34: [1984, 2047, Nko]
68   2048,  // Range #35: [2048, 2110, Samaritan]
69   2112,  // Range #36: [2112, 2142, Mandaic]
70   2144,  // Range #37: [2144, 2154, Syriac]
71   2208,  // Range #38: [2208, 2237, Arabic]
72   2259,  // Range #39: [2259, 2273, Arabic]
73   2275,  // Range #40: [2275, 2303, Arabic]
74   2304,  // Range #41: [2304, 2384, Devanagari]
75   2389,  // Range #42: [2389, 2403, Devanagari]
76   2406,  // Range #43: [2406, 2431, Devanagari]
77   2432,  // Range #44: [2432, 2510, Bengali]
78   2519,  // Range #45: [2519, 2558, Bengali]
79   2561,  // Range #46: [2561, 2641, Gurmukhi]
80   2649,  // Range #47: [2649, 2654, Gurmukhi]
81   2662,  // Range #48: [2662, 2678, Gurmukhi]
82   2689,  // Range #49: [2689, 2768, Gujarati]
83   2784,  // Range #50: [2784, 2801, Gujarati]
84   2809,  // Range #51: [2809, 2815, Gujarati]
85   2817,  // Range #52: [2817, 2893, Oriya]
86   2902,  // Range #53: [2902, 2935, Oriya]
87   2946,  // Range #54: [2946, 3024, Tamil]
88   3031,  // Range #55: [3031, 3031, Tamil]
89   3046,  // Range #56: [3046, 3066, Tamil]
90   3072,  // Range #57: [3072, 3149, Telugu]
91   3157,  // Range #58: [3157, 3162, Telugu]
92   3168,  // Range #59: [3168, 3183, Telugu]
93   3191,  // Range #60: [3191, 3199, Telugu]
94   3200,  // Range #61: [3200, 3277, Kannada]
95   3285,  // Range #62: [3285, 3286, Kannada]
96   3294,  // Range #63: [3294, 3314, Kannada]
97   3328,  // Range #64: [3328, 3455, Malayalam]
98   3458,  // Range #65: [3458, 3551, Sinhala]
99   3558,  // Range #66: [3558, 3572, Sinhala]
100   3585,  // Range #67: [3585, 3642, Thai]
101   3648,  // Range #68: [3648, 3675, Thai]
102   3713,  // Range #69: [3713, 3807, Lao]
103   3840,  // Range #70: [3840, 4052, Tibetan]
104   4057,  // Range #71: [4057, 4058, Tibetan]
105   4096,  // Range #72: [4096, 4255, Myanmar]
106   4256,  // Range #73: [4256, 4295, Georgian]
107   4301,  // Range #74: [4301, 4346, Georgian]
108   4348,  // Range #75: [4348, 4351, Georgian]
109   4352,  // Range #76: [4352, 4607, Hangul]
110   4608,  // Range #77: [4608, 5017, Ethiopic]
111   5024,  // Range #78: [5024, 5117, Cherokee]
112   5120,  // Range #79: [5120, 5759, Canadian_Aboriginal]
113   5760,  // Range #80: [5760, 5788, Ogham]
114   5792,  // Range #81: [5792, 5866, Runic]
115   5870,  // Range #82: [5870, 5880, Runic]
116   5888,  // Range #83: [5888, 5908, Tagalog]
117   5920,  // Range #84: [5920, 5940, Hanunoo]
118   5952,  // Range #85: [5952, 5971, Buhid]
119   5984,  // Range #86: [5984, 6003, Tagbanwa]
120   6016,  // Range #87: [6016, 6121, Khmer]
121   6128,  // Range #88: [6128, 6137, Khmer]
122   6144,  // Range #89: [6144, 6145, Mongolian]
123   6148,  // Range #90: [6148, 6148, Mongolian]
124   6150,  // Range #91: [6150, 6169, Mongolian]
125   6176,  // Range #92: [6176, 6264, Mongolian]
126   6272,  // Range #93: [6272, 6314, Mongolian]
127   6320,  // Range #94: [6320, 6389, Canadian_Aboriginal]
128   6400,  // Range #95: [6400, 6479, Limbu]
129   6480,  // Range #96: [6480, 6516, Tai_Le]
130   6528,  // Range #97: [6528, 6601, New_Tai_Lue]
131   6608,  // Range #98: [6608, 6623, New_Tai_Lue]
132   6624,  // Range #99: [6624, 6655, Khmer]
133   6656,  // Range #100: [6656, 6687, Buginese]
134   6688,  // Range #101: [6688, 6793, Tai_Tham]
135   6800,  // Range #102: [6800, 6809, Tai_Tham]
136   6816,  // Range #103: [6816, 6829, Tai_Tham]
137   6912,  // Range #104: [6912, 7036, Balinese]
138   7040,  // Range #105: [7040, 7103, Sundanese]
139   7104,  // Range #106: [7104, 7155, Batak]
140   7164,  // Range #107: [7164, 7167, Batak]
141   7168,  // Range #108: [7168, 7247, Lepcha]
142   7248,  // Range #109: [7248, 7295, Ol_Chiki]
143   7296,  // Range #110: [7296, 7304, Cyrillic]
144   7312,  // Range #111: [7312, 7359, Georgian]
145   7360,  // Range #112: [7360, 7367, Sundanese]
146   7424,  // Range #113: [7424, 7461, Latin]
147   7462,  // Range #114: [7462, 7466, Greek]
148   7467,  // Range #115: [7467, 7467, Cyrillic]
149   7468,  // Range #116: [7468, 7516, Latin]
150   7517,  // Range #117: [7517, 7521, Greek]
151   7522,  // Range #118: [7522, 7525, Latin]
152   7526,  // Range #119: [7526, 7530, Greek]
153   7531,  // Range #120: [7531, 7543, Latin]
154   7544,  // Range #121: [7544, 7544, Cyrillic]
155   7545,  // Range #122: [7545, 7614, Latin]
156   7615,  // Range #123: [7615, 7615, Greek]
157   7680,  // Range #124: [7680, 7935, Latin]
158   7936,  // Range #125: [7936, 8190, Greek]
159   8305,  // Range #126: [8305, 8305, Latin]
160   8319,  // Range #127: [8319, 8319, Latin]
161   8336,  // Range #128: [8336, 8348, Latin]
162   8486,  // Range #129: [8486, 8486, Greek]
163   8490,  // Range #130: [8490, 8491, Latin]
164   8498,  // Range #131: [8498, 8498, Latin]
165   8526,  // Range #132: [8526, 8526, Latin]
166   8544,  // Range #133: [8544, 8584, Latin]
167   10240,  // Range #134: [10240, 10495, Braille]
168   11264,  // Range #135: [11264, 11358, Glagolitic]
169   11360,  // Range #136: [11360, 11391, Latin]
170   11392,  // Range #137: [11392, 11507, Coptic]
171   11513,  // Range #138: [11513, 11519, Coptic]
172   11520,  // Range #139: [11520, 11559, Georgian]
173   11565,  // Range #140: [11565, 11565, Georgian]
174   11568,  // Range #141: [11568, 11623, Tifinagh]
175   11631,  // Range #142: [11631, 11632, Tifinagh]
176   11647,  // Range #143: [11647, 11647, Tifinagh]
177   11648,  // Range #144: [11648, 11670, Ethiopic]
178   11680,  // Range #145: [11680, 11742, Ethiopic]
179   11744,  // Range #146: [11744, 11775, Cyrillic]
180   11904,  // Range #147: [11904, 12019, Han]
181   12032,  // Range #148: [12032, 12245, Han]
182   12293,  // Range #149: [12293, 12293, Han]
183   12295,  // Range #150: [12295, 12295, Han]
184   12321,  // Range #151: [12321, 12329, Han]
185   12334,  // Range #152: [12334, 12335, Hangul]
186   12344,  // Range #153: [12344, 12347, Han]
187   12353,  // Range #154: [12353, 12438, Hiragana]
188   12445,  // Range #155: [12445, 12447, Hiragana]
189   12449,  // Range #156: [12449, 12538, Katakana]
190   12541,  // Range #157: [12541, 12543, Katakana]
191   12549,  // Range #158: [12549, 12591, Bopomofo]
192   12593,  // Range #159: [12593, 12686, Hangul]
193   12704,  // Range #160: [12704, 12730, Bopomofo]
194   12784,  // Range #161: [12784, 12799, Katakana]
195   12800,  // Range #162: [12800, 12830, Hangul]
196   12896,  // Range #163: [12896, 12926, Hangul]
197   13008,  // Range #164: [13008, 13054, Katakana]
198   13056,  // Range #165: [13056, 13143, Katakana]
199   13312,  // Range #166: [13312, 19893, Han]
200   19968,  // Range #167: [19968, 40943, Han]
201   40960,  // Range #168: [40960, 42182, Yi]
202   42192,  // Range #169: [42192, 42239, Lisu]
203   42240,  // Range #170: [42240, 42539, Vai]
204   42560,  // Range #171: [42560, 42655, Cyrillic]
205   42656,  // Range #172: [42656, 42743, Bamum]
206   42786,  // Range #173: [42786, 42887, Latin]
207   42891,  // Range #174: [42891, 42950, Latin]
208   42999,  // Range #175: [42999, 43007, Latin]
209   43008,  // Range #176: [43008, 43051, Syloti_Nagri]
210   43072,  // Range #177: [43072, 43127, Phags_Pa]
211   43136,  // Range #178: [43136, 43205, Saurashtra]
212   43214,  // Range #179: [43214, 43225, Saurashtra]
213   43232,  // Range #180: [43232, 43263, Devanagari]
214   43264,  // Range #181: [43264, 43309, Kayah_Li]
215   43311,  // Range #182: [43311, 43311, Kayah_Li]
216   43312,  // Range #183: [43312, 43347, Rejang]
217   43359,  // Range #184: [43359, 43359, Rejang]
218   43360,  // Range #185: [43360, 43388, Hangul]
219   43392,  // Range #186: [43392, 43469, Javanese]
220   43472,  // Range #187: [43472, 43487, Javanese]
221   43488,  // Range #188: [43488, 43518, Myanmar]
222   43520,  // Range #189: [43520, 43574, Cham]
223   43584,  // Range #190: [43584, 43615, Cham]
224   43616,  // Range #191: [43616, 43647, Myanmar]
225   43648,  // Range #192: [43648, 43714, Tai_Viet]
226   43739,  // Range #193: [43739, 43743, Tai_Viet]
227   43744,  // Range #194: [43744, 43766, Meetei_Mayek]
228   43777,  // Range #195: [43777, 43798, Ethiopic]
229   43808,  // Range #196: [43808, 43822, Ethiopic]
230   43824,  // Range #197: [43824, 43866, Latin]
231   43868,  // Range #198: [43868, 43876, Latin]
232   43877,  // Range #199: [43877, 43877, Greek]
233   43878,  // Range #200: [43878, 43879, Latin]
234   43888,  // Range #201: [43888, 43967, Cherokee]
235   43968,  // Range #202: [43968, 44025, Meetei_Mayek]
236   44032,  // Range #203: [44032, 55203, Hangul]
237   55216,  // Range #204: [55216, 55291, Hangul]
238   63744,  // Range #205: [63744, 64217, Han]
239   64256,  // Range #206: [64256, 64262, Latin]
240   64275,  // Range #207: [64275, 64279, Armenian]
241   64285,  // Range #208: [64285, 64335, Hebrew]
242   64336,  // Range #209: [64336, 64449, Arabic]
243   64467,  // Range #210: [64467, 64829, Arabic]
244   64848,  // Range #211: [64848, 64967, Arabic]
245   65008,  // Range #212: [65008, 65021, Arabic]
246   65070,  // Range #213: [65070, 65071, Cyrillic]
247   65136,  // Range #214: [65136, 65276, Arabic]
248   65313,  // Range #215: [65313, 65338, Latin]
249   65345,  // Range #216: [65345, 65370, Latin]
250   65382,  // Range #217: [65382, 65391, Katakana]
251   65393,  // Range #218: [65393, 65437, Katakana]
252   65440,  // Range #219: [65440, 65500, Hangul]
253   65536,  // Range #220: [65536, 65629, Linear_B]
254   65664,  // Range #221: [65664, 65786, Linear_B]
255   65856,  // Range #222: [65856, 65934, Greek]
256   65952,  // Range #223: [65952, 65952, Greek]
257   66176,  // Range #224: [66176, 66204, Lycian]
258   66208,  // Range #225: [66208, 66256, Carian]
259   66304,  // Range #226: [66304, 66339, Old_Italic]
260   66349,  // Range #227: [66349, 66351, Old_Italic]
261   66352,  // Range #228: [66352, 66378, Gothic]
262   66384,  // Range #229: [66384, 66426, Old_Permic]
263   66432,  // Range #230: [66432, 66463, Ugaritic]
264   66464,  // Range #231: [66464, 66517, Old_Persian]
265   66560,  // Range #232: [66560, 66639, Deseret]
266   66640,  // Range #233: [66640, 66687, Shavian]
267   66688,  // Range #234: [66688, 66729, Osmanya]
268   66736,  // Range #235: [66736, 66811, Osage]
269   66816,  // Range #236: [66816, 66855, Elbasan]
270   66864,  // Range #237: [66864, 66915, Caucasian_Albanian]
271   66927,  // Range #238: [66927, 66927, Caucasian_Albanian]
272   67072,  // Range #239: [67072, 67382, Linear_A]
273   67392,  // Range #240: [67392, 67413, Linear_A]
274   67424,  // Range #241: [67424, 67431, Linear_A]
275   67584,  // Range #242: [67584, 67647, Cypriot]
276   67648,  // Range #243: [67648, 67679, Imperial_Aramaic]
277   67680,  // Range #244: [67680, 67711, Palmyrene]
278   67712,  // Range #245: [67712, 67742, Nabataean]
279   67751,  // Range #246: [67751, 67759, Nabataean]
280   67808,  // Range #247: [67808, 67829, Hatran]
281   67835,  // Range #248: [67835, 67839, Hatran]
282   67840,  // Range #249: [67840, 67871, Phoenician]
283   67872,  // Range #250: [67872, 67897, Lydian]
284   67903,  // Range #251: [67903, 67903, Lydian]
285   67968,  // Range #252: [67968, 67999, Meroitic_Hieroglyphs]
286   68000,  // Range #253: [68000, 68095, Meroitic_Cursive]
287   68096,  // Range #254: [68096, 68102, Kharoshthi]
288   68108,  // Range #255: [68108, 68168, Kharoshthi]
289   68176,  // Range #256: [68176, 68184, Kharoshthi]
290   68192,  // Range #257: [68192, 68223, Old_South_Arabian]
291   68224,  // Range #258: [68224, 68255, Old_North_Arabian]
292   68288,  // Range #259: [68288, 68342, Manichaean]
293   68352,  // Range #260: [68352, 68415, Avestan]
294   68416,  // Range #261: [68416, 68447, Inscriptional_Parthian]
295   68448,  // Range #262: [68448, 68466, Inscriptional_Pahlavi]
296   68472,  // Range #263: [68472, 68479, Inscriptional_Pahlavi]
297   68480,  // Range #264: [68480, 68497, Psalter_Pahlavi]
298   68505,  // Range #265: [68505, 68508, Psalter_Pahlavi]
299   68521,  // Range #266: [68521, 68527, Psalter_Pahlavi]
300   68608,  // Range #267: [68608, 68680, Old_Turkic]
301   68736,  // Range #268: [68736, 68786, Old_Hungarian]
302   68800,  // Range #269: [68800, 68850, Old_Hungarian]
303   68858,  // Range #270: [68858, 68863, Old_Hungarian]
304   68864,  // Range #271: [68864, 68903, Hanifi_Rohingya]
305   68912,  // Range #272: [68912, 68921, Hanifi_Rohingya]
306   69216,  // Range #273: [69216, 69246, Arabic]
307   69376,  // Range #274: [69376, 69415, Old_Sogdian]
308   69424,  // Range #275: [69424, 69465, Sogdian]
309   69600,  // Range #276: [69600, 69622, Elymaic]
310   69632,  // Range #277: [69632, 69743, Brahmi]
311   69759,  // Range #278: [69759, 69759, Brahmi]
312   69760,  // Range #279: [69760, 69825, Kaithi]
313   69837,  // Range #280: [69837, 69837, Kaithi]
314   69840,  // Range #281: [69840, 69864, Sora_Sompeng]
315   69872,  // Range #282: [69872, 69881, Sora_Sompeng]
316   69888,  // Range #283: [69888, 69958, Chakma]
317   69968,  // Range #284: [69968, 70006, Mahajani]
318   70016,  // Range #285: [70016, 70111, Sharada]
319   70113,  // Range #286: [70113, 70132, Sinhala]
320   70144,  // Range #287: [70144, 70206, Khojki]
321   70272,  // Range #288: [70272, 70313, Multani]
322   70320,  // Range #289: [70320, 70378, Khudawadi]
323   70384,  // Range #290: [70384, 70393, Khudawadi]
324   70400,  // Range #291: [70400, 70457, Grantha]
325   70460,  // Range #292: [70460, 70480, Grantha]
326   70487,  // Range #293: [70487, 70487, Grantha]
327   70493,  // Range #294: [70493, 70516, Grantha]
328   70656,  // Range #295: [70656, 70751, Newa]
329   70784,  // Range #296: [70784, 70855, Tirhuta]
330   70864,  // Range #297: [70864, 70873, Tirhuta]
331   71040,  // Range #298: [71040, 71133, Siddham]
332   71168,  // Range #299: [71168, 71236, Modi]
333   71248,  // Range #300: [71248, 71257, Modi]
334   71264,  // Range #301: [71264, 71276, Mongolian]
335   71296,  // Range #302: [71296, 71352, Takri]
336   71360,  // Range #303: [71360, 71369, Takri]
337   71424,  // Range #304: [71424, 71487, Ahom]
338   71680,  // Range #305: [71680, 71739, Dogra]
339   71840,  // Range #306: [71840, 71922, Warang_Citi]
340   71935,  // Range #307: [71935, 71935, Warang_Citi]
341   72096,  // Range #308: [72096, 72164, Nandinagari]
342   72192,  // Range #309: [72192, 72263, Zanabazar_Square]
343   72272,  // Range #310: [72272, 72354, Soyombo]
344   72384,  // Range #311: [72384, 72440, Pau_Cin_Hau]
345   72704,  // Range #312: [72704, 72773, Bhaiksuki]
346   72784,  // Range #313: [72784, 72812, Bhaiksuki]
347   72816,  // Range #314: [72816, 72886, Marchen]
348   72960,  // Range #315: [72960, 73031, Masaram_Gondi]
349   73040,  // Range #316: [73040, 73049, Masaram_Gondi]
350   73056,  // Range #317: [73056, 73112, Gunjala_Gondi]
351   73120,  // Range #318: [73120, 73129, Gunjala_Gondi]
352   73440,  // Range #319: [73440, 73464, Makasar]
353   73664,  // Range #320: [73664, 73713, Tamil]
354   73727,  // Range #321: [73727, 73727, Tamil]
355   73728,  // Range #322: [73728, 74649, Cuneiform]
356   74752,  // Range #323: [74752, 74868, Cuneiform]
357   74880,  // Range #324: [74880, 75075, Cuneiform]
358   77824,  // Range #325: [77824, 78904, Egyptian_Hieroglyphs]
359   82944,  // Range #326: [82944, 83526, Anatolian_Hieroglyphs]
360   92160,  // Range #327: [92160, 92728, Bamum]
361   92736,  // Range #328: [92736, 92783, Mro]
362   92880,  // Range #329: [92880, 92917, Bassa_Vah]
363   92928,  // Range #330: [92928, 92997, Pahawh_Hmong]
364   93008,  // Range #331: [93008, 93047, Pahawh_Hmong]
365   93053,  // Range #332: [93053, 93071, Pahawh_Hmong]
366   93760,  // Range #333: [93760, 93850, Medefaidrin]
367   93952,  // Range #334: [93952, 94087, Miao]
368   94095,  // Range #335: [94095, 94111, Miao]
369   94176,  // Range #336: [94176, 94176, Tangut]
370   94177,  // Range #337: [94177, 94177, Nushu]
371   94208,  // Range #338: [94208, 100343, Tangut]
372   100352,  // Range #339: [100352, 101106, Tangut]
373   110592,  // Range #340: [110592, 110592, Katakana]
374   110593,  // Range #341: [110593, 110878, Hiragana]
375   110928,  // Range #342: [110928, 110930, Hiragana]
376   110948,  // Range #343: [110948, 110951, Katakana]
377   110960,  // Range #344: [110960, 111355, Nushu]
378   113664,  // Range #345: [113664, 113770, Duployan]
379   113776,  // Range #346: [113776, 113800, Duployan]
380   113808,  // Range #347: [113808, 113823, Duployan]
381   119296,  // Range #348: [119296, 119365, Greek]
382   120832,  // Range #349: [120832, 121483, SignWriting]
383   121499,  // Range #350: [121499, 121519, SignWriting]
384   122880,  // Range #351: [122880, 122922, Glagolitic]
385   123136,  // Range #352: [123136, 123215, Nyiakeng_Puachue_Hmong]
386   123584,  // Range #353: [123584, 123641, Wancho]
387   123647,  // Range #354: [123647, 123647, Wancho]
388   124928,  // Range #355: [124928, 125142, Mende_Kikakui]
389   125184,  // Range #356: [125184, 125279, Adlam]
390   126464,  // Range #357: [126464, 126523, Arabic]
391   126530,  // Range #358: [126530, 126619, Arabic]
392   126625,  // Range #359: [126625, 126651, Arabic]
393   126704,  // Range #360: [126704, 126705, Arabic]
394   127488,  // Range #361: [127488, 127488, Hiragana]
395   131072,  // Range #362: [131072, 173782, Han]
396   173824,  // Range #363: [173824, 177972, Han]
397   177984,  // Range #364: [177984, 183969, Han]
398   183984,  // Range #365: [183984, 191456, Han]
399   194560,  // Range #366: [194560, 195101, Han]
400 };
401 
402 const uint16 kRangeSizeMinusOne[] = {
403   25,  // Range #0: [65, 90, Latin]
404   25,  // Range #1: [97, 122, Latin]
405   0,  // Range #2: [170, 170, Latin]
406   0,  // Range #3: [186, 186, Latin]
407   22,  // Range #4: [192, 214, Latin]
408   30,  // Range #5: [216, 246, Latin]
409   448,  // Range #6: [248, 696, Latin]
410   4,  // Range #7: [736, 740, Latin]
411   1,  // Range #8: [746, 747, Bopomofo]
412   3,  // Range #9: [880, 883, Greek]
413   8,  // Range #10: [885, 893, Greek]
414   5,  // Range #11: [895, 900, Greek]
415   0,  // Range #12: [902, 902, Greek]
416   89,  // Range #13: [904, 993, Greek]
417   13,  // Range #14: [994, 1007, Coptic]
418   15,  // Range #15: [1008, 1023, Greek]
419   132,  // Range #16: [1024, 1156, Cyrillic]
420   168,  // Range #17: [1159, 1327, Cyrillic]
421   87,  // Range #18: [1329, 1416, Armenian]
422   5,  // Range #19: [1418, 1423, Armenian]
423   54,  // Range #20: [1425, 1479, Hebrew]
424   36,  // Range #21: [1488, 1524, Hebrew]
425   4,  // Range #22: [1536, 1540, Arabic]
426   5,  // Range #23: [1542, 1547, Arabic]
427   13,  // Range #24: [1549, 1562, Arabic]
428   2,  // Range #25: [1564, 1566, Arabic]
429   31,  // Range #26: [1568, 1599, Arabic]
430   9,  // Range #27: [1601, 1610, Arabic]
431   25,  // Range #28: [1622, 1647, Arabic]
432   107,  // Range #29: [1649, 1756, Arabic]
433   33,  // Range #30: [1758, 1791, Arabic]
434   79,  // Range #31: [1792, 1871, Syriac]
435   47,  // Range #32: [1872, 1919, Arabic]
436   49,  // Range #33: [1920, 1969, Thaana]
437   63,  // Range #34: [1984, 2047, Nko]
438   62,  // Range #35: [2048, 2110, Samaritan]
439   30,  // Range #36: [2112, 2142, Mandaic]
440   10,  // Range #37: [2144, 2154, Syriac]
441   29,  // Range #38: [2208, 2237, Arabic]
442   14,  // Range #39: [2259, 2273, Arabic]
443   28,  // Range #40: [2275, 2303, Arabic]
444   80,  // Range #41: [2304, 2384, Devanagari]
445   14,  // Range #42: [2389, 2403, Devanagari]
446   25,  // Range #43: [2406, 2431, Devanagari]
447   78,  // Range #44: [2432, 2510, Bengali]
448   39,  // Range #45: [2519, 2558, Bengali]
449   80,  // Range #46: [2561, 2641, Gurmukhi]
450   5,  // Range #47: [2649, 2654, Gurmukhi]
451   16,  // Range #48: [2662, 2678, Gurmukhi]
452   79,  // Range #49: [2689, 2768, Gujarati]
453   17,  // Range #50: [2784, 2801, Gujarati]
454   6,  // Range #51: [2809, 2815, Gujarati]
455   76,  // Range #52: [2817, 2893, Oriya]
456   33,  // Range #53: [2902, 2935, Oriya]
457   78,  // Range #54: [2946, 3024, Tamil]
458   0,  // Range #55: [3031, 3031, Tamil]
459   20,  // Range #56: [3046, 3066, Tamil]
460   77,  // Range #57: [3072, 3149, Telugu]
461   5,  // Range #58: [3157, 3162, Telugu]
462   15,  // Range #59: [3168, 3183, Telugu]
463   8,  // Range #60: [3191, 3199, Telugu]
464   77,  // Range #61: [3200, 3277, Kannada]
465   1,  // Range #62: [3285, 3286, Kannada]
466   20,  // Range #63: [3294, 3314, Kannada]
467   127,  // Range #64: [3328, 3455, Malayalam]
468   93,  // Range #65: [3458, 3551, Sinhala]
469   14,  // Range #66: [3558, 3572, Sinhala]
470   57,  // Range #67: [3585, 3642, Thai]
471   27,  // Range #68: [3648, 3675, Thai]
472   94,  // Range #69: [3713, 3807, Lao]
473   212,  // Range #70: [3840, 4052, Tibetan]
474   1,  // Range #71: [4057, 4058, Tibetan]
475   159,  // Range #72: [4096, 4255, Myanmar]
476   39,  // Range #73: [4256, 4295, Georgian]
477   45,  // Range #74: [4301, 4346, Georgian]
478   3,  // Range #75: [4348, 4351, Georgian]
479   255,  // Range #76: [4352, 4607, Hangul]
480   409,  // Range #77: [4608, 5017, Ethiopic]
481   93,  // Range #78: [5024, 5117, Cherokee]
482   639,  // Range #79: [5120, 5759, Canadian_Aboriginal]
483   28,  // Range #80: [5760, 5788, Ogham]
484   74,  // Range #81: [5792, 5866, Runic]
485   10,  // Range #82: [5870, 5880, Runic]
486   20,  // Range #83: [5888, 5908, Tagalog]
487   20,  // Range #84: [5920, 5940, Hanunoo]
488   19,  // Range #85: [5952, 5971, Buhid]
489   19,  // Range #86: [5984, 6003, Tagbanwa]
490   105,  // Range #87: [6016, 6121, Khmer]
491   9,  // Range #88: [6128, 6137, Khmer]
492   1,  // Range #89: [6144, 6145, Mongolian]
493   0,  // Range #90: [6148, 6148, Mongolian]
494   19,  // Range #91: [6150, 6169, Mongolian]
495   88,  // Range #92: [6176, 6264, Mongolian]
496   42,  // Range #93: [6272, 6314, Mongolian]
497   69,  // Range #94: [6320, 6389, Canadian_Aboriginal]
498   79,  // Range #95: [6400, 6479, Limbu]
499   36,  // Range #96: [6480, 6516, Tai_Le]
500   73,  // Range #97: [6528, 6601, New_Tai_Lue]
501   15,  // Range #98: [6608, 6623, New_Tai_Lue]
502   31,  // Range #99: [6624, 6655, Khmer]
503   31,  // Range #100: [6656, 6687, Buginese]
504   105,  // Range #101: [6688, 6793, Tai_Tham]
505   9,  // Range #102: [6800, 6809, Tai_Tham]
506   13,  // Range #103: [6816, 6829, Tai_Tham]
507   124,  // Range #104: [6912, 7036, Balinese]
508   63,  // Range #105: [7040, 7103, Sundanese]
509   51,  // Range #106: [7104, 7155, Batak]
510   3,  // Range #107: [7164, 7167, Batak]
511   79,  // Range #108: [7168, 7247, Lepcha]
512   47,  // Range #109: [7248, 7295, Ol_Chiki]
513   8,  // Range #110: [7296, 7304, Cyrillic]
514   47,  // Range #111: [7312, 7359, Georgian]
515   7,  // Range #112: [7360, 7367, Sundanese]
516   37,  // Range #113: [7424, 7461, Latin]
517   4,  // Range #114: [7462, 7466, Greek]
518   0,  // Range #115: [7467, 7467, Cyrillic]
519   48,  // Range #116: [7468, 7516, Latin]
520   4,  // Range #117: [7517, 7521, Greek]
521   3,  // Range #118: [7522, 7525, Latin]
522   4,  // Range #119: [7526, 7530, Greek]
523   12,  // Range #120: [7531, 7543, Latin]
524   0,  // Range #121: [7544, 7544, Cyrillic]
525   69,  // Range #122: [7545, 7614, Latin]
526   0,  // Range #123: [7615, 7615, Greek]
527   255,  // Range #124: [7680, 7935, Latin]
528   254,  // Range #125: [7936, 8190, Greek]
529   0,  // Range #126: [8305, 8305, Latin]
530   0,  // Range #127: [8319, 8319, Latin]
531   12,  // Range #128: [8336, 8348, Latin]
532   0,  // Range #129: [8486, 8486, Greek]
533   1,  // Range #130: [8490, 8491, Latin]
534   0,  // Range #131: [8498, 8498, Latin]
535   0,  // Range #132: [8526, 8526, Latin]
536   40,  // Range #133: [8544, 8584, Latin]
537   255,  // Range #134: [10240, 10495, Braille]
538   94,  // Range #135: [11264, 11358, Glagolitic]
539   31,  // Range #136: [11360, 11391, Latin]
540   115,  // Range #137: [11392, 11507, Coptic]
541   6,  // Range #138: [11513, 11519, Coptic]
542   39,  // Range #139: [11520, 11559, Georgian]
543   0,  // Range #140: [11565, 11565, Georgian]
544   55,  // Range #141: [11568, 11623, Tifinagh]
545   1,  // Range #142: [11631, 11632, Tifinagh]
546   0,  // Range #143: [11647, 11647, Tifinagh]
547   22,  // Range #144: [11648, 11670, Ethiopic]
548   62,  // Range #145: [11680, 11742, Ethiopic]
549   31,  // Range #146: [11744, 11775, Cyrillic]
550   115,  // Range #147: [11904, 12019, Han]
551   213,  // Range #148: [12032, 12245, Han]
552   0,  // Range #149: [12293, 12293, Han]
553   0,  // Range #150: [12295, 12295, Han]
554   8,  // Range #151: [12321, 12329, Han]
555   1,  // Range #152: [12334, 12335, Hangul]
556   3,  // Range #153: [12344, 12347, Han]
557   85,  // Range #154: [12353, 12438, Hiragana]
558   2,  // Range #155: [12445, 12447, Hiragana]
559   89,  // Range #156: [12449, 12538, Katakana]
560   2,  // Range #157: [12541, 12543, Katakana]
561   42,  // Range #158: [12549, 12591, Bopomofo]
562   93,  // Range #159: [12593, 12686, Hangul]
563   26,  // Range #160: [12704, 12730, Bopomofo]
564   15,  // Range #161: [12784, 12799, Katakana]
565   30,  // Range #162: [12800, 12830, Hangul]
566   30,  // Range #163: [12896, 12926, Hangul]
567   46,  // Range #164: [13008, 13054, Katakana]
568   87,  // Range #165: [13056, 13143, Katakana]
569   6581,  // Range #166: [13312, 19893, Han]
570   20975,  // Range #167: [19968, 40943, Han]
571   1222,  // Range #168: [40960, 42182, Yi]
572   47,  // Range #169: [42192, 42239, Lisu]
573   299,  // Range #170: [42240, 42539, Vai]
574   95,  // Range #171: [42560, 42655, Cyrillic]
575   87,  // Range #172: [42656, 42743, Bamum]
576   101,  // Range #173: [42786, 42887, Latin]
577   59,  // Range #174: [42891, 42950, Latin]
578   8,  // Range #175: [42999, 43007, Latin]
579   43,  // Range #176: [43008, 43051, Syloti_Nagri]
580   55,  // Range #177: [43072, 43127, Phags_Pa]
581   69,  // Range #178: [43136, 43205, Saurashtra]
582   11,  // Range #179: [43214, 43225, Saurashtra]
583   31,  // Range #180: [43232, 43263, Devanagari]
584   45,  // Range #181: [43264, 43309, Kayah_Li]
585   0,  // Range #182: [43311, 43311, Kayah_Li]
586   35,  // Range #183: [43312, 43347, Rejang]
587   0,  // Range #184: [43359, 43359, Rejang]
588   28,  // Range #185: [43360, 43388, Hangul]
589   77,  // Range #186: [43392, 43469, Javanese]
590   15,  // Range #187: [43472, 43487, Javanese]
591   30,  // Range #188: [43488, 43518, Myanmar]
592   54,  // Range #189: [43520, 43574, Cham]
593   31,  // Range #190: [43584, 43615, Cham]
594   31,  // Range #191: [43616, 43647, Myanmar]
595   66,  // Range #192: [43648, 43714, Tai_Viet]
596   4,  // Range #193: [43739, 43743, Tai_Viet]
597   22,  // Range #194: [43744, 43766, Meetei_Mayek]
598   21,  // Range #195: [43777, 43798, Ethiopic]
599   14,  // Range #196: [43808, 43822, Ethiopic]
600   42,  // Range #197: [43824, 43866, Latin]
601   8,  // Range #198: [43868, 43876, Latin]
602   0,  // Range #199: [43877, 43877, Greek]
603   1,  // Range #200: [43878, 43879, Latin]
604   79,  // Range #201: [43888, 43967, Cherokee]
605   57,  // Range #202: [43968, 44025, Meetei_Mayek]
606   11171,  // Range #203: [44032, 55203, Hangul]
607   75,  // Range #204: [55216, 55291, Hangul]
608   473,  // Range #205: [63744, 64217, Han]
609   6,  // Range #206: [64256, 64262, Latin]
610   4,  // Range #207: [64275, 64279, Armenian]
611   50,  // Range #208: [64285, 64335, Hebrew]
612   113,  // Range #209: [64336, 64449, Arabic]
613   362,  // Range #210: [64467, 64829, Arabic]
614   119,  // Range #211: [64848, 64967, Arabic]
615   13,  // Range #212: [65008, 65021, Arabic]
616   1,  // Range #213: [65070, 65071, Cyrillic]
617   140,  // Range #214: [65136, 65276, Arabic]
618   25,  // Range #215: [65313, 65338, Latin]
619   25,  // Range #216: [65345, 65370, Latin]
620   9,  // Range #217: [65382, 65391, Katakana]
621   44,  // Range #218: [65393, 65437, Katakana]
622   60,  // Range #219: [65440, 65500, Hangul]
623   93,  // Range #220: [65536, 65629, Linear_B]
624   122,  // Range #221: [65664, 65786, Linear_B]
625   78,  // Range #222: [65856, 65934, Greek]
626   0,  // Range #223: [65952, 65952, Greek]
627   28,  // Range #224: [66176, 66204, Lycian]
628   48,  // Range #225: [66208, 66256, Carian]
629   35,  // Range #226: [66304, 66339, Old_Italic]
630   2,  // Range #227: [66349, 66351, Old_Italic]
631   26,  // Range #228: [66352, 66378, Gothic]
632   42,  // Range #229: [66384, 66426, Old_Permic]
633   31,  // Range #230: [66432, 66463, Ugaritic]
634   53,  // Range #231: [66464, 66517, Old_Persian]
635   79,  // Range #232: [66560, 66639, Deseret]
636   47,  // Range #233: [66640, 66687, Shavian]
637   41,  // Range #234: [66688, 66729, Osmanya]
638   75,  // Range #235: [66736, 66811, Osage]
639   39,  // Range #236: [66816, 66855, Elbasan]
640   51,  // Range #237: [66864, 66915, Caucasian_Albanian]
641   0,  // Range #238: [66927, 66927, Caucasian_Albanian]
642   310,  // Range #239: [67072, 67382, Linear_A]
643   21,  // Range #240: [67392, 67413, Linear_A]
644   7,  // Range #241: [67424, 67431, Linear_A]
645   63,  // Range #242: [67584, 67647, Cypriot]
646   31,  // Range #243: [67648, 67679, Imperial_Aramaic]
647   31,  // Range #244: [67680, 67711, Palmyrene]
648   30,  // Range #245: [67712, 67742, Nabataean]
649   8,  // Range #246: [67751, 67759, Nabataean]
650   21,  // Range #247: [67808, 67829, Hatran]
651   4,  // Range #248: [67835, 67839, Hatran]
652   31,  // Range #249: [67840, 67871, Phoenician]
653   25,  // Range #250: [67872, 67897, Lydian]
654   0,  // Range #251: [67903, 67903, Lydian]
655   31,  // Range #252: [67968, 67999, Meroitic_Hieroglyphs]
656   95,  // Range #253: [68000, 68095, Meroitic_Cursive]
657   6,  // Range #254: [68096, 68102, Kharoshthi]
658   60,  // Range #255: [68108, 68168, Kharoshthi]
659   8,  // Range #256: [68176, 68184, Kharoshthi]
660   31,  // Range #257: [68192, 68223, Old_South_Arabian]
661   31,  // Range #258: [68224, 68255, Old_North_Arabian]
662   54,  // Range #259: [68288, 68342, Manichaean]
663   63,  // Range #260: [68352, 68415, Avestan]
664   31,  // Range #261: [68416, 68447, Inscriptional_Parthian]
665   18,  // Range #262: [68448, 68466, Inscriptional_Pahlavi]
666   7,  // Range #263: [68472, 68479, Inscriptional_Pahlavi]
667   17,  // Range #264: [68480, 68497, Psalter_Pahlavi]
668   3,  // Range #265: [68505, 68508, Psalter_Pahlavi]
669   6,  // Range #266: [68521, 68527, Psalter_Pahlavi]
670   72,  // Range #267: [68608, 68680, Old_Turkic]
671   50,  // Range #268: [68736, 68786, Old_Hungarian]
672   50,  // Range #269: [68800, 68850, Old_Hungarian]
673   5,  // Range #270: [68858, 68863, Old_Hungarian]
674   39,  // Range #271: [68864, 68903, Hanifi_Rohingya]
675   9,  // Range #272: [68912, 68921, Hanifi_Rohingya]
676   30,  // Range #273: [69216, 69246, Arabic]
677   39,  // Range #274: [69376, 69415, Old_Sogdian]
678   41,  // Range #275: [69424, 69465, Sogdian]
679   22,  // Range #276: [69600, 69622, Elymaic]
680   111,  // Range #277: [69632, 69743, Brahmi]
681   0,  // Range #278: [69759, 69759, Brahmi]
682   65,  // Range #279: [69760, 69825, Kaithi]
683   0,  // Range #280: [69837, 69837, Kaithi]
684   24,  // Range #281: [69840, 69864, Sora_Sompeng]
685   9,  // Range #282: [69872, 69881, Sora_Sompeng]
686   70,  // Range #283: [69888, 69958, Chakma]
687   38,  // Range #284: [69968, 70006, Mahajani]
688   95,  // Range #285: [70016, 70111, Sharada]
689   19,  // Range #286: [70113, 70132, Sinhala]
690   62,  // Range #287: [70144, 70206, Khojki]
691   41,  // Range #288: [70272, 70313, Multani]
692   58,  // Range #289: [70320, 70378, Khudawadi]
693   9,  // Range #290: [70384, 70393, Khudawadi]
694   57,  // Range #291: [70400, 70457, Grantha]
695   20,  // Range #292: [70460, 70480, Grantha]
696   0,  // Range #293: [70487, 70487, Grantha]
697   23,  // Range #294: [70493, 70516, Grantha]
698   95,  // Range #295: [70656, 70751, Newa]
699   71,  // Range #296: [70784, 70855, Tirhuta]
700   9,  // Range #297: [70864, 70873, Tirhuta]
701   93,  // Range #298: [71040, 71133, Siddham]
702   68,  // Range #299: [71168, 71236, Modi]
703   9,  // Range #300: [71248, 71257, Modi]
704   12,  // Range #301: [71264, 71276, Mongolian]
705   56,  // Range #302: [71296, 71352, Takri]
706   9,  // Range #303: [71360, 71369, Takri]
707   63,  // Range #304: [71424, 71487, Ahom]
708   59,  // Range #305: [71680, 71739, Dogra]
709   82,  // Range #306: [71840, 71922, Warang_Citi]
710   0,  // Range #307: [71935, 71935, Warang_Citi]
711   68,  // Range #308: [72096, 72164, Nandinagari]
712   71,  // Range #309: [72192, 72263, Zanabazar_Square]
713   82,  // Range #310: [72272, 72354, Soyombo]
714   56,  // Range #311: [72384, 72440, Pau_Cin_Hau]
715   69,  // Range #312: [72704, 72773, Bhaiksuki]
716   28,  // Range #313: [72784, 72812, Bhaiksuki]
717   70,  // Range #314: [72816, 72886, Marchen]
718   71,  // Range #315: [72960, 73031, Masaram_Gondi]
719   9,  // Range #316: [73040, 73049, Masaram_Gondi]
720   56,  // Range #317: [73056, 73112, Gunjala_Gondi]
721   9,  // Range #318: [73120, 73129, Gunjala_Gondi]
722   24,  // Range #319: [73440, 73464, Makasar]
723   49,  // Range #320: [73664, 73713, Tamil]
724   0,  // Range #321: [73727, 73727, Tamil]
725   921,  // Range #322: [73728, 74649, Cuneiform]
726   116,  // Range #323: [74752, 74868, Cuneiform]
727   195,  // Range #324: [74880, 75075, Cuneiform]
728   1080,  // Range #325: [77824, 78904, Egyptian_Hieroglyphs]
729   582,  // Range #326: [82944, 83526, Anatolian_Hieroglyphs]
730   568,  // Range #327: [92160, 92728, Bamum]
731   47,  // Range #328: [92736, 92783, Mro]
732   37,  // Range #329: [92880, 92917, Bassa_Vah]
733   69,  // Range #330: [92928, 92997, Pahawh_Hmong]
734   39,  // Range #331: [93008, 93047, Pahawh_Hmong]
735   18,  // Range #332: [93053, 93071, Pahawh_Hmong]
736   90,  // Range #333: [93760, 93850, Medefaidrin]
737   135,  // Range #334: [93952, 94087, Miao]
738   16,  // Range #335: [94095, 94111, Miao]
739   0,  // Range #336: [94176, 94176, Tangut]
740   0,  // Range #337: [94177, 94177, Nushu]
741   6135,  // Range #338: [94208, 100343, Tangut]
742   754,  // Range #339: [100352, 101106, Tangut]
743   0,  // Range #340: [110592, 110592, Katakana]
744   285,  // Range #341: [110593, 110878, Hiragana]
745   2,  // Range #342: [110928, 110930, Hiragana]
746   3,  // Range #343: [110948, 110951, Katakana]
747   395,  // Range #344: [110960, 111355, Nushu]
748   106,  // Range #345: [113664, 113770, Duployan]
749   24,  // Range #346: [113776, 113800, Duployan]
750   15,  // Range #347: [113808, 113823, Duployan]
751   69,  // Range #348: [119296, 119365, Greek]
752   651,  // Range #349: [120832, 121483, SignWriting]
753   20,  // Range #350: [121499, 121519, SignWriting]
754   42,  // Range #351: [122880, 122922, Glagolitic]
755   79,  // Range #352: [123136, 123215, Nyiakeng_Puachue_Hmong]
756   57,  // Range #353: [123584, 123641, Wancho]
757   0,  // Range #354: [123647, 123647, Wancho]
758   214,  // Range #355: [124928, 125142, Mende_Kikakui]
759   95,  // Range #356: [125184, 125279, Adlam]
760   59,  // Range #357: [126464, 126523, Arabic]
761   89,  // Range #358: [126530, 126619, Arabic]
762   26,  // Range #359: [126625, 126651, Arabic]
763   1,  // Range #360: [126704, 126705, Arabic]
764   0,  // Range #361: [127488, 127488, Hiragana]
765   42710,  // Range #362: [131072, 173782, Han]
766   4148,  // Range #363: [173824, 177972, Han]
767   5985,  // Range #364: [177984, 183969, Han]
768   7472,  // Range #365: [183984, 191456, Han]
769   541,  // Range #366: [194560, 195101, Han]
770 };
771 
772 const uint8 kRangeScript[] = {
773   25,  // Range #0: [65, 90, Latin]
774   25,  // Range #1: [97, 122, Latin]
775   25,  // Range #2: [170, 170, Latin]
776   25,  // Range #3: [186, 186, Latin]
777   25,  // Range #4: [192, 214, Latin]
778   25,  // Range #5: [216, 246, Latin]
779   25,  // Range #6: [248, 696, Latin]
780   25,  // Range #7: [736, 740, Latin]
781   5,  // Range #8: [746, 747, Bopomofo]
782   14,  // Range #9: [880, 883, Greek]
783   14,  // Range #10: [885, 893, Greek]
784   14,  // Range #11: [895, 900, Greek]
785   14,  // Range #12: [902, 902, Greek]
786   14,  // Range #13: [904, 993, Greek]
787   7,  // Range #14: [994, 1007, Coptic]
788   14,  // Range #15: [1008, 1023, Greek]
789   8,  // Range #16: [1024, 1156, Cyrillic]
790   8,  // Range #17: [1159, 1327, Cyrillic]
791   3,  // Range #18: [1329, 1416, Armenian]
792   3,  // Range #19: [1418, 1423, Armenian]
793   19,  // Range #20: [1425, 1479, Hebrew]
794   19,  // Range #21: [1488, 1524, Hebrew]
795   2,  // Range #22: [1536, 1540, Arabic]
796   2,  // Range #23: [1542, 1547, Arabic]
797   2,  // Range #24: [1549, 1562, Arabic]
798   2,  // Range #25: [1564, 1566, Arabic]
799   2,  // Range #26: [1568, 1599, Arabic]
800   2,  // Range #27: [1601, 1610, Arabic]
801   2,  // Range #28: [1622, 1647, Arabic]
802   2,  // Range #29: [1649, 1756, Arabic]
803   2,  // Range #30: [1758, 1791, Arabic]
804   34,  // Range #31: [1792, 1871, Syriac]
805   2,  // Range #32: [1872, 1919, Arabic]
806   37,  // Range #33: [1920, 1969, Thaana]
807   87,  // Range #34: [1984, 2047, Nko]
808   126,  // Range #35: [2048, 2110, Samaritan]
809   84,  // Range #36: [2112, 2142, Mandaic]
810   34,  // Range #37: [2144, 2154, Syriac]
811   2,  // Range #38: [2208, 2237, Arabic]
812   2,  // Range #39: [2259, 2273, Arabic]
813   2,  // Range #40: [2275, 2303, Arabic]
814   10,  // Range #41: [2304, 2384, Devanagari]
815   10,  // Range #42: [2389, 2403, Devanagari]
816   10,  // Range #43: [2406, 2431, Devanagari]
817   4,  // Range #44: [2432, 2510, Bengali]
818   4,  // Range #45: [2519, 2558, Bengali]
819   16,  // Range #46: [2561, 2641, Gurmukhi]
820   16,  // Range #47: [2649, 2654, Gurmukhi]
821   16,  // Range #48: [2662, 2678, Gurmukhi]
822   15,  // Range #49: [2689, 2768, Gujarati]
823   15,  // Range #50: [2784, 2801, Gujarati]
824   15,  // Range #51: [2809, 2815, Gujarati]
825   31,  // Range #52: [2817, 2893, Oriya]
826   31,  // Range #53: [2902, 2935, Oriya]
827   35,  // Range #54: [2946, 3024, Tamil]
828   35,  // Range #55: [3031, 3031, Tamil]
829   35,  // Range #56: [3046, 3066, Tamil]
830   36,  // Range #57: [3072, 3149, Telugu]
831   36,  // Range #58: [3157, 3162, Telugu]
832   36,  // Range #59: [3168, 3183, Telugu]
833   36,  // Range #60: [3191, 3199, Telugu]
834   21,  // Range #61: [3200, 3277, Kannada]
835   21,  // Range #62: [3285, 3286, Kannada]
836   21,  // Range #63: [3294, 3314, Kannada]
837   26,  // Range #64: [3328, 3455, Malayalam]
838   33,  // Range #65: [3458, 3551, Sinhala]
839   33,  // Range #66: [3558, 3572, Sinhala]
840   38,  // Range #67: [3585, 3642, Thai]
841   38,  // Range #68: [3648, 3675, Thai]
842   24,  // Range #69: [3713, 3807, Lao]
843   39,  // Range #70: [3840, 4052, Tibetan]
844   39,  // Range #71: [4057, 4058, Tibetan]
845   28,  // Range #72: [4096, 4255, Myanmar]
846   12,  // Range #73: [4256, 4295, Georgian]
847   12,  // Range #74: [4301, 4346, Georgian]
848   12,  // Range #75: [4348, 4351, Georgian]
849   18,  // Range #76: [4352, 4607, Hangul]
850   11,  // Range #77: [4608, 5017, Ethiopic]
851   6,  // Range #78: [5024, 5117, Cherokee]
852   40,  // Range #79: [5120, 5759, Canadian_Aboriginal]
853   29,  // Range #80: [5760, 5788, Ogham]
854   32,  // Range #81: [5792, 5866, Runic]
855   32,  // Range #82: [5870, 5880, Runic]
856   42,  // Range #83: [5888, 5908, Tagalog]
857   43,  // Range #84: [5920, 5940, Hanunoo]
858   44,  // Range #85: [5952, 5971, Buhid]
859   45,  // Range #86: [5984, 6003, Tagbanwa]
860   23,  // Range #87: [6016, 6121, Khmer]
861   23,  // Range #88: [6128, 6137, Khmer]
862   27,  // Range #89: [6144, 6145, Mongolian]
863   27,  // Range #90: [6148, 6148, Mongolian]
864   27,  // Range #91: [6150, 6169, Mongolian]
865   27,  // Range #92: [6176, 6264, Mongolian]
866   27,  // Range #93: [6272, 6314, Mongolian]
867   40,  // Range #94: [6320, 6389, Canadian_Aboriginal]
868   48,  // Range #95: [6400, 6479, Limbu]
869   52,  // Range #96: [6480, 6516, Tai_Le]
870   59,  // Range #97: [6528, 6601, New_Tai_Lue]
871   59,  // Range #98: [6608, 6623, New_Tai_Lue]
872   23,  // Range #99: [6624, 6655, Khmer]
873   55,  // Range #100: [6656, 6687, Buginese]
874   106,  // Range #101: [6688, 6793, Tai_Tham]
875   106,  // Range #102: [6800, 6809, Tai_Tham]
876   106,  // Range #103: [6816, 6829, Tai_Tham]
877   62,  // Range #104: [6912, 7036, Balinese]
878   113,  // Range #105: [7040, 7103, Sundanese]
879   63,  // Range #106: [7104, 7155, Batak]
880   63,  // Range #107: [7164, 7167, Batak]
881   82,  // Range #108: [7168, 7247, Lepcha]
882   109,  // Range #109: [7248, 7295, Ol_Chiki]
883   8,  // Range #110: [7296, 7304, Cyrillic]
884   12,  // Range #111: [7312, 7359, Georgian]
885   113,  // Range #112: [7360, 7367, Sundanese]
886   25,  // Range #113: [7424, 7461, Latin]
887   14,  // Range #114: [7462, 7466, Greek]
888   8,  // Range #115: [7467, 7467, Cyrillic]
889   25,  // Range #116: [7468, 7516, Latin]
890   14,  // Range #117: [7517, 7521, Greek]
891   25,  // Range #118: [7522, 7525, Latin]
892   14,  // Range #119: [7526, 7530, Greek]
893   25,  // Range #120: [7531, 7543, Latin]
894   8,  // Range #121: [7544, 7544, Cyrillic]
895   25,  // Range #122: [7545, 7614, Latin]
896   14,  // Range #123: [7615, 7615, Greek]
897   25,  // Range #124: [7680, 7935, Latin]
898   14,  // Range #125: [7936, 8190, Greek]
899   25,  // Range #126: [8305, 8305, Latin]
900   25,  // Range #127: [8319, 8319, Latin]
901   25,  // Range #128: [8336, 8348, Latin]
902   14,  // Range #129: [8486, 8486, Greek]
903   25,  // Range #130: [8490, 8491, Latin]
904   25,  // Range #131: [8498, 8498, Latin]
905   25,  // Range #132: [8526, 8526, Latin]
906   25,  // Range #133: [8544, 8584, Latin]
907   46,  // Range #134: [10240, 10495, Braille]
908   56,  // Range #135: [11264, 11358, Glagolitic]
909   25,  // Range #136: [11360, 11391, Latin]
910   7,  // Range #137: [11392, 11507, Coptic]
911   7,  // Range #138: [11513, 11519, Coptic]
912   12,  // Range #139: [11520, 11559, Georgian]
913   12,  // Range #140: [11565, 11565, Georgian]
914   60,  // Range #141: [11568, 11623, Tifinagh]
915   60,  // Range #142: [11631, 11632, Tifinagh]
916   60,  // Range #143: [11647, 11647, Tifinagh]
917   11,  // Range #144: [11648, 11670, Ethiopic]
918   11,  // Range #145: [11680, 11742, Ethiopic]
919   8,  // Range #146: [11744, 11775, Cyrillic]
920   17,  // Range #147: [11904, 12019, Han]
921   17,  // Range #148: [12032, 12245, Han]
922   17,  // Range #149: [12293, 12293, Han]
923   17,  // Range #150: [12295, 12295, Han]
924   17,  // Range #151: [12321, 12329, Han]
925   18,  // Range #152: [12334, 12335, Hangul]
926   17,  // Range #153: [12344, 12347, Han]
927   20,  // Range #154: [12353, 12438, Hiragana]
928   20,  // Range #155: [12445, 12447, Hiragana]
929   22,  // Range #156: [12449, 12538, Katakana]
930   22,  // Range #157: [12541, 12543, Katakana]
931   5,  // Range #158: [12549, 12591, Bopomofo]
932   18,  // Range #159: [12593, 12686, Hangul]
933   5,  // Range #160: [12704, 12730, Bopomofo]
934   22,  // Range #161: [12784, 12799, Katakana]
935   18,  // Range #162: [12800, 12830, Hangul]
936   18,  // Range #163: [12896, 12926, Hangul]
937   22,  // Range #164: [13008, 13054, Katakana]
938   22,  // Range #165: [13056, 13143, Katakana]
939   17,  // Range #166: [13312, 19893, Han]
940   17,  // Range #167: [19968, 40943, Han]
941   41,  // Range #168: [40960, 42182, Yi]
942   131,  // Range #169: [42192, 42239, Lisu]
943   99,  // Range #170: [42240, 42539, Vai]
944   8,  // Range #171: [42560, 42655, Cyrillic]
945   130,  // Range #172: [42656, 42743, Bamum]
946   25,  // Range #173: [42786, 42887, Latin]
947   25,  // Range #174: [42891, 42950, Latin]
948   25,  // Range #175: [42999, 43007, Latin]
949   58,  // Range #176: [43008, 43051, Syloti_Nagri]
950   90,  // Range #177: [43072, 43127, Phags_Pa]
951   111,  // Range #178: [43136, 43205, Saurashtra]
952   111,  // Range #179: [43214, 43225, Saurashtra]
953   10,  // Range #180: [43232, 43263, Devanagari]
954   79,  // Range #181: [43264, 43309, Kayah_Li]
955   79,  // Range #182: [43311, 43311, Kayah_Li]
956   110,  // Range #183: [43312, 43347, Rejang]
957   110,  // Range #184: [43359, 43359, Rejang]
958   18,  // Range #185: [43360, 43388, Hangul]
959   78,  // Range #186: [43392, 43469, Javanese]
960   78,  // Range #187: [43472, 43487, Javanese]
961   28,  // Range #188: [43488, 43518, Myanmar]
962   66,  // Range #189: [43520, 43574, Cham]
963   66,  // Range #190: [43584, 43615, Cham]
964   28,  // Range #191: [43616, 43647, Myanmar]
965   127,  // Range #192: [43648, 43714, Tai_Viet]
966   127,  // Range #193: [43739, 43743, Tai_Viet]
967   115,  // Range #194: [43744, 43766, Meetei_Mayek]
968   11,  // Range #195: [43777, 43798, Ethiopic]
969   11,  // Range #196: [43808, 43822, Ethiopic]
970   25,  // Range #197: [43824, 43866, Latin]
971   25,  // Range #198: [43868, 43876, Latin]
972   14,  // Range #199: [43877, 43877, Greek]
973   25,  // Range #200: [43878, 43879, Latin]
974   6,  // Range #201: [43888, 43967, Cherokee]
975   115,  // Range #202: [43968, 44025, Meetei_Mayek]
976   18,  // Range #203: [44032, 55203, Hangul]
977   18,  // Range #204: [55216, 55291, Hangul]
978   17,  // Range #205: [63744, 64217, Han]
979   25,  // Range #206: [64256, 64262, Latin]
980   3,  // Range #207: [64275, 64279, Armenian]
981   19,  // Range #208: [64285, 64335, Hebrew]
982   2,  // Range #209: [64336, 64449, Arabic]
983   2,  // Range #210: [64467, 64829, Arabic]
984   2,  // Range #211: [64848, 64967, Arabic]
985   2,  // Range #212: [65008, 65021, Arabic]
986   8,  // Range #213: [65070, 65071, Cyrillic]
987   2,  // Range #214: [65136, 65276, Arabic]
988   25,  // Range #215: [65313, 65338, Latin]
989   25,  // Range #216: [65345, 65370, Latin]
990   22,  // Range #217: [65382, 65391, Katakana]
991   22,  // Range #218: [65393, 65437, Katakana]
992   18,  // Range #219: [65440, 65500, Hangul]
993   49,  // Range #220: [65536, 65629, Linear_B]
994   49,  // Range #221: [65664, 65786, Linear_B]
995   14,  // Range #222: [65856, 65934, Greek]
996   14,  // Range #223: [65952, 65952, Greek]
997   107,  // Range #224: [66176, 66204, Lycian]
998   104,  // Range #225: [66208, 66256, Carian]
999   30,  // Range #226: [66304, 66339, Old_Italic]
1000   30,  // Range #227: [66349, 66351, Old_Italic]
1001   13,  // Range #228: [66352, 66378, Gothic]
1002   89,  // Range #229: [66384, 66426, Old_Permic]
1003   53,  // Range #230: [66432, 66463, Ugaritic]
1004   61,  // Range #231: [66464, 66517, Old_Persian]
1005   9,  // Range #232: [66560, 66639, Deseret]
1006   51,  // Range #233: [66640, 66687, Shavian]
1007   50,  // Range #234: [66688, 66729, Osmanya]
1008   171,  // Range #235: [66736, 66811, Osage]
1009   136,  // Range #236: [66816, 66855, Elbasan]
1010   159,  // Range #237: [66864, 66915, Caucasian_Albanian]
1011   159,  // Range #238: [66927, 66927, Caucasian_Albanian]
1012   83,  // Range #239: [67072, 67382, Linear_A]
1013   83,  // Range #240: [67392, 67413, Linear_A]
1014   83,  // Range #241: [67424, 67431, Linear_A]
1015   47,  // Range #242: [67584, 67647, Cypriot]
1016   116,  // Range #243: [67648, 67679, Imperial_Aramaic]
1017   144,  // Range #244: [67680, 67711, Palmyrene]
1018   143,  // Range #245: [67712, 67742, Nabataean]
1019   143,  // Range #246: [67751, 67759, Nabataean]
1020   162,  // Range #247: [67808, 67829, Hatran]
1021   162,  // Range #248: [67835, 67839, Hatran]
1022   91,  // Range #249: [67840, 67871, Phoenician]
1023   108,  // Range #250: [67872, 67897, Lydian]
1024   108,  // Range #251: [67903, 67903, Lydian]
1025   86,  // Range #252: [67968, 67999, Meroitic_Hieroglyphs]
1026   141,  // Range #253: [68000, 68095, Meroitic_Cursive]
1027   57,  // Range #254: [68096, 68102, Kharoshthi]
1028   57,  // Range #255: [68108, 68168, Kharoshthi]
1029   57,  // Range #256: [68176, 68184, Kharoshthi]
1030   133,  // Range #257: [68192, 68223, Old_South_Arabian]
1031   142,  // Range #258: [68224, 68255, Old_North_Arabian]
1032   121,  // Range #259: [68288, 68342, Manichaean]
1033   117,  // Range #260: [68352, 68415, Avestan]
1034   125,  // Range #261: [68416, 68447, Inscriptional_Parthian]
1035   122,  // Range #262: [68448, 68466, Inscriptional_Pahlavi]
1036   122,  // Range #263: [68472, 68479, Inscriptional_Pahlavi]
1037   123,  // Range #264: [68480, 68497, Psalter_Pahlavi]
1038   123,  // Range #265: [68505, 68508, Psalter_Pahlavi]
1039   123,  // Range #266: [68521, 68527, Psalter_Pahlavi]
1040   88,  // Range #267: [68608, 68680, Old_Turkic]
1041   76,  // Range #268: [68736, 68786, Old_Hungarian]
1042   76,  // Range #269: [68800, 68850, Old_Hungarian]
1043   76,  // Range #270: [68858, 68863, Old_Hungarian]
1044   182,  // Range #271: [68864, 68903, Hanifi_Rohingya]
1045   182,  // Range #272: [68912, 68921, Hanifi_Rohingya]
1046   2,  // Range #273: [69216, 69246, Arabic]
1047   184,  // Range #274: [69376, 69415, Old_Sogdian]
1048   183,  // Range #275: [69424, 69465, Sogdian]
1049   185,  // Range #276: [69600, 69622, Elymaic]
1050   65,  // Range #277: [69632, 69743, Brahmi]
1051   65,  // Range #278: [69759, 69759, Brahmi]
1052   120,  // Range #279: [69760, 69825, Kaithi]
1053   120,  // Range #280: [69837, 69837, Kaithi]
1054   152,  // Range #281: [69840, 69864, Sora_Sompeng]
1055   152,  // Range #282: [69872, 69881, Sora_Sompeng]
1056   118,  // Range #283: [69888, 69958, Chakma]
1057   160,  // Range #284: [69968, 70006, Mahajani]
1058   151,  // Range #285: [70016, 70111, Sharada]
1059   33,  // Range #286: [70113, 70132, Sinhala]
1060   157,  // Range #287: [70144, 70206, Khojki]
1061   164,  // Range #288: [70272, 70313, Multani]
1062   145,  // Range #289: [70320, 70378, Khudawadi]
1063   145,  // Range #290: [70384, 70393, Khudawadi]
1064   137,  // Range #291: [70400, 70457, Grantha]
1065   137,  // Range #292: [70460, 70480, Grantha]
1066   137,  // Range #293: [70487, 70487, Grantha]
1067   137,  // Range #294: [70493, 70516, Grantha]
1068   170,  // Range #295: [70656, 70751, Newa]
1069   158,  // Range #296: [70784, 70855, Tirhuta]
1070   158,  // Range #297: [70864, 70873, Tirhuta]
1071   166,  // Range #298: [71040, 71133, Siddham]
1072   163,  // Range #299: [71168, 71236, Modi]
1073   163,  // Range #300: [71248, 71257, Modi]
1074   27,  // Range #301: [71264, 71276, Mongolian]
1075   153,  // Range #302: [71296, 71352, Takri]
1076   153,  // Range #303: [71360, 71369, Takri]
1077   161,  // Range #304: [71424, 71487, Ahom]
1078   178,  // Range #305: [71680, 71739, Dogra]
1079   146,  // Range #306: [71840, 71922, Warang_Citi]
1080   146,  // Range #307: [71935, 71935, Warang_Citi]
1081   187,  // Range #308: [72096, 72164, Nandinagari]
1082   177,  // Range #309: [72192, 72263, Zanabazar_Square]
1083   176,  // Range #310: [72272, 72354, Soyombo]
1084   165,  // Range #311: [72384, 72440, Pau_Cin_Hau]
1085   168,  // Range #312: [72704, 72773, Bhaiksuki]
1086   168,  // Range #313: [72784, 72812, Bhaiksuki]
1087   169,  // Range #314: [72816, 72886, Marchen]
1088   175,  // Range #315: [72960, 73031, Masaram_Gondi]
1089   175,  // Range #316: [73040, 73049, Masaram_Gondi]
1090   179,  // Range #317: [73056, 73112, Gunjala_Gondi]
1091   179,  // Range #318: [73120, 73129, Gunjala_Gondi]
1092   180,  // Range #319: [73440, 73464, Makasar]
1093   35,  // Range #320: [73664, 73713, Tamil]
1094   35,  // Range #321: [73727, 73727, Tamil]
1095   101,  // Range #322: [73728, 74649, Cuneiform]
1096   101,  // Range #323: [74752, 74868, Cuneiform]
1097   101,  // Range #324: [74880, 75075, Cuneiform]
1098   71,  // Range #325: [77824, 78904, Egyptian_Hieroglyphs]
1099   156,  // Range #326: [82944, 83526, Anatolian_Hieroglyphs]
1100   130,  // Range #327: [92160, 92728, Bamum]
1101   149,  // Range #328: [92736, 92783, Mro]
1102   134,  // Range #329: [92880, 92917, Bassa_Vah]
1103   75,  // Range #330: [92928, 92997, Pahawh_Hmong]
1104   75,  // Range #331: [93008, 93047, Pahawh_Hmong]
1105   75,  // Range #332: [93053, 93071, Pahawh_Hmong]
1106   181,  // Range #333: [93760, 93850, Medefaidrin]
1107   92,  // Range #334: [93952, 94087, Miao]
1108   92,  // Range #335: [94095, 94111, Miao]
1109   154,  // Range #336: [94176, 94176, Tangut]
1110   150,  // Range #337: [94177, 94177, Nushu]
1111   154,  // Range #338: [94208, 100343, Tangut]
1112   154,  // Range #339: [100352, 101106, Tangut]
1113   22,  // Range #340: [110592, 110592, Katakana]
1114   20,  // Range #341: [110593, 110878, Hiragana]
1115   20,  // Range #342: [110928, 110930, Hiragana]
1116   22,  // Range #343: [110948, 110951, Katakana]
1117   150,  // Range #344: [110960, 111355, Nushu]
1118   135,  // Range #345: [113664, 113770, Duployan]
1119   135,  // Range #346: [113776, 113800, Duployan]
1120   135,  // Range #347: [113808, 113823, Duployan]
1121   14,  // Range #348: [119296, 119365, Greek]
1122   112,  // Range #349: [120832, 121483, SignWriting]
1123   112,  // Range #350: [121499, 121519, SignWriting]
1124   56,  // Range #351: [122880, 122922, Glagolitic]
1125   186,  // Range #352: [123136, 123215, Nyiakeng_Puachue_Hmong]
1126   188,  // Range #353: [123584, 123641, Wancho]
1127   188,  // Range #354: [123647, 123647, Wancho]
1128   140,  // Range #355: [124928, 125142, Mende_Kikakui]
1129   167,  // Range #356: [125184, 125279, Adlam]
1130   2,  // Range #357: [126464, 126523, Arabic]
1131   2,  // Range #358: [126530, 126619, Arabic]
1132   2,  // Range #359: [126625, 126651, Arabic]
1133   2,  // Range #360: [126704, 126705, Arabic]
1134   20,  // Range #361: [127488, 127488, Hiragana]
1135   17,  // Range #362: [131072, 173782, Han]
1136   17,  // Range #363: [173824, 177972, Han]
1137   17,  // Range #364: [177984, 183969, Han]
1138   17,  // Range #365: [183984, 191456, Han]
1139   17,  // Range #366: [194560, 195101, Han]
1140 };
1141 
1142 const uint8 kMaxScript = 188;
1143 
1144 }  // namespace approx_script_internal
1145 }  // namespace mobile
1146 }  // namespace nlp_saft
1147