Home | History | Annotate | Download | only in collation
      1 <?xml version="1.0" encoding="UTF-8" ?>
      2 <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
      3 <!--
      4 Copyright  1991-2014 Unicode, Inc.
      5 CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
      6 For terms of use, see http://www.unicode.org/copyright.html
      7 -->
      8 <ldml>
      9 	<identity>
     10 		<version number="$Revision: 11914 $"/>
     11 		<language type="ja" /> 
     12 	</identity>
     13 	<collations>
     14 		<collation type="private-kana">
     15 			<!-- JIS X 4061: http://kikakurui.com/x4/X4061-1996-01.html
     16 				Section 4.4.10.2:
     17 				(1) 1  
     18 				    Voiceless < Voiced < Half-voiced (ha () < ba() < pa())
     19 				(2) 2  
     20 				    Length mark < small Kana < iteration mark < large Kana
     21 				(3) 3  
     22 				    Hiragana < Katakana
     23 				-->
     24 			<cr><![CDATA[
     25 				[strength 3]
     26 				[reorder Kana Hani] # Android patch (b/13790528).
     27 				&<<<< # iteration marks \u309D, \u30FD
     28 
     29 				# The length mark sorts tertiary less-than the
     30 				# small version of the preceding vowel.
     31 				&[before 3] # A
     32 				<<<|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| # Hiragana
     33 				<<<<|=|=|=|=|=|=| # Katakana
     34 				=|=|=|=|=|=|=|=|=|=|=|=|=|
     35 				=|=|=|=|=|=|=|=|=|=|=|=|=|=|
     36 
     37 				&[before 3] # I
     38 				<<<|=|=|=|=|=|=|=|=|=|=|=|=|=|=| # Hiragana
     39 				<<<<|=|=|=|=|=|=|=|=|=|=| # Katakana
     40 				=|=|=|=|=|=|=|=|=|=|
     41 				=|=|=|=|=|=|=|
     42 
     43 				&[before 3] # U
     44 				<<<|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| # Hiragana
     45 				<<<<|=|=|=|=|=|=|=| # Katakana
     46 				=|=|=|=|=|=|=|=|=|=|=|=|
     47 				=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|
     48 
     49 				&[before 3] # E
     50 				<<<|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| # Hiragana
     51 				<<<<|=|=|=|=|=|=| # Katakana
     52 				=|=|=|=|=|=|=|=|=|=|=|=|=|
     53 				=|=|=|=|=|=|=|=|
     54 
     55 				&[before 3] # O
     56 				<<<|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=|=| # Hiragana
     57 				<<<<|=|=|=|=|=|=|=|=|=|=|=|=|=| # Katakana
     58 				=|=|=|=|=|=|=|=|=|=|=|=|=|
     59 				=|=|=|=|=|=|
     60 
     61 				# The iteration mark sorts tertiary-between small and large Kana.
     62 				&[before 3] # A
     63 				<<<|=|
     64 				<<<<|=|=|=|
     65 				&[before 3] # I
     66 				<<<|=|
     67 				<<<<|=|=|=|
     68 				&[before 3] # U
     69 				<<<|=|=|=|/=|/=|/
     70 				<<<<|=|=|=|=|=|/=|/=|/=|/=|/
     71 				&[before 3] # E
     72 				<<<|=|
     73 				<<<<|=|=|=|
     74 				&[before 3] # O
     75 				<<<|=|
     76 				<<<<|=|=|=|
     77 
     78 				&[before 3] # KA
     79 				<<<|=|
     80 				<<<<|=|=|
     81 				&[before 3] # GA
     82 				<<<|
     83 				<<<<|
     84 
     85 				&[before 3] # KI
     86 				<<<|=|=|/=|/
     87 				<<<<|=|=|=|/=|/=|/
     88 
     89 				&[before 3] # KU
     90 				<<<|=|=|/=|/
     91 				<<<<|=|=|=|=|/=|/=|/=|/
     92 
     93 				&[before 3] # KE
     94 				<<<|=|
     95 				<<<<|=|=|
     96 				&[before 3] # GE
     97 				<<<|
     98 				<<<<|
     99 
    100 				&[before 3] # KO
    101 				<<<|=|=|/=|/
    102 				<<<<|=|=|=|/=|/=|/
    103 
    104 				&[before 3] # SA
    105 				<<<|=|=|/=|/
    106 				<<<<|=|=|=|/=|/=|/
    107 
    108 				&[before 3] # SI
    109 				<<<|=|=|/=|/
    110 				<<<<|=|=|=|=|/=|/=|/=|/
    111 
    112 				&[before 3] # SU
    113 				<<<|=|=|/=|/
    114 				<<<<|=|=|=|=|/=|/=|/=|/
    115 
    116 				&[before 3] # SE
    117 				<<<|=|=|/=|/
    118 				<<<<|=|=|=|/=|/=|/
    119 
    120 				&[before 3] # SO
    121 				<<<|=|=|/=|/
    122 				<<<<|=|=|=|/=|/=|/
    123 
    124 				&[before 3] # TA
    125 				<<<|=|=|/=|/
    126 				<<<<|=|=|=|/=|/=|/
    127 
    128 				&[before 3] # TI
    129 				<<<|=|=|/=|/
    130 				<<<<|=|=|=|/=|/=|/
    131 
    132 				&[before 3] # TU
    133 				<<<|=|=|=|/=|/=|=|/=|/
    134 				<<<<|=|=|=|=|=|/=|/=|/=|=|=|/=|/=|/=|/
    135 
    136 				&[before 3] # TE
    137 				<<<|=|=|/=|/
    138 				<<<<|=|=|=|/=|/=|/
    139 
    140 				&[before 3] # TO
    141 				<<<|=|=|/=|/
    142 				<<<<|=|=|=|=|/=|/=|/=|/
    143 
    144 				&[before 3] # NA
    145 				<<<|
    146 				<<<<|=|
    147 
    148 				&[before 3] # NI
    149 				<<<|
    150 				<<<<|=|
    151 
    152 				&[before 3] # NU
    153 				<<<|
    154 				<<<<|=|=| # \u31F4
    155 
    156 				&[before 3] # NE
    157 				<<<|
    158 				<<<<|=|
    159 
    160 				&[before 3] # NO
    161 				<<<|
    162 				<<<<|=|
    163 
    164 				&[before 3] # HA
    165 				<<<|=|=|/=|/=|=|/
    166 				<<<<|=|=|=|=|/=|/=|/=|/=|=|/
    167 
    168 				&[before 3] # HI
    169 				<<<|=|=|/=|/=|=|/
    170 				<<<<|=|=|=|=|/=|/=|/=|/=|=|/
    171 
    172 				&[before 3] # HU
    173 				<<<|=|=|/=|/=|=|/
    174 				<<<<|=|=|=|=|/=|/=|/=|/=|=|/
    175 
    176 				&[before 3] # HE
    177 				<<<|=|=|/=|/=|=|/
    178 				<<<<|=|=|=|=|/=|/=|/=|/=|=|/
    179 
    180 				&[before 3] # HO
    181 				<<<|=|=|/=|/=|=|/
    182 				<<<<|=|=|=|=|/=|/=|/=|/=|=|/
    183 
    184 				&[before 3] # MA
    185 				<<<|
    186 				<<<<|=|
    187 
    188 				&[before 3] # MI
    189 				<<<|
    190 				<<<<|=|
    191 
    192 				&[before 3] # MU
    193 				<<<|
    194 				<<<<|=|=| # \u31FA
    195 
    196 				&[before 3] # ME
    197 				<<<|
    198 				<<<<|=|
    199 
    200 				&[before 3] # MO
    201 				<<<|
    202 				<<<<|=|
    203 
    204 				&[before 3] # YA
    205 				<<<|=|
    206 				<<<<|=|=|=|
    207 
    208 				&[before 3] # YU
    209 				<<<|=|
    210 				<<<<|=|=|=|
    211 
    212 				&[before 3] # YO
    213 				<<<|=|
    214 				<<<<|=|=|=|
    215 
    216 				&[before 3] # RA
    217 				<<<|
    218 				<<<<|=|=| # \u31FB
    219 
    220 				&[before 3] # RI
    221 				<<<|
    222 				<<<<|=|=| # \u31FC
    223 
    224 				&[before 3] # RU
    225 				<<<|
    226 				<<<<|=|=| # \u31FD
    227 
    228 				&[before 3] # RE
    229 				<<<|
    230 				<<<<|=|=| # \u31FE
    231 
    232 				&[before 3] # RO
    233 				<<<|
    234 				<<<<|=|=| # \u31FF
    235 
    236 				&[before 3] # WA
    237 				<<<|=|=|/=|/
    238 				<<<<|=|=|=|=|/=|/=|/=|/
    239 
    240 				&[before 3] # WI
    241 				<<<|=|/
    242 				<<<<|=|=|/=|/
    243 
    244 				&[before 3] # WE
    245 				<<<|=|/
    246 				<<<<|=|=|/=|/
    247 
    248 				&[before 3] # WO
    249 				<<<|=|/
    250 				<<<<|=|=|=|/=|/=|/
    251 
    252 				&[before 3] # N
    253 				<<<|
    254 				<<<<|=|
    255 
    256 				&<<<<= # SMALL A
    257 				&<<<<= # A
    258 				&<<<<= # SMALL I
    259 				&<<<<= # I
    260 				&<<<<= # SMALL U
    261 				&<<<<= # U
    262 				&<<<<= # SMALL E
    263 				&<<<<= # E
    264 				&<<<<= # SMALL O
    265 				&<<<<= # O
    266 				&<<<<= # KA
    267 				&<<<<= # KI
    268 				&<<<<= # KU
    269 				&<<<<= # KE
    270 				&<<<<= # KO
    271 				&<<<<= # SA
    272 				&<<<<= # SI
    273 				&<<<<= # SU
    274 				&<<<<= # SE
    275 				&<<<<= # SO
    276 				&<<<<= # TA
    277 				&<<<<= # TI
    278 				&<<<<= # SMALL TU
    279 				&<<<<= # TU
    280 				&<<<<= # TE
    281 				&<<<<= # TO
    282 				&<<<<= # NA
    283 				&<<<<= # NI
    284 				&<<<<= # NU
    285 				&<<<<= # NE
    286 				&<<<<= # NO
    287 				&<<<<= # HA
    288 				&<<<<= # HI
    289 				&<<<<= # HU
    290 				&<<<<= # HE
    291 				&<<<<= # HO
    292 				&<<<<= # MA
    293 				&<<<<= # MI
    294 				&<<<<= # MU
    295 				&<<<<= # ME
    296 				&<<<<= # MO
    297 				&<<<<= # SMALL YA
    298 				&<<<<= # YA
    299 				&<<<<= # SMALL YU
    300 				&<<<<= # YU
    301 				&<<<<= # SMALL YO
    302 				&<<<<= # YO
    303 				&<<<<= # RA
    304 				&<<<<= # RI
    305 				&<<<<= # RU
    306 				&<<<<= # RE
    307 				&<<<<= # RO
    308 				&<<<< # SMALL WA
    309 				&<<<<= # WA
    310 				&<<<< # WI
    311 				&<<<< # WE
    312 				&<<<<= # WO
    313 				&<<<<= # N
    314 				&<<<< # SMALL KA
    315 				&<<<< # SMALL KE
    316 
    317 				& # \u3088\u308A
    318 				<< # \u309F HIRAGANA DIGRAPH YORI
    319 				& # \u30B3\u30C8
    320 				<< # \u30FF KATAKANA DIGRAPH KOTO
    321 
    322 				&'\u0020'=*'\u3000'
    323 				&'!'=
    324 				&'\u0022'=
    325 				&'\u0023'=
    326 				&'$'=
    327 				&'%'=
    328 				&'&'=
    329 				&''=
    330 				&'('=
    331 				&')'=
    332 				&'*'=
    333 				&'+'=
    334 				&','=
    335 				&'-'=
    336 				&'.'=
    337 				&'/'=
    338 				&0=
    339 				&1=
    340 				&2=
    341 				&3=
    342 				&4=
    343 				&5=
    344 				&6=
    345 				&7=
    346 				&8=
    347 				&9=
    348 				&':'=
    349 				&';'=
    350 				&'<'=
    351 				&'='=
    352 				&'>'=
    353 				&'?'=
    354 				&'@'=
    355 				&A=
    356 				&B=
    357 				&C=
    358 				&D=
    359 				&E=
    360 				&F=
    361 				&G=
    362 				&H=
    363 				&I=
    364 				&J=
    365 				&K=
    366 				&L=
    367 				&M=
    368 				&N=
    369 				&O=
    370 				&P=
    371 				&Q=
    372 				&R=
    373 				&S=
    374 				&T=
    375 				&U=
    376 				&V=
    377 				&W=
    378 				&X=
    379 				&Y=
    380 				&Z=
    381 				&'['=
    382 				&'\\'=  # \\ unescapes to \ which is not special between 'apostrophes'
    383 				&']'=
    384 				&'^'=
    385 				&'_'=
    386 				&'`'=
    387 				&a=
    388 				&b=
    389 				&c=
    390 				&d=
    391 				&e=
    392 				&f=
    393 				&g=
    394 				&h=
    395 				&i=
    396 				&j=
    397 				&k=
    398 				&l=
    399 				&m=
    400 				&n=
    401 				&o=
    402 				&p=
    403 				&q=
    404 				&r=
    405 				&s=
    406 				&t=
    407 				&u=
    408 				&v=
    409 				&w=
    410 				&x=
    411 				&y=
    412 				&z=
    413 				&'{'=
    414 				&'|'=
    415 				&'}'=
    416 				&'~'=
    417 				&=
    418 				&=
    419 				&=
    420 				&=
    421 				&=
    422 				&==
    423 				&==
    424 				&==
    425 				&==
    426 				&==
    427 				&==
    428 				&==
    429 				&==
    430 				&==
    431 				&==
    432 				&==
    433 				&==
    434 				&==
    435 				&==
    436 				&==
    437 				&==
    438 				&==
    439 				&==
    440 				&==
    441 				&==
    442 				&==
    443 				&==
    444 				&==
    445 				&==
    446 				&==
    447 				&==
    448 				&==
    449 				&==
    450 				&==
    451 				&==
    452 				&==
    453 				&==
    454 				&==
    455 				&==
    456 				&==
    457 				&==
    458 				&==
    459 				&==
    460 				&==
    461 				&==
    462 				&==
    463 				&==
    464 				&==
    465 				&==
    466 				&==
    467 				&==
    468 				&==
    469 				&==
    470 				&==
    471 				&==
    472 				&==
    473 				&==
    474 				&=
    475 				&=
    476 				&=
    477 				&=
    478 				&=
    479 				&=
    480 				&=
    481 				&=
    482 				&=
    483 				&=
    484 				&=
    485 				&=
    486 			]]></cr>
    487 		</collation>
    488 		<collation type="standard">
    489 			<cr><![CDATA[
    490 				[import ja-u-co-private-kana]
    491 				&[last regular]<*
    492 			]]></cr>
    493 		</collation>
    494 		<collation type="unihan">
    495 			<cr><![CDATA[
    496 				[import und-u-co-private-unihan]
    497 				[import ja-u-co-private-kana]
    498 			]]></cr>
    499 		</collation>
    500 	</collations>
    501 </ldml>
    502