Skip to content

Commit

Permalink
Metadata updates for release 8.12.46 (google#2746)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohininidhi authored Mar 31, 2022
1 parent d9d5abc commit 3ed1e6d
Show file tree
Hide file tree
Showing 34 changed files with 16,340 additions and 16,275 deletions.
13,388 changes: 6,695 additions & 6,693 deletions cpp/src/phonenumbers/lite_metadata.cc

Large diffs are not rendered by default.

14,558 changes: 7,280 additions & 7,278 deletions cpp/src/phonenumbers/metadata.cc

Large diffs are not rendered by default.

4,361 changes: 2,187 additions & 2,174 deletions cpp/src/phonenumbers/short_metadata.cc

Large diffs are not rendered by default.

Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/229_en
Binary file not shown.
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/36_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/51_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/61_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/680_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/90_en
Binary file not shown.
Binary file modified java/carrier/src/com/google/i18n/phonenumbers/carrier/data/966_en
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
154 changes: 78 additions & 76 deletions javascript/i18n/phonenumbers/demo-compiled.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions javascript/i18n/phonenumbers/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,10 +1082,10 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"BJ":[,[,,"[25689]\\d{7}",,,,,,,[8]
,"BJ":[,[,,"(?:[25689]\\d|40)\\d{6}",,,,,,,[8]
]
,[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"]
,[,,"(?:5[1-8]|6\\d|9[013-9])\\d{6}",,,,"90011234"]
,[,,"(?:40|5[1-8]|6\\d|9[013-9])\\d{6}",,,,"90011234"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand All @@ -1095,7 +1095,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,,,,,,,,[-1]
]
,[,,"857[58]\\d{4}",,,,"85751234"]
,"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]
,"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]
]
]
,,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3810,7 +3810,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"JM":[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10]
,[7]
]
,[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[0257]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]
,[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[02357-9]|[23]\\d|40|5[06]|6[2-589]|7[0257]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,"8765230123",,,,[7]
]
,[,,"(?:658295|876(?:2(?:0[2-9]|[14-9]\\d|2[013-9]|3[3-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,"8762101234",,,,[7]
]
Expand Down Expand Up @@ -6102,7 +6102,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"PW":[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]
]
,[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}",,,,"2771234"]
,[,,"(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"]
,[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}",,,,"6201234"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -6372,7 +6372,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[9]
,[7]
]
,[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}",,,,"512345678",,,[9]
,[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}",,,,"512345678",,,[9]
]
,[,,"800\\d{7}",,,,"8001234567",,,[10]
]
Expand Down
12 changes: 6 additions & 6 deletions javascript/i18n/phonenumbers/metadatalite.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,10 +1082,10 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,,,[,,,,,,,,,[-1]
]
]
,"BJ":[,[,,"[25689]\\d{7}",,,,,,,[8]
,"BJ":[,[,,"(?:[25689]\\d|40)\\d{6}",,,,,,,[8]
]
,[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}"]
,[,,"(?:5[1-8]|6\\d|9[013-9])\\d{6}"]
,[,,"(?:40|5[1-8]|6\\d|9[013-9])\\d{6}"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand All @@ -1095,7 +1095,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,,,,,,,,[-1]
]
,[,,"857[58]\\d{4}"]
,"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]
,"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]
]
]
,,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -3810,7 +3810,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"JM":[,[,,"(?:[58]\\d\\d|658|900)\\d{7}",,,,,,,[10]
,[7]
]
,[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0237-9]|[23]\\d|40|5[06]|6[2-589]|7[0257]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,,,,,[7]
,[,,"8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[02357-9]|[23]\\d|40|5[06]|6[2-589]|7[0257]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}",,,,,,,,[7]
]
,[,,"(?:658295|876(?:2(?:0[2-9]|[14-9]\\d|2[013-9]|3[3-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}",,,,,,,,[7]
]
Expand Down Expand Up @@ -6102,7 +6102,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,"PW":[,[,,"(?:[24-8]\\d\\d|345|900)\\d{4}",,,,,,,[7]
]
,[,,"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"]
,[,,"(?:46[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}"]
,[,,"(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}"]
,[,,,,,,,,,[-1]
]
,[,,,,,,,,,[-1]
Expand Down Expand Up @@ -6372,7 +6372,7 @@ i18n.phonenumbers.metadata.countryToMetadata = {
,[,,"1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,,,,[9]
,[7]
]
,[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-36-8])\\d{6}",,,,,,,[9]
,[,,"579[01]\\d{5}|5(?:[013-689]\\d|7[0-35-8])\\d{6}",,,,,,,[9]
]
,[,,"800\\d{7}",,,,,,,[10]
]
Expand Down
7 changes: 3 additions & 4 deletions javascript/i18n/phonenumbers/shortnumbermetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -1453,16 +1453,15 @@ i18n.phonenumbers.shortnumbermetadata.countryToMetadata = {
]
,"HU":[,[,,"1\\d{2,5}",,,,,,,[3,4,5,6]
]
,,,[,,"1(?:0[457]|1(?:2|6\\d{3}))",,,,"104",,,[3,6]
]
,,,[,,"1(?:0[457]|12|4[0-4]\\d)|1(?:16\\d|37|45)\\d\\d",,,,"104"]
,[,,,,,,,,,[-1]
]
,,,,"HU",,,,,,,,,,,,,,,,,,[,,"1(?:0[457]|12)",,,,"104",,,[3]
]
,,[,,"1(?:0[457]|1(?:2|6(?:000|1(?:11|23)))|2(?:20|7[02])|37(?:00|37|7[07])|414|777|8(?:1[27-9]|2[04]|40|[589]))",,,,"104"]
,,[,,"1(?:0[457]|1(?:2|6(?:000|1(?:11|23))|800)|2(?:0[0-4]|1[013489]|2[0-5]|3[0-46]|4[0-24-68]|5[0-2568]|6[06]|7[0-25-7]|8[028]|9[08])|37(?:00|37|7[07])|4(?:0[0-5]|1[013-8]|2[034]|3[23]|4[02-9]|5(?:00|41|67))|777|8(?:1[27-9]|2[04]|40|[589]))",,,,"104"]
,[,,,,,,,,,[-1]
]
,[,,"1(?:2[27]|41|77)\\d",,,,"1220",,,[4]
,[,,"1(?:4[0-4]|77)\\d|1(?:18|2|45)\\d\\d",,,,"1200",,,[4,5]
]
,,[,,"184\\d",,,,"1840",,,[4]
]
Expand Down
Binary file modified metadata/metadata.zip
Binary file not shown.
7 changes: 7 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Mar 31, 2022: v8.12.46
Metadata changes:
- Updated phone metadata for region code(s): BJ, JM, PW, SA
- Updated short number metadata for region code(s): HU
- Updated carrier data for country calling code(s):
36 (en), 51 (en), 61 (en), 90 (en), 229 (en), 254 (en), 680 (en), 966 (en)

Mar 10, 2022: v8.12.45
Metadata changes:
- Updated phone metadata for region code(s): BF, EE, JM, RE, SE, US
Expand Down
19 changes: 14 additions & 5 deletions resources/PhoneNumberMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4009,12 +4009,17 @@
<territory id="BJ" countryCode="229" internationalPrefix="00">
<availableFormats>
<numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
<leadingDigits>[25689]</leadingDigits>
<leadingDigits>[24-689]</leadingDigits>
<format>$1 $2 $3 $4</format>
</numberFormat>
</availableFormats>
<generalDesc>
<nationalNumberPattern>[25689]\d{7}</nationalNumberPattern>
<nationalNumberPattern>
(?:
[25689]\d|
40
)\d{6}
</nationalNumberPattern>
</generalDesc>
<!-- These come from the national numbering plan, but have been widened to include other
prefixes found in the yellow pages - specifically 21 0. -->
Expand All @@ -4039,6 +4044,7 @@
<exampleNumber>90011234</exampleNumber>
<nationalNumberPattern>
(?:
40|
5[1-8]|
6\d|
9[013-9]
Expand Down Expand Up @@ -15376,7 +15382,7 @@
52[35]|
6(?:
0[1-3579]|
1[0237-9]|
1[02357-9]|
[23]\d|
40|
5[06]|
Expand Down Expand Up @@ -24242,7 +24248,10 @@
<exampleNumber>6201234</exampleNumber>
<nationalNumberPattern>
(?:
46[0-5]|
(?:
46|
83
)[0-5]|
6[2-4689]0
)\d{4}|
(?:
Expand Down Expand Up @@ -25120,7 +25129,7 @@
579[01]\d{5}|
5(?:
[013-689]\d|
7[0-36-8]
7[0-35-8]
)\d{6}
</nationalNumberPattern>
</mobile>
Expand Down
57 changes: 42 additions & 15 deletions resources/ShortNumberMetadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6257,18 +6257,38 @@
11|
23
)
)
)|
800
)|
2(?:
20|
7[02]
0[0-4]|
1[013489]|
2[0-5]|
3[0-46]|
4[0-24-68]|
5[0-2568]|
6[06]|
7[0-25-7]|
8[028]|
9[08]
)|
37(?:
00|
37|
7[07]
)|
414|
4(?:
0[0-5]|
1[013-8]|
2[034]|
3[23]|
4[02-9]|
5(?:
00|
41|
67
)
)|
777|
8(?:
1[27-9]|
Expand All @@ -6280,27 +6300,34 @@
</nationalNumberPattern>
</shortCode>
<tollFree>
<possibleLengths national="3,6"/>
<possibleLengths national="[3-6]"/>
<exampleNumber>104</exampleNumber>
<nationalNumberPattern>
1(?:
0[457]|
1(?:
2|
6\d{3}
)
)
12|
4[0-4]\d
)|
1(?:
16\d|
37|
45
)\d\d
</nationalNumberPattern>
</tollFree>
<carrierSpecific>
<possibleLengths national="4"/>
<exampleNumber>1220</exampleNumber>
<possibleLengths national="4,5"/>
<exampleNumber>1200</exampleNumber>
<nationalNumberPattern>
1(?:
2[27]|
41|
4[0-4]|
77
)\d
)\d|
1(?:
18|
2|
45
)\d\d
</nationalNumberPattern>
</carrierSpecific>
<emergency>
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/229.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# Libercom is brand name of Benintelecoms and Moov is brand name of Etisalat.

2294|SBIN
2295|MTN
22955|Moov
22956|Moov
Expand Down
1 change: 0 additions & 1 deletion resources/carrier/en/254.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
25474|Safaricom
254744|Homeland Media
254747|JTL
254749|WiAfrica
25475|Airtel
254757|Safaricom
254758|Safaricom
Expand Down
2 changes: 1 addition & 1 deletion resources/carrier/en/36.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

3620|Telenor
3620|Yettel Hungary
3630|Magyar Telekom
36312000|Netfone Telecom
36312001|Netfone Telecom
Expand Down
19 changes: 3 additions & 16 deletions resources/carrier/en/51.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,32 +33,19 @@
5191926|Claro
5191927|Claro
519198|Entel
5192|Claro
51920|Movistar
51921|Claro
51922|Entel
51923|Entel
51924|Entel
51925|Claro
519260|Claro
519261|Claro
519262|Claro
5192630|Claro
5192631|Claro
5192632|Claro
5192633|Claro
5192634|Claro
5192635|Claro
5192636|Dolphin Telecom
5192637|Dolphin Telecom
5192638|Entel
5192639|Entel
519264|Claro
519265|Claro
519266|Entel
519267|Entel
519268|Entel
519269|Entel
51927|Claro
51928|Claro
51929|Claro
51930|Claro
51931|Claro
51932|Claro
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/61.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
614800|Pivotel Satellite
614801|Telstra
614803|Telstra
614804|Telstra
614808|Pivotel Satellite
61481|Optus
61482|Optus
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/680.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
68045|PMCI
68046|PMCI
68077|PalauCel
68083|PMCI
68088|PalauTel
14 changes: 14 additions & 0 deletions resources/carrier/en/90.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
# Wiki Link : https://tr.wikipedia.org/wiki/Türkiye'deki_telefon_numaraları

9050|Turk Telekom
90510210|Pasifik Telekom
90510222|Netgsm
90510232|Foniv Telecommunications Services
90510244|Nida Telekomunikasyon
90510255|TTM
90510266|Medium Telecommunications Services
90510300|Mobilisim Mobil Bilisim
90510310|Assistant Telecom
90510333|Roitel
90510343|Isnet
90510400|Duru Telekom
90510450|Pelicell Telecommunications
90510480|Alfa iletisim
90510499|HATNET BILGI ILETISIM TEKNOLOJILERI
9051616|Turkcell
9053|Turkcell
9053383|Kuzey Kibris Turkcell
Expand Down
1 change: 1 addition & 0 deletions resources/carrier/en/966.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
966571|Virgin
966572|Virgin
966573|Virgin
966575|Red Bull Mobile
966576|Lebara
966577|Lebara
966578|Lebara
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 3ed1e6d

Please sign in to comment.