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