From a157aeee777edc85b01ef18cbe7971963fd4c9be Mon Sep 17 00:00:00 2001 From: Zijian Date: Thu, 9 Feb 2023 14:28:30 +0800 Subject: [PATCH 1/4] add malaysia federal territory dict --- resources/dictionaries/ms/chains.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 resources/dictionaries/ms/chains.txt diff --git a/resources/dictionaries/ms/chains.txt b/resources/dictionaries/ms/chains.txt new file mode 100644 index 000000000..c20ba458f --- /dev/null +++ b/resources/dictionaries/ms/chains.txt @@ -0,0 +1,3 @@ +kuala lumpur|federal territory kuala lumpur|federal territory of kuala lumpur|wilayah persekutuan kuala lumpur|kl +labuan|federal territory labuan|federal territory of labuan|wilayah persekutuan labuan +putrajaya|federal territory putrajaya|federal territory of putrajaya|wilayah persekutuan putrajaya \ No newline at end of file From eafc75326044265f9bc57a3a0705f027d69e2c97 Mon Sep 17 00:00:00 2001 From: Zijian Date: Thu, 9 Feb 2023 14:56:35 +0800 Subject: [PATCH 2/4] add malaysia toponyms --- resources/dictionaries/ms/toponyms.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 resources/dictionaries/ms/toponyms.txt diff --git a/resources/dictionaries/ms/toponyms.txt b/resources/dictionaries/ms/toponyms.txt new file mode 100644 index 000000000..046f27bfc --- /dev/null +++ b/resources/dictionaries/ms/toponyms.txt @@ -0,0 +1,3 @@ +kuala lumpur|federal territory kuala lumpur|federal territory of kuala lumpur|wilayah persekutuan kuala lumpur|kl +labuan|federal territory labuan|federal territory of labuan|wilayah persekutuan labuan +putrajaya|federal territory putrajaya|federal territory of putrajaya|wilayah persekutuan putrajaya From 60e626882f3545d5b51569088edf719b4afc97cd Mon Sep 17 00:00:00 2001 From: Zijian Date: Thu, 9 Feb 2023 16:41:52 +0800 Subject: [PATCH 3/4] add malaysia state abbreviation --- resources/states/my.yaml | 93 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 resources/states/my.yaml diff --git a/resources/states/my.yaml b/resources/states/my.yaml new file mode 100644 index 000000000..436a0bcbc --- /dev/null +++ b/resources/states/my.yaml @@ -0,0 +1,93 @@ +"KL": + en: Kuala Lumpur + ms: Kuala Lumpur +"federal territory kuala lumpur": + en: Kuala Lumpur + ms: Kuala Lumpur +"federal territory of kuala lumpur": + en: Kuala Lumpur + ms: Kuala Lumpur +"wilayah persekutuan kuala lumpur": + en: Kuala Lumpur + ms: Kuala Lumpur +"federal territory labuan": + en: Labuan + ms: Labuan +"federal territory of labuan": + en: Labuan + ms: Labuan +"wilayah persekutuan labuan": + en: Labuan + ms: Labuan +"federal territory putrajaya": + en: Putrajaya + ms: Putrajaya +"federal territory of putrajaya": + en: Putrajaya + ms: Putrajaya +"wilayah persekutuan putrajaya": + en: Putrajaya + ms: Putrajaya +"pulau pinang": + en: Penang + ms: Pulau Pinang +"penang": + en: Penang + ms: Pulau Pinang +JHR: + en: Johor + ms: Johor +KDH: + en: Kedah + ms: Kedah +KTN: + en: Kelantan + ms: Kelantan +MLK: + en: Melaka + ms: Melaka +NSN: + en: Negeri Sembilan + ms: Negeri Sembilan +PHG: + en: Pahang + ms: Pahang +PRK: + en: Perak + ms: Perak +PLS: + en: Perlis + ms: Perlis +PNG: + en: Penang + ms: Pulau Pinang +SBH: + en: Sabah + ms: Sabah +SWK: + en: Sarawak + ms: Sarawak +SGR: + en: Selangor + ms: Selangor +TRG: + en: Terengganu + ms: Terengganu +KUL: + en: Kuala Lumpur + ms: Kuala Lumpur +LBN: + en: Labuan + ms: Labuan +PJY: + en: Putrajaya + ms: Putrajaya +KL: + en: Kuala Lumpur + ms: Kuala Lumpur +LB: + en: Labuan + ms: Labuan +PY: + en: Putrajaya + ms: Putrajaya \ No newline at end of file From 1ff4cafed580f5ffb34cc5f27e17d6f6ac633ab5 Mon Sep 17 00:00:00 2001 From: Zijian Date: Thu, 9 Feb 2023 17:21:17 +0800 Subject: [PATCH 4/4] move states abbreviation to toponyms.txt --- resources/dictionaries/ms/chains.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 resources/dictionaries/ms/chains.txt diff --git a/resources/dictionaries/ms/chains.txt b/resources/dictionaries/ms/chains.txt deleted file mode 100644 index c20ba458f..000000000 --- a/resources/dictionaries/ms/chains.txt +++ /dev/null @@ -1,3 +0,0 @@ -kuala lumpur|federal territory kuala lumpur|federal territory of kuala lumpur|wilayah persekutuan kuala lumpur|kl -labuan|federal territory labuan|federal territory of labuan|wilayah persekutuan labuan -putrajaya|federal territory putrajaya|federal territory of putrajaya|wilayah persekutuan putrajaya \ No newline at end of file