ICU-11375 ICU root collation: remove Cyrillic contractions

X-SVN-Rev: 36735
This commit is contained in:
Markus Scherer 2014-11-17 00:41:41 +00:00
parent dc12c4d602
commit 5d211663e6
15 changed files with 1172 additions and 1935 deletions

View file

@ -10,14 +10,15 @@
* ICU <specials> source: <path>/xml/collation/be.xml
*/
be{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{
"[reorder Cyrl][suppressContractions [АаӘәГгЕеЖжЗзІіОоӨөКкЧчЫыЭэѴѵ]]"
"[reorder Cyrl]"
"&Е<ё<<<Ё"
"&у<ў<<<Ў"
}
Version{"26"}
Version{"27"}
}
}
}

View file

@ -10,14 +10,11 @@
* ICU <specials> source: <path>/xml/collation/bg.xml
*/
bg{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{
"[reorder Cyrl][suppressContractions [АаӘәГгЕеЖжЗзІіОоӨөКкУуЧчЫыЭэѴѵ]"
"]"
}
Version{"26"}
Sequence{"[reorder Cyrl]"}
Version{"27"}
}
}
}

View file

@ -10,16 +10,16 @@
* ICU <specials> source: <path>/xml/collation/kk.xml
*/
kk{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{
"[reorder Cyrl][suppressContractions [АаӘәГгЕеЖжЗзІіОоӨөКкУуЧчЫыЭэѴѵ]]"
"[reorder Cyrl]"
"&Е<ё<<<Ё"
"&Ұ<ү<<<Ү"
"&[before 1]ь<і<<<І"
}
Version{"26"}
Version{"27"}
}
}
}

View file

@ -7,5 +7,14 @@
// *
// ***************************************************************************
ky{
Version{"2.0.97.57"}
Version{"2.1.10.28"}
collations{
standard{
Sequence{
"[reorder Cyrl]"
"&е<ё<<<Ё"
}
Version{"27"}
}
}
}

View file

@ -10,11 +10,15 @@
* ICU <specials> source: <path>/xml/collation/mk.xml
*/
mk{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{"[reorder Cyrl][suppressContractions [АаӘәЕеЖжЗзИиІіОоӨөУуЧчЫыЭэѴѵ]]"}
Version{"26"}
Sequence{
"[reorder Cyrl][suppressContractions [Ии]]"
"&ԃ<ѓ<<<Ѓ"
"&ћ<ќ<<<Ќ"
}
Version{"27"}
}
}
}

View file

@ -10,14 +10,11 @@
* ICU <specials> source: <path>/xml/collation/ru.xml
*/
ru{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{
"[reorder Cyrl][suppressContractions [АаӘәГгЕеЖжЗзІіОоӨөКкУуЧчЫыЭэѴѵ]"
"]"
}
Version{"26"}
Sequence{"[reorder Cyrl]"}
Version{"27"}
}
}
}

View file

@ -10,14 +10,11 @@
* ICU <specials> source: <path>/xml/collation/sr.xml
*/
sr{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{
"[reorder Cyrl][suppressContractions [АаӘәГгЕеЖжЗзИиІіОоӨөКкУуЧчЫыЭэѴ"
"ѵ]]"
}
Version{"26"}
Sequence{"[reorder Cyrl][suppressContractions [Ии]]"}
Version{"27"}
}
}
}

View file

@ -10,14 +10,15 @@
* ICU <specials> source: <path>/xml/collation/uk.xml
*/
uk{
Version{"2.0.96.14"}
Version{"2.1.10.26"}
collations{
standard{
Sequence{
"[reorder Cyrl][suppressContractions [АаӘәГгЕеЖжЗзОоӨөКкУуЧчЫыЭэѴѵ]]"
"[reorder Cyrl]"
"&Г<ґ<<<Ґ"
"&<ї<<<\uA676<<<Ї"
}
Version{"26"}
Version{"27"}
}
}
}

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,9 @@
# File: UCA_Rules_SHORT.txt
# UCA Version: 7.0.0
# UCD Version: 7.0.0
# Generated: 2014-04-08 [MS]
# For a description of the format and usage, see CollationAuxiliary.html
# UCA Version: 8.0.0
# UCD Version: 8.0.0
# Generated: 2014-10-09 [MS]
# For a description of the format and usage, see
# http://www.unicode.org/reports/tr35/tr35-collation.html#Root_Data_Files
& [last tertiary ignorable]
@ -107,7 +108,7 @@
= '\u0602'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@@
< ы
<<< ꙹ
<<< Ы
< ӹ
<<< Ӹ
< ь
<<< ꙺ
<<< Ь
@ -11220,8 +11183,6 @@
<<< Ꙓ
< э
<<< Э
< ӭ
<<< Ӭ
< ю
<<< ⷻ
<<< Ю
@ -11263,8 +11224,6 @@
<<< Ѳ
< ѵ
<<< Ѵ
< ѷ
<<< Ѷ
< ꙟ
<<< Ꙟ
< ҩ

View file

@ -1368,13 +1368,17 @@ static void TestCyrillicTailoring(void) {
/* Russian overrides contractions, so this test is not valid anymore */
/*genericLocaleStarter("ru", test, 3);*/
genericLocaleStarter("root", test, 3);
genericRulesStarter("&\\u0410 = \\u0410", test, 3);
genericRulesStarter("&Z < \\u0410", test, 3);
// Most of the following are commented out because UCA 8.0
// drops most of the Cyrillic contractions from the default order.
// See CLDR ticket #7246 "root collation: remove Cyrillic contractions".
// genericLocaleStarter("root", test, 3);
// genericRulesStarter("&\\u0410 = \\u0410", test, 3);
// genericRulesStarter("&Z < \\u0410", test, 3);
genericRulesStarter("&\\u0410 = \\u0410 < \\u04d0", test, 3);
genericRulesStarter("&Z < \\u0410 < \\u04d0", test, 3);
genericRulesStarter("&\\u0410 = \\u0410 < \\u0410\\u0301", test, 3);
genericRulesStarter("&Z < \\u0410 < \\u0410\\u0301", test, 3);
// genericRulesStarter("&\\u0410 = \\u0410 < \\u0410\\u0301", test, 3);
// genericRulesStarter("&Z < \\u0410 < \\u0410\\u0301", test, 3);
}
static void TestSuppressContractions(void) {

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff