Skip to content

Commit

Permalink
CLDR-17349 One-off import of emoji search keywords (#3689)
Browse files Browse the repository at this point in the history
  • Loading branch information
macchiati authored May 9, 2024
1 parent ee35e91 commit af77ae6
Show file tree
Hide file tree
Showing 68 changed files with 69,690 additions and 68,079 deletions.
2,890 changes: 1,445 additions & 1,445 deletions common/annotations/af.xml

Large diffs are not rendered by default.

2,444 changes: 1,222 additions & 1,222 deletions common/annotations/am.xml

Large diffs are not rendered by default.

2,828 changes: 1,414 additions & 1,414 deletions common/annotations/ar.xml

Large diffs are not rendered by default.

1,724 changes: 862 additions & 862 deletions common/annotations/az.xml

Large diffs are not rendered by default.

2,118 changes: 1,059 additions & 1,059 deletions common/annotations/bg.xml

Large diffs are not rendered by default.

2,186 changes: 1,093 additions & 1,093 deletions common/annotations/bn.xml

Large diffs are not rendered by default.

2,344 changes: 1,172 additions & 1,172 deletions common/annotations/ca.xml

Large diffs are not rendered by default.

2,864 changes: 1,432 additions & 1,432 deletions common/annotations/cs.xml

Large diffs are not rendered by default.

1,418 changes: 709 additions & 709 deletions common/annotations/da.xml

Large diffs are not rendered by default.

2,168 changes: 1,084 additions & 1,084 deletions common/annotations/de.xml

Large diffs are not rendered by default.

2,078 changes: 1,039 additions & 1,039 deletions common/annotations/el.xml

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions common/annotations/en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3907,21 +3907,21 @@ annotations.
<annotation cp="³" type="tts">superscript three</annotation>
<annotation cp="µ">measure | micro sign</annotation>
<annotation cp="µ" type="tts">micro sign</annotation>
<!-- start hand-generated lines from E16 -->
<annotation cp='🪉' type='tts'>harp</annotation>
<annotation cp='🪉'>music | instrument | love | cupid | orchestra</annotation>
<annotation cp='🪏' type='tts'>shovel</annotation>
<annotation cp='🪏'>dig | spade | hole | scoop</annotation>
<annotation cp='🪾' type='tts'>leafless tree</annotation>
<annotation cp='🪾'>winter | barren | drought</annotation>
<annotation cp='🫆' type='tts'>fingerprint</annotation>
<annotation cp='🫆'>forensics | identity | safety</annotation>
<annotation cp='🫜' type='tts'>root vegetable</annotation>
<annotation cp='🫜'>root | vegetable | garden | beet | turnip</annotation>
<annotation cp='🫟' type='tts'>splatter</annotation>
<annotation cp='🫟'>paint | holi | spill | stain</annotation>
<annotation cp='🫩' type='tts'>face with bags under eyes</annotation>
<annotation cp='🫩'>tired | sleepy | exhausted</annotation>
<!-- end hand-generated lines from E16 -->
<!-- start hand-generated lines from E16 -->
<annotation cp="🪉">music | instrument | love | cupid | orchestra</annotation>
<annotation cp="🪉" type="tts">harp</annotation>
<annotation cp="🪏">dig | spade | hole | scoop</annotation>
<annotation cp="🪏" type="tts">shovel</annotation>
<annotation cp="🪾">winter | barren | drought</annotation>
<annotation cp="🪾" type="tts">leafless tree</annotation>
<annotation cp="🫆">forensics | identity | safety</annotation>
<annotation cp="🫆" type="tts">fingerprint</annotation>
<annotation cp="🫜">root | vegetable | garden | beet | turnip</annotation>
<annotation cp="🫜" type="tts">root vegetable</annotation>
<annotation cp="🫟">paint | holi | spill | stain</annotation>
<annotation cp="🫟" type="tts">splatter</annotation>
<annotation cp="🫩">tired | sleepy | exhausted</annotation>
<annotation cp="🫩" type="tts">face with bags under eyes</annotation>
<!-- end hand-generated lines from E16 -->
</annotations>
</ldml>
2,884 changes: 1,442 additions & 1,442 deletions common/annotations/es_419.xml

Large diffs are not rendered by default.

1,580 changes: 790 additions & 790 deletions common/annotations/et.xml

Large diffs are not rendered by default.

1,728 changes: 864 additions & 864 deletions common/annotations/fa.xml

Large diffs are not rendered by default.

908 changes: 454 additions & 454 deletions common/annotations/fi.xml

Large diffs are not rendered by default.

1,710 changes: 855 additions & 855 deletions common/annotations/fil.xml

Large diffs are not rendered by default.

2,604 changes: 1,302 additions & 1,302 deletions common/annotations/fr.xml

Large diffs are not rendered by default.

2,222 changes: 1,111 additions & 1,111 deletions common/annotations/ga.xml

Large diffs are not rendered by default.

2,618 changes: 1,309 additions & 1,309 deletions common/annotations/gu.xml

Large diffs are not rendered by default.

2,868 changes: 1,436 additions & 1,432 deletions common/annotations/ha.xml

Large diffs are not rendered by default.

1,806 changes: 903 additions & 903 deletions common/annotations/he.xml

Large diffs are not rendered by default.

2,080 changes: 1,040 additions & 1,040 deletions common/annotations/hi.xml

Large diffs are not rendered by default.

1,914 changes: 957 additions & 957 deletions common/annotations/hr.xml

Large diffs are not rendered by default.

2,348 changes: 1,174 additions & 1,174 deletions common/annotations/hu.xml

Large diffs are not rendered by default.

2,514 changes: 1,257 additions & 1,257 deletions common/annotations/id.xml

Large diffs are not rendered by default.

2,794 changes: 1,397 additions & 1,397 deletions common/annotations/it.xml

Large diffs are not rendered by default.

1,714 changes: 857 additions & 857 deletions common/annotations/ja.xml

Large diffs are not rendered by default.

1,908 changes: 954 additions & 954 deletions common/annotations/kk.xml

Large diffs are not rendered by default.

2,852 changes: 1,426 additions & 1,426 deletions common/annotations/kn.xml

Large diffs are not rendered by default.

2,554 changes: 1,277 additions & 1,277 deletions common/annotations/ko.xml

Large diffs are not rendered by default.

1,230 changes: 615 additions & 615 deletions common/annotations/lo.xml

Large diffs are not rendered by default.

1,922 changes: 961 additions & 961 deletions common/annotations/lt.xml

Large diffs are not rendered by default.

2,032 changes: 1,016 additions & 1,016 deletions common/annotations/lv.xml

Large diffs are not rendered by default.

2,590 changes: 1,295 additions & 1,295 deletions common/annotations/mk.xml

Large diffs are not rendered by default.

816 changes: 408 additions & 408 deletions common/annotations/ml.xml

Large diffs are not rendered by default.

2,592 changes: 1,296 additions & 1,296 deletions common/annotations/mr.xml

Large diffs are not rendered by default.

2,104 changes: 1,052 additions & 1,052 deletions common/annotations/ms.xml

Large diffs are not rendered by default.

2,712 changes: 1,356 additions & 1,356 deletions common/annotations/nl.xml

Large diffs are not rendered by default.

678 changes: 339 additions & 339 deletions common/annotations/no.xml

Large diffs are not rendered by default.

1,480 changes: 1,480 additions & 0 deletions common/annotations/om.xml

Large diffs are not rendered by default.

2,676 changes: 1,338 additions & 1,338 deletions common/annotations/pa.xml

Large diffs are not rendered by default.

2,320 changes: 1,160 additions & 1,160 deletions common/annotations/pl.xml

Large diffs are not rendered by default.

2,310 changes: 1,155 additions & 1,155 deletions common/annotations/pt.xml

Large diffs are not rendered by default.

2,400 changes: 1,200 additions & 1,200 deletions common/annotations/pt_PT.xml

Large diffs are not rendered by default.

2,658 changes: 1,329 additions & 1,329 deletions common/annotations/ro.xml

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions common/annotations/root.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3908,21 +3908,21 @@ Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/
<annotation cp="³" type="tts">E13-137</annotation>
<annotation cp="µ">E13-150</annotation>
<annotation cp="µ" type="tts">E13-150</annotation>
<!-- start hand-generated lines from E16 -->
<annotation cp='🪉'>E16-001</annotation>
<annotation cp='🪉' type='tts'>E16-001</annotation>
<annotation cp='🪏'>E16-002</annotation>
<annotation cp='🪏' type='tts'>E16-002</annotation>
<annotation cp='🪾'>E16-003</annotation>
<annotation cp='🪾' type='tts'>E16-003</annotation>
<annotation cp='🫆'>E16-004</annotation>
<annotation cp='🫆' type='tts'>E16-004</annotation>
<annotation cp='🫜'>E16-005</annotation>
<annotation cp='🫜' type='tts'>E16-005</annotation>
<annotation cp='🫟'>E16-006</annotation>
<annotation cp='🫟' type='tts'>E16-006</annotation>
<annotation cp='🫩'>E16-007</annotation>
<annotation cp='🫩' type='tts'>E16-007</annotation>
<!-- end hand-generated lines from E16 -->
<!-- start hand-generated lines from E16 -->
<annotation cp="🪉">E16-001</annotation>
<annotation cp="🪉" type="tts">E16-001</annotation>
<annotation cp="🪏">E16-002</annotation>
<annotation cp="🪏" type="tts">E16-002</annotation>
<annotation cp="🪾">E16-003</annotation>
<annotation cp="🪾" type="tts">E16-003</annotation>
<annotation cp="🫆">E16-004</annotation>
<annotation cp="🫆" type="tts">E16-004</annotation>
<annotation cp="🫜">E16-005</annotation>
<annotation cp="🫜" type="tts">E16-005</annotation>
<annotation cp="🫟">E16-006</annotation>
<annotation cp="🫟" type="tts">E16-006</annotation>
<annotation cp="🫩">E16-007</annotation>
<annotation cp="🫩" type="tts">E16-007</annotation>
<!-- end hand-generated lines from E16 -->
</annotations>
</ldml>
2,606 changes: 1,303 additions & 1,303 deletions common/annotations/ru.xml

Large diffs are not rendered by default.

2,740 changes: 1,370 additions & 1,370 deletions common/annotations/sk.xml

Large diffs are not rendered by default.

1,666 changes: 833 additions & 833 deletions common/annotations/sl.xml

Large diffs are not rendered by default.

1,834 changes: 917 additions & 917 deletions common/annotations/sq.xml

Large diffs are not rendered by default.

2,924 changes: 1,462 additions & 1,462 deletions common/annotations/sr.xml

Large diffs are not rendered by default.

598 changes: 299 additions & 299 deletions common/annotations/sv.xml

Large diffs are not rendered by default.

1,564 changes: 782 additions & 782 deletions common/annotations/sw.xml

Large diffs are not rendered by default.

2,478 changes: 1,239 additions & 1,239 deletions common/annotations/ta.xml

Large diffs are not rendered by default.

2,786 changes: 1,393 additions & 1,393 deletions common/annotations/te.xml

Large diffs are not rendered by default.

1,378 changes: 689 additions & 689 deletions common/annotations/th.xml

Large diffs are not rendered by default.

2,072 changes: 1,036 additions & 1,036 deletions common/annotations/tr.xml

Large diffs are not rendered by default.

2,228 changes: 1,114 additions & 1,114 deletions common/annotations/uk.xml

Large diffs are not rendered by default.

2,614 changes: 1,307 additions & 1,307 deletions common/annotations/ur.xml

Large diffs are not rendered by default.

1,908 changes: 954 additions & 954 deletions common/annotations/uz.xml

Large diffs are not rendered by default.

1,088 changes: 544 additions & 544 deletions common/annotations/vi.xml

Large diffs are not rendered by default.

2,374 changes: 1,187 additions & 1,187 deletions common/annotations/zh.xml

Large diffs are not rendered by default.

1,950 changes: 975 additions & 975 deletions common/annotations/zh_Hant.xml

Large diffs are not rendered by default.

2,892 changes: 1,446 additions & 1,446 deletions common/annotations/zh_Hant_HK.xml

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion common/transforms/Arabic-Latin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ For terms of use, see http://www.unicode.org/copyright.html
# Does *not* do assimilation of "al", nor hyphenation.
# While it could be done, we need to determine whether a prefix "al" could
# occur other than as the definite article (since no space is used).
:: [[:Arabic:][:block=ARABIC:][‎ⁿ،؛؟ـً-ٕ٠-٬۰-۹﷼ښ]] ;
:: [[:Arabic:][:block=ARABIC:][‎ⁿ،؛؟ـً-ٕ٠-٬۰-۹﷼ښ][\u0611\u0670]] ;
:: NFKD (NFC);
$disambig = ̱ ;
$disambig2 = ̰ ;
Expand Down Expand Up @@ -190,6 +190,9 @@ $notAbove = [[:^ccc=0:] & [:^ccc=230:]];
‎ہ‎ → ḥ ;
‎ە‎ → ĥ ;
# Delete marks without correspondants
[\u0611\u0670] → ;
# fallbacks
| s ← c } [eiy];
| k ← c ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
description =
"Tool for applying modifications to the CLDR files. Use -h to see the options.")
public class CLDRModify {
private static final Splitter SPLIT_ON_SEMI = Splitter.onPattern("\\s*;\\s+");
static final String DEBUG_PATHS = null; // ".*currency.*";
static final boolean COMMENT_REMOVALS = false; // append removals as comments
static final UnicodeSet whitespace = new UnicodeSet("[:whitespace:]").freeze();
Expand Down Expand Up @@ -650,7 +651,7 @@ private static void checkSuboptions(int i, UnicodeSet allowedOptions) {
+ "Use -? for help.");
}
if (i == FIX && givenOptions.value != null) {
final UnicodeSet allowedFilters = new UnicodeSet().add('P').add('Q').add('V');
final UnicodeSet allowedFilters = new UnicodeSet().add('P').add('Q').add('V').add('k');
for (char c : givenOptions.value.toCharArray()) {
if (!allowedFilters.contains(c)) {
throw new IllegalArgumentException(
Expand Down Expand Up @@ -2376,12 +2377,14 @@ private void fillCache() {
@Override
protected boolean handleLine(int lineCount, String line) {
line = line.trim();
String[] lineParts = line.split("\\s*;\\s*");
Iterable<String> lineParts = SPLIT_ON_SEMI.split(line);
Map<ConfigKeys, ConfigMatch> keyValue =
new EnumMap<>(ConfigKeys.class);
for (String linePart : lineParts) {
int pos = linePart.indexOf('=');
if (pos < 0) {
// WARNING; the code doesn't allow for ; within
// values; need to restructure for that.
throw new IllegalArgumentException(
lineCount
+ ":\t No = in command: «"
Expand Down
Loading

0 comments on commit af77ae6

Please sign in to comment.