From 5c8dae5c4af714d632d29d990e058b0d9099662f Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:41:22 +0530 Subject: [PATCH 01/71] Update generate_emoji_keywords.py to call the centralized function --- .../emoji_keywords/generate_emoji_keywords.py | 44 ++++++++++++------- 1 file changed, 27 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py index d9a06eb4e..7d53b2fb3 100644 --- a/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,36 @@ """ import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data - +# Define the main language LANGUAGE = "English" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +# Set up the argument parser +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the English language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization (e.g., US, UK)." +) + +# Parse the command-line arguments args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +# Call the generate_emoji_keyword function with optional parameters +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 4aeedb5d52bef29852d7f01cf00a2c9b6b5b0502 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:43:40 +0530 Subject: [PATCH 02/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py index 94d7a8db2..774f221c3 100644 --- a/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Basque" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the English language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 5c599db25192576f6586c0001f91bcaa12f56775 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:45:32 +0530 Subject: [PATCH 03/71] Create generate_emoji_keywords.py Arabic --- .../emoji keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Arabic/emoji keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Arabic/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Arabic/emoji keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..62281aab7 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Arabic/emoji keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Arabic words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Arabic" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the English language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 780dad461323e1c7381ca8a8691e8791a4235fa8 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:45:51 +0530 Subject: [PATCH 04/71] Create __init__.py --- .../language_data_extraction/Arabic/emoji keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Arabic/emoji keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Arabic/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Arabic/emoji keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Arabic/emoji keywords/__init__.py @@ -0,0 +1 @@ + From 3ee8409ad69fffc7c0395f988e5a984eef4f39c7 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:47:10 +0530 Subject: [PATCH 05/71] Create generate_emoji_keywords.py Bengali --- .../emoji keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Bengali/emoji keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Bengali/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Bengali/emoji keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..532a8ff70 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Bengali/emoji keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Bengali words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Bengali" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the English language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 47775c0bb45414c4171abd11fe584cb586e93b1b Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:47:31 +0530 Subject: [PATCH 06/71] Create __init__.py --- .../language_data_extraction/Bengali/emoji keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Bengali/emoji keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Bengali/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Bengali/emoji keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Bengali/emoji keywords/__init__.py @@ -0,0 +1 @@ + From 66ef497526abedbf2a19a1e439f092a03f0bac77 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:49:18 +0530 Subject: [PATCH 07/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py index fb1e509b1..057dadfb6 100644 --- a/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py @@ -1,5 +1,5 @@ """ -Generates keyword-emoji relationships from a selection of Mandarin Chinese words. +Generates keyword-emoji relationships from a selection of Madarin Chinese words. .. raw:: html +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Yoruba" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 0f3996193288383e70528153970660d26b5e1736 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:53:37 +0530 Subject: [PATCH 13/71] Create generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..1ac7f1887 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Ukrainian words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Ukranian" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 3395a737c8f6fd1a567785a570f50524670a1854 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:54:11 +0530 Subject: [PATCH 14/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py index 6840fbe70..495a45aa3 100644 --- a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data - -LANGUAGE = "Tamil" -DATA_TYPE = "emoji-keywords" +LANGUAGE = Tamil" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 4a77ae782d4b604fecb66c37b555b63d3c851986 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:54:48 +0530 Subject: [PATCH 15/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py index 24de2b54d..8f134c64f 100644 --- a/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Swedish" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From fcc6cb1b319a4746c103a0b3ed76f300202d08ca Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:55:27 +0530 Subject: [PATCH 16/71] Update generate_emoji_keyword.py --- .../emoji_keywords/generate_emoji_keyword.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py b/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py index f04c2eb0e..9094a83de 100644 --- a/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py +++ b/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Swahili" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 2cdca5e630b20f0bf32ac67884f103314d9e4e1d Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:56:04 +0530 Subject: [PATCH 17/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py index b22344f69..b891e94ff 100644 --- a/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Spanish" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From dc748d9388fcf678afeaf14348222a5e114529f3 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:56:43 +0530 Subject: [PATCH 18/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py index 2b0baa7d3..d2246dea7 100644 --- a/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Slovak" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 1fce1aba5467e25116525608afecefb75d9dd5d6 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:57:32 +0530 Subject: [PATCH 19/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py index 2e6fbfdf3..fef6098b4 100644 --- a/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Russian" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From c4741737dbc8c11425a96b6cbfe8f022e0088b86 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 05:58:27 +0530 Subject: [PATCH 20/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 44 +++++++++++-------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py index cdf55e86b..20e4a5abb 100644 --- a/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py @@ -1,5 +1,5 @@ """ -Generates keyword-emoji relationships from a selection of Portuguese words. +Generates keyword-emoji relationships from a selection of Portugese words. .. raw:: html +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Polish" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 51d3b45d0c5194ac27210e7d4c1b5a825a0e670e Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:02:02 +0530 Subject: [PATCH 22/71] Create generate_emoji_keywords.py --- .../emoji keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..ea3fda123 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Pidgin words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Pidgin" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From c98d0b61562b44fa42dc8bedb71b13324b6508bd Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:02:22 +0530 Subject: [PATCH 23/71] Create __init__.py --- .../Pidgin/Nigerian/emoji keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/__init__.py @@ -0,0 +1 @@ + From 163cf8ca468426c40b0f0b17e129fb799213270c Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:03:20 +0530 Subject: [PATCH 24/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 39 ++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py index fc4809fd5..3f1604783 100644 --- a/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py @@ -20,20 +20,33 @@ --> """ -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Malayalam" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From c5a398085945b7cf940dfa2cbccc9a2d0c9d7d4b Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:04:24 +0530 Subject: [PATCH 25/71] Create generate_emoji_keywords.py --- .../emoji keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Malay/emoji keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Malay/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Malay/emoji keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..94bf4bb92 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Malay/emoji keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Malay words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Malay" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From ed2ba490cfd8a9ad05781cb04423b3d37ccb84a8 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:05:00 +0530 Subject: [PATCH 26/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 41 +++++++++++-------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py index 818bb0d9f..7ba7b9782 100644 --- a/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py @@ -1,4 +1,3 @@ - """ Generates keyword-emoji relationships from a selection of Latin words. @@ -22,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Latin" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 2f794cabc24f81a4303ef8f48affb10d5295947a Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:05:56 +0530 Subject: [PATCH 27/71] Create generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..91a51281d --- /dev/null +++ b/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Kurmanji words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Kurmanji" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 235da22caa1ac8ec3582a970db31b74448155642 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:06:24 +0530 Subject: [PATCH 28/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py index 8a710ceaa..f6a5d1268 100644 --- a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data - -LANGUAGE = "Korean" -DATA_TYPE = "emoji-keywords" +LANGUAGE = Korean" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From d86e01dcac96574d9ec2c8c05ebc8aef2c3d85aa Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:07:07 +0530 Subject: [PATCH 29/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 39 ++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py index 72f75a449..454fafb2b 100644 --- a/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py @@ -20,20 +20,33 @@ --> """ -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Danish" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From e831193189e4024f9dcb7976b872fe3dadfb87bb Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:08:07 +0530 Subject: [PATCH 30/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py index 7ef3de7fe..17674b269 100644 --- a/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Japanese" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 603670334348593362da4d6ff29dd96de4a0e199 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:08:47 +0530 Subject: [PATCH 31/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py index 1843e4851..a3ceda77f 100644 --- a/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Italian" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 92aa66a91c45eb7df32e0e56729243ef00333cb2 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:09:37 +0530 Subject: [PATCH 32/71] Update genetate_emoji_keywords.py --- .../emoji_keywords/genetate_emoji_keywords.py | 42 +++++++++++-------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py index c223516db..25eebe1fa 100644 --- a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/genetate_emoji_keywords.py @@ -1,5 +1,5 @@ """ -Generates keyword-emoji relationships from a selection of Slovak words. +Generates keyword-emoji relationships from a selection of Indonesian words. .. raw:: html +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Hebrew" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From ffe52e3c94a2aa8e86ff53991a8435c58bef3e6a Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:11:21 +0530 Subject: [PATCH 35/71] Create __init__.py --- .../language_data_extraction/Hebrew/emoji keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Hebrew/emoji keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Hebrew/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Hebrew/emoji keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Hebrew/emoji keywords/__init__.py @@ -0,0 +1 @@ + From 9b36fb8e78f5903fae00056942661f142832f4a4 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:11:56 +0530 Subject: [PATCH 36/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py index 476fab10c..94fb0c7dc 100644 --- a/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Hausa" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From c93bdbe28119c0f5a1367c8fab8b77cb23ba6b14 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:12:47 +0530 Subject: [PATCH 37/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py index 25f01b178..f91f17fc0 100644 --- a/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Esperanto" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From ed55acb54b2b660c6e486f3edbf936119846d3bb Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:13:32 +0530 Subject: [PATCH 38/71] Update generate_emoji_keyword.py --- .../emoji_keywords/generate_emoji_keyword.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py b/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py index c7434cc20..d7eb8aa21 100644 --- a/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py +++ b/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Estonian" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 007d653b10027705120af4375671aaff8690bfcc Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:14:09 +0530 Subject: [PATCH 39/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py index 265ab9811..0681cebfa 100644 --- a/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "Finnish" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 35b044cb2d3fd6f029e3e6ea88b398e43705ceeb Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:14:59 +0530 Subject: [PATCH 40/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py index 6e6dcb7f3..c6239f307 100644 --- a/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "French" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From ad5b8503474652896e7e52334efb3eeda42b1b7f Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:16:24 +0530 Subject: [PATCH 41/71] Update generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 40 +++++++++++-------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py index e904c2270..a09e842e8 100644 --- a/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py @@ -21,26 +21,32 @@ """ import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword LANGUAGE = "German" -DATA_TYPE = "emoji-keywords" emojis_per_keyword = 3 -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + args = parser.parse_args() -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From bfaafa73e115ca3ca35b7646fefad20dfc7b95a2 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:17:33 +0530 Subject: [PATCH 42/71] Create generate_emoji_keywords.py --- .../emoji keywords/generate_emoji_keywords.py | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Greek/emoji keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Greek/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Greek/emoji keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..2c161310d --- /dev/null +++ b/src/scribe_data/language_data_extraction/Greek/emoji keywords/generate_emoji_keywords.py @@ -0,0 +1,52 @@ +""" +Generates keyword-emoji relationships from a selection of Greek words. + +.. raw:: html + +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +LANGUAGE = "Greek" +emojis_per_keyword = 3 + +parser = argparse.ArgumentParser( + description="Generate emoji keywords for the language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +args = parser.parse_args() + +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, +) From 2addbabd59d8f7bed7a045c7dc3082b78218a4b5 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 06:17:53 +0530 Subject: [PATCH 43/71] Create __init__.py --- .../language_data_extraction/Greek/emoji keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Greek/emoji keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Greek/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Greek/emoji keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Greek/emoji keywords/__init__.py @@ -0,0 +1 @@ + From 05f1c499c9360bfb7bf3fb21fda8532fbe45cec2 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 10:57:53 +0530 Subject: [PATCH 44/71] Create generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..68d5f0393 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py @@ -0,0 +1,57 @@ +""" +* Copyright (C) 2024 Scribe +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +# Define the main language +LANGUAGE = "Hindustani" # Change to a grouped language if needed +emojis_per_keyword = 3 + +# Set up the argument parser +parser = argparse.ArgumentParser( + description="Generate emoji keywords for a specific language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--sub-languages", + nargs="*", + help="List of specific sub-languages to process (e.g., Hindi Urdu). If omitted, all sub-languages will be processed.", +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization (e.g., US, IN)." +) + +# Parse the command-line arguments +args = parser.parse_args() + +# Call the generate_emoji_keyword function with optional parameters +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, + sub_languages=args.sub_languages, +) From 65477ec1cdfe50ed89675208d2cb25921bc3c3f1 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 10:59:33 +0530 Subject: [PATCH 45/71] Create generate_emoji_keywords.py --- .../generate_emoji_keywords.py" | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" new file mode 100644 index 000000000..6cd3a4c53 --- /dev/null +++ "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" @@ -0,0 +1,58 @@ + +""" +* Copyright (C) 2024 Scribe +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +# Define the main language +LANGUAGE = "Norwegian" # Change to a grouped language if needed +emojis_per_keyword = 3 + +# Set up the argument parser +parser = argparse.ArgumentParser( + description="Generate emoji keywords for a specific language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--sub-languages", + nargs="*", + help="List of specific sub-languages to process (e.g., Bokmal and Nynorsk. If omitted, all sub-languages will be processed.", +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization (e.g., US, IN)." +) + +# Parse the command-line arguments +args = parser.parse_args() + +# Call the generate_emoji_keyword function with optional parameters +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, + sub_languages=args.sub_languages, +) From 592d5bef3b4f6353412484218f34c11cbe19da21 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:00:16 +0530 Subject: [PATCH 46/71] Create __init_.py --- .../Norwegian/Bokm\303\245l/emoji keywords/__init_.py" | 1 + 1 file changed, 1 insertion(+) create mode 100644 "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" @@ -0,0 +1 @@ + From c2bde64bd87403f131537ff50b07f62f77cc8bc6 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:02:05 +0530 Subject: [PATCH 47/71] Create generate_emoji_keywords.py --- .../emoji keywords/generate_emoji_keywords.py | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..481b97a23 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/generate_emoji_keywords.py @@ -0,0 +1,57 @@ +""" +* Copyright (C) 2024 Scribe +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +# Define the main language +LANGUAGE = "Norwegian" # Change to a grouped language if needed +emojis_per_keyword = 3 + +# Set up the argument parser +parser = argparse.ArgumentParser( + description="Generate emoji keywords for a specific language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--sub-languages", + nargs="*", + help="List of specific sub-languages to process. If omitted, all sub-languages will be processed.", +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization (e.g., US, IN)." +) + +# Parse the command-line arguments +args = parser.parse_args() + +# Call the generate_emoji_keyword function with optional parameters +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, + sub_languages=args.sub_languages, +) From 373daaa453cdf76a931f974acae6d8c63f342a2f Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:02:36 +0530 Subject: [PATCH 48/71] Create __init__.py --- .../Norwegian/Nynorsk/emoji keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/__init__.py @@ -0,0 +1 @@ + From 76d743ad9f4c458772de37640f97d533728064fe Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:04:53 +0530 Subject: [PATCH 49/71] Create generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..e0a034aff --- /dev/null +++ b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py @@ -0,0 +1,57 @@ +""" +* Copyright (C) 2024 Scribe +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +# Define the main language +LANGUAGE = "Punjabi" # Change to a grouped language if needed +emojis_per_keyword = 3 + +# Set up the argument parser +parser = argparse.ArgumentParser( + description="Generate emoji keywords for a specific language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--sub-languages", + nargs="*", + help="List of specific sub-languages to process. If omitted, all sub-languages will be processed.", +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +# Parse the command-line arguments +args = parser.parse_args() + +# Call the generate_emoji_keyword function with optional parameters +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, + sub_languages=args.sub_languages, +) From e55fc861baf100dcb7f15689fd30e858c0006712 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:05:37 +0530 Subject: [PATCH 50/71] Create generate_emoji_keywords.py --- .../emoji_keywords/generate_emoji_keywords.py | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py new file mode 100644 index 000000000..e0a034aff --- /dev/null +++ b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py @@ -0,0 +1,57 @@ +""" +* Copyright (C) 2024 Scribe +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +""" + +import argparse +from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword + +# Define the main language +LANGUAGE = "Punjabi" # Change to a grouped language if needed +emojis_per_keyword = 3 + +# Set up the argument parser +parser = argparse.ArgumentParser( + description="Generate emoji keywords for a specific language." +) +parser.add_argument( + "--file-path", required=True, help="Path to save the generated emoji keywords." +) +parser.add_argument( + "--sub-languages", + nargs="*", + help="List of specific sub-languages to process. If omitted, all sub-languages will be processed.", +) +parser.add_argument( + "--gender", + choices=["male", "female", "neutral"], + help="Specify the gender for emoji customization.", +) +parser.add_argument( + "--region", help="Specify the region for emoji customization." +) + +# Parse the command-line arguments +args = parser.parse_args() + +# Call the generate_emoji_keyword function with optional parameters +generate_emoji_keyword( + LANGUAGE, + emojis_per_keyword, + args.file_path, + gender=args.gender, + region=args.region, + sub_languages=args.sub_languages, +) From 44bf081fab7d8696d8f1745ecb2313e665e3d3c4 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Fri, 18 Oct 2024 11:14:21 +0530 Subject: [PATCH 51/71] Update generate_emoji_keywords.py --- .../Korean/emoji_keywords/generate_emoji_keywords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py index f6a5d1268..e87aadb8e 100644 --- a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py @@ -23,7 +23,7 @@ import argparse from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword -LANGUAGE = Korean" +LANGUAGE = "Korean" emojis_per_keyword = 3 parser = argparse.ArgumentParser( From 742121d9610ee5fdadb798726e6dbe8d0978e88c Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Fri, 18 Oct 2024 11:14:48 +0530 Subject: [PATCH 52/71] Update generate_emoji_keywords.py --- .../Tamil/emoji_keywords/generate_emoji_keywords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py index 495a45aa3..a7b1e6c00 100644 --- a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py +++ b/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py @@ -23,7 +23,7 @@ import argparse from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword -LANGUAGE = Tamil" +LANGUAGE = "Tamil" emojis_per_keyword = 3 parser = argparse.ArgumentParser( From 6605e859957692608f10b435f4f5428059d3390e Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:39:46 +0530 Subject: [PATCH 53/71] Rename generate_emoji_keywords.py to generate_emoji_keywords.py --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Arabic/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Arabic/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Arabic/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Arabic/emoji_keywords/generate_emoji_keywords.py From 40f50f545d190e3555a42c52165af0a6a708d498 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:41:04 +0530 Subject: [PATCH 54/71] Rename directory --- .../Arabic/{emoji keywords => emoji_keywords}/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Arabic/{emoji keywords => emoji_keywords}/__init__.py (100%) diff --git a/src/scribe_data/language_data_extraction/Arabic/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/__init__.py similarity index 100% rename from src/scribe_data/language_data_extraction/Arabic/emoji keywords/__init__.py rename to src/scribe_data/language_data_extraction/Arabic/emoji_keywords/__init__.py From 6ca53eb900435c8e05f6c32e08410895dfa9c05e Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:42:05 +0530 Subject: [PATCH 55/71] Rename __init__.py to __init__.py --- .../Bengali/{emoji keywords => emoji_keywords}/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Bengali/{emoji keywords => emoji_keywords}/__init__.py (100%) diff --git a/src/scribe_data/language_data_extraction/Bengali/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/__init__.py similarity index 100% rename from src/scribe_data/language_data_extraction/Bengali/emoji keywords/__init__.py rename to src/scribe_data/language_data_extraction/Bengali/emoji_keywords/__init__.py From 524a162bf78445f216ccc86df970cdf79471e2b5 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:42:42 +0530 Subject: [PATCH 56/71] Rename directory --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Bengali/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Bengali/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Bengali/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Bengali/emoji_keywords/generate_emoji_keywords.py From faacbe3a7eb220867d65501fb5849b60937e339f Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:44:03 +0530 Subject: [PATCH 57/71] Rename __init__.py to __init__.py --- .../Greek/{emoji keywords => emoji_keywords}/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Greek/{emoji keywords => emoji_keywords}/__init__.py (100%) diff --git a/src/scribe_data/language_data_extraction/Greek/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Greek/emoji_keywords/__init__.py similarity index 100% rename from src/scribe_data/language_data_extraction/Greek/emoji keywords/__init__.py rename to src/scribe_data/language_data_extraction/Greek/emoji_keywords/__init__.py From cf30055b69972d81042fbe989a5314d721979169 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:44:35 +0530 Subject: [PATCH 58/71] Rename generate_emoji_keywords.py to generate_emoji_keywords.py --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Greek/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Greek/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Greek/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Greek/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Greek/emoji_keywords/generate_emoji_keywords.py From 2a4aa8d7c89210cc8ec0fca26a2a3f55947b9401 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:45:38 +0530 Subject: [PATCH 59/71] Rename directory --- .../Hebrew/{emoji keywords => emoji_keywords}/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Hebrew/{emoji keywords => emoji_keywords}/__init__.py (100%) diff --git a/src/scribe_data/language_data_extraction/Hebrew/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/__init__.py similarity index 100% rename from src/scribe_data/language_data_extraction/Hebrew/emoji keywords/__init__.py rename to src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/__init__.py From d7898223cd05732a6cfb8baea506740164522611 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:46:02 +0530 Subject: [PATCH 60/71] Rename directory --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Hebrew/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Hebrew/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Hebrew/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/generate_emoji_keywords.py From 871f2dd2fc7ef2610aabc59956d0cf4f570070bb Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:47:15 +0530 Subject: [PATCH 61/71] Rename directory --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Malay/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Malay/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Malay/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Malay/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Malay/emoji_keywords/generate_emoji_keywords.py From 62140a722fe7167d0ec643cf5acad3e45399dc86 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:47:34 +0530 Subject: [PATCH 62/71] Create __init__.py --- .../language_data_extraction/Malay/emoji_keywords/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py @@ -0,0 +1 @@ + From 4321c6d71e5cfccff9b8acc15a19914868f53881 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:49:16 +0530 Subject: [PATCH 63/71] Rename directory --- .../Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" => "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" (100%) diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" similarity index 100% rename from "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/__init_.py" rename to "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" From 97973a20da25b9d808c39da5b33550f54cb73810 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:49:50 +0530 Subject: [PATCH 64/71] Rename directory --- .../Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" => "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" (100%) diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" similarity index 100% rename from "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji keywords/generate_emoji_keywords.py" rename to "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" From 647fd8d87565157aec6e0d37866a2c5488da3373 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:50:16 +0530 Subject: [PATCH 65/71] Rename __init__.py to __init__.py --- .../Nynorsk/{emoji keywords => emoji_keywords}/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Norwegian/Nynorsk/{emoji keywords => emoji_keywords}/__init__.py (100%) diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/__init__.py similarity index 100% rename from src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/__init__.py rename to src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/__init__.py From ac7774165595f3c93485e4c50a1a8008c0e91a47 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:50:41 +0530 Subject: [PATCH 66/71] Rename directory --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Norwegian/Nynorsk/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/generate_emoji_keywords.py From 9bba9396b5efef718aefd3d2075a068da6d7516a Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:51:13 +0530 Subject: [PATCH 67/71] Rename directory --- .../Nigerian/{emoji keywords => emoji_keywords}/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Pidgin/Nigerian/{emoji keywords => emoji_keywords}/__init__.py (100%) diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/__init__.py b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/__init__.py similarity index 100% rename from src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/__init__.py rename to src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/__init__.py From f98d653964cf87548c97b5eac535743f6bf47682 Mon Sep 17 00:00:00 2001 From: Arpita kesharwani <107834813+KesharwaniArpita@users.noreply.github.com> Date: Sat, 19 Oct 2024 16:51:35 +0530 Subject: [PATCH 68/71] Rename generate_emoji_keywords.py to generate_emoji_keywords.py --- .../{emoji keywords => emoji_keywords}/generate_emoji_keywords.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scribe_data/language_data_extraction/Pidgin/Nigerian/{emoji keywords => emoji_keywords}/generate_emoji_keywords.py (100%) diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/generate_emoji_keywords.py similarity index 100% rename from src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji keywords/generate_emoji_keywords.py rename to src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/generate_emoji_keywords.py From 20acfc424d2a448cbb180871868a9111665acf6a Mon Sep 17 00:00:00 2001 From: Arpita Kesharwani Date: Sat, 19 Oct 2024 23:18:45 +0530 Subject: [PATCH 69/71] Removed multiple emoji_keywords files --- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 56 ------------------ .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keyword.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 47 --------------- .../emoji_keywords/generate_emoji_keywords.py | 57 ------------------ .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../Korean/emoji_keywords/__init__.py | 0 .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../generate_emoji_keywords.py" | 58 ------------------- .../emoji_keywords/generate_emoji_keywords.py | 57 ------------------ .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 57 ------------------ .../emoji_keywords/generate_emoji_keywords.py | 57 ------------------ .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keyword.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 46 --------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- .../emoji_keywords/generate_emoji_keywords.py | 52 ----------------- 42 files changed, 2151 deletions(-) delete mode 100644 src/scribe_data/language_data_extraction/Arabic/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Bengali/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Czech/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py delete mode 100644 src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Greek/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Hindustani/Hindi/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py create mode 100644 src/scribe_data/language_data_extraction/Korean/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Malay/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py delete mode 100644 "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" delete mode 100644 src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Polish/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py delete mode 100644 src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Tajik/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py delete mode 100644 src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/generate_emoji_keywords.py diff --git a/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 46b4a1f62..000000000 --- a/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Arabic words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Arabic" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 10a5eacf7..000000000 --- a/src/scribe_data/language_data_extraction/Basque/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Basque words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Basque" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 9fc2eaef9..000000000 --- a/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Bengali words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Bengali" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 057dadfb6..000000000 --- a/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Madarin Chinese words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Standard Mandarin" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Czech/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Czech/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 7282cfebb..000000000 --- a/src/scribe_data/language_data_extraction/Czech/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Czech words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Czech" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 454fafb2b..000000000 --- a/src/scribe_data/language_data_extraction/Danish/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Danish words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Danish" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 7d53b2fb3..000000000 --- a/src/scribe_data/language_data_extraction/English/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,56 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of English words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -# Define the main language -LANGUAGE = "English" -emojis_per_keyword = 3 - -# Set up the argument parser -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the English language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization (e.g., US, UK)." -) - -# Parse the command-line arguments -args = parser.parse_args() - -# Call the generate_emoji_keyword function with optional parameters -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index f91f17fc0..000000000 --- a/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Esperanto words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Esperanto" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py b/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py deleted file mode 100644 index d7eb8aa21..000000000 --- a/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/generate_emoji_keyword.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Estonian words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Estonian" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 0681cebfa..000000000 --- a/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Finnish words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Finnish" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index c6239f307..000000000 --- a/src/scribe_data/language_data_extraction/French/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of French words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "French" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index a09e842e8..000000000 --- a/src/scribe_data/language_data_extraction/German/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of German words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "German" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Greek/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Greek/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 2c161310d..000000000 --- a/src/scribe_data/language_data_extraction/Greek/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Greek words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Greek" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 94fb0c7dc..000000000 --- a/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Hausa words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Hausa" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index effe385ff..000000000 --- a/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Hebrew words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Hebrew" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Hindustani/Hindi/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hindustani/Hindi/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 3003fbdd7..000000000 --- a/src/scribe_data/language_data_extraction/Hindustani/Hindi/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,47 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Hindi words, ensuring Urdu words are excluded. - -.. raw:: html - -""" - -import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data - -LANGUAGE = "Hindi" -DATA_TYPE = "emoji-keywords" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") -args = parser.parse_args() - -# Generating emoji lexicon but filter for Hindi specifically -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language="Hindi", # Setting final language to Hindi for output purposes - data_type=DATA_TYPE, - ) diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 68d5f0393..000000000 --- a/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,57 +0,0 @@ -""" -* Copyright (C) 2024 Scribe -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -# Define the main language -LANGUAGE = "Hindustani" # Change to a grouped language if needed -emojis_per_keyword = 3 - -# Set up the argument parser -parser = argparse.ArgumentParser( - description="Generate emoji keywords for a specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--sub-languages", - nargs="*", - help="List of specific sub-languages to process (e.g., Hindi Urdu). If omitted, all sub-languages will be processed.", -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization (e.g., US, IN)." -) - -# Parse the command-line arguments -args = parser.parse_args() - -# Call the generate_emoji_keyword function with optional parameters -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, - sub_languages=args.sub_languages, -) diff --git a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 25eebe1fa..000000000 --- a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Indonesian words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Indonesian" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index a3ceda77f..000000000 --- a/src/scribe_data/language_data_extraction/Italian/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Italian words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Italian" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 17674b269..000000000 --- a/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Japanese words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Japanese" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index e87aadb8e..000000000 --- a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Korean words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Korean" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 91a51281d..000000000 --- a/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Kurmanji words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Kurmanji" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 7ba7b9782..000000000 --- a/src/scribe_data/language_data_extraction/Latin/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Latin words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Latin" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Malay/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Malay/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 94bf4bb92..000000000 --- a/src/scribe_data/language_data_extraction/Malay/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Malay words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Malay" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 3f1604783..000000000 --- a/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Malayalam words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Malayalam" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" deleted file mode 100644 index 6cd3a4c53..000000000 --- "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/generate_emoji_keywords.py" +++ /dev/null @@ -1,58 +0,0 @@ - -""" -* Copyright (C) 2024 Scribe -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -# Define the main language -LANGUAGE = "Norwegian" # Change to a grouped language if needed -emojis_per_keyword = 3 - -# Set up the argument parser -parser = argparse.ArgumentParser( - description="Generate emoji keywords for a specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--sub-languages", - nargs="*", - help="List of specific sub-languages to process (e.g., Bokmal and Nynorsk. If omitted, all sub-languages will be processed.", -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization (e.g., US, IN)." -) - -# Parse the command-line arguments -args = parser.parse_args() - -# Call the generate_emoji_keyword function with optional parameters -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, - sub_languages=args.sub_languages, -) diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 481b97a23..000000000 --- a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,57 +0,0 @@ -""" -* Copyright (C) 2024 Scribe -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -# Define the main language -LANGUAGE = "Norwegian" # Change to a grouped language if needed -emojis_per_keyword = 3 - -# Set up the argument parser -parser = argparse.ArgumentParser( - description="Generate emoji keywords for a specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--sub-languages", - nargs="*", - help="List of specific sub-languages to process. If omitted, all sub-languages will be processed.", -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization (e.g., US, IN)." -) - -# Parse the command-line arguments -args = parser.parse_args() - -# Call the generate_emoji_keyword function with optional parameters -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, - sub_languages=args.sub_languages, -) diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index ea3fda123..000000000 --- a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Pidgin words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Pidgin" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Polish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Polish/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 14e31f992..000000000 --- a/src/scribe_data/language_data_extraction/Polish/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Polish words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Polish" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 20e4a5abb..000000000 --- a/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Portugese words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Portugese" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index e0a034aff..000000000 --- a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,57 +0,0 @@ -""" -* Copyright (C) 2024 Scribe -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -# Define the main language -LANGUAGE = "Punjabi" # Change to a grouped language if needed -emojis_per_keyword = 3 - -# Set up the argument parser -parser = argparse.ArgumentParser( - description="Generate emoji keywords for a specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--sub-languages", - nargs="*", - help="List of specific sub-languages to process. If omitted, all sub-languages will be processed.", -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -# Parse the command-line arguments -args = parser.parse_args() - -# Call the generate_emoji_keyword function with optional parameters -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, - sub_languages=args.sub_languages, -) diff --git a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index e0a034aff..000000000 --- a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,57 +0,0 @@ -""" -* Copyright (C) 2024 Scribe -* -* This program is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program. If not, see . -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -# Define the main language -LANGUAGE = "Punjabi" # Change to a grouped language if needed -emojis_per_keyword = 3 - -# Set up the argument parser -parser = argparse.ArgumentParser( - description="Generate emoji keywords for a specific language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--sub-languages", - nargs="*", - help="List of specific sub-languages to process. If omitted, all sub-languages will be processed.", -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -# Parse the command-line arguments -args = parser.parse_args() - -# Call the generate_emoji_keyword function with optional parameters -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, - sub_languages=args.sub_languages, -) diff --git a/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index fef6098b4..000000000 --- a/src/scribe_data/language_data_extraction/Russian/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Russian words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Russian" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index d2246dea7..000000000 --- a/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Slovak words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Slovak" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index b891e94ff..000000000 --- a/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Spanish words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Spanish" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py b/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py deleted file mode 100644 index 9094a83de..000000000 --- a/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/generate_emoji_keyword.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Swahili words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Swahili" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 8f134c64f..000000000 --- a/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Swedish words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Swedish" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Tajik/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Tajik/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index bb4793e09..000000000 --- a/src/scribe_data/language_data_extraction/Tajik/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,46 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Tajik words. - -.. raw:: html - -""" - -import argparse - -from scribe_data.unicode.process_unicode import gen_emoji_lexicon -from scribe_data.utils import export_formatted_data - -LANGUAGE = "Tajik" -DATA_TYPE = "emoji-keywords" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser() -parser.add_argument("--file-path") -args = parser.parse_args() - -if emoji_keywords_dict := gen_emoji_lexicon( - language=LANGUAGE, - emojis_per_keyword=emojis_per_keyword, -): - export_formatted_data( - file_path=args.file_path, - formatted_data=emoji_keywords_dict, - query_data_in_use=True, - language=LANGUAGE, - data_type=DATA_TYPE, - ) diff --git a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index a7b1e6c00..000000000 --- a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Tamil words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Tamil" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index 1ac7f1887..000000000 --- a/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Ukrainian words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Ukranian" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) diff --git a/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/generate_emoji_keywords.py b/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/generate_emoji_keywords.py deleted file mode 100644 index e5a5caaee..000000000 --- a/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/generate_emoji_keywords.py +++ /dev/null @@ -1,52 +0,0 @@ -""" -Generates keyword-emoji relationships from a selection of Yoruba words. - -.. raw:: html - -""" - -import argparse -from scribe_data.unicode.generate_emoji_keyword import generate_emoji_keyword - -LANGUAGE = "Yoruba" -emojis_per_keyword = 3 - -parser = argparse.ArgumentParser( - description="Generate emoji keywords for the language." -) -parser.add_argument( - "--file-path", required=True, help="Path to save the generated emoji keywords." -) -parser.add_argument( - "--gender", - choices=["male", "female", "neutral"], - help="Specify the gender for emoji customization.", -) -parser.add_argument( - "--region", help="Specify the region for emoji customization." -) - -args = parser.parse_args() - -generate_emoji_keyword( - LANGUAGE, - emojis_per_keyword, - args.file_path, - gender=args.gender, - region=args.region, -) From b85ab63040f568ca31100d857b3a2ff6797889b0 Mon Sep 17 00:00:00 2001 From: Arpita Kesharwani Date: Sun, 20 Oct 2024 18:39:18 +0530 Subject: [PATCH 70/71] Deleted emoji keywords folders --- .../language_data_extraction/Arabic/emoji_keywords/__init__.py | 1 - .../language_data_extraction/Basque/emoji_keywords/__init__.py | 0 .../language_data_extraction/Bengali/emoji_keywords/__init__.py | 1 - .../Chinese/Mandarin/emoji_keywords/__init__.py | 0 .../language_data_extraction/Czech/emoji_keywords/__init__.py | 0 .../language_data_extraction/Danish/emoji_keywords/__init__.py | 0 .../language_data_extraction/English/emoji_keywords/__init__.py | 0 .../Esperanto/emoji_keywords/__init__.py | 0 .../language_data_extraction/Estonian/emoji_keywords/__init__.py | 0 .../language_data_extraction/Finnish/emoji_keywords/__init__.py | 0 .../language_data_extraction/French/emoji_keywords/__init__.py | 0 .../language_data_extraction/German/emoji_keywords/__init__.py | 0 .../language_data_extraction/Greek/emoji_keywords/__init__.py | 1 - .../language_data_extraction/Hausa/emoji_keywords/__init__.py | 0 .../language_data_extraction/Hebrew/emoji_keywords/__init__.py | 1 - .../Hindustani/Urdu/emoji_keywords/__init__.py | 0 .../Indonesian/emoji_keywords/__init__.py | 1 - .../language_data_extraction/Italian/emoji_keywords/__init__.py | 0 .../language_data_extraction/Japanese/emoji_keywords/__init__.py | 0 .../language_data_extraction/Korean/emoji_keywords/__init__.py | 0 .../language_data_extraction/Kurmanji/emoji_keywords/__init__.py | 0 .../language_data_extraction/Latin/emoji_keywords/__init__.py | 1 - .../language_data_extraction/Malay/emoji_keywords/__init__.py | 1 - .../Malayalam/emoji_keywords/__init__.py | 0 .../Norwegian/Nynorsk/emoji_keywords/__init__.py | 1 - .../Pidgin/Nigerian/emoji_keywords/__init__.py | 1 - .../language_data_extraction/Polish/emoji_keywords/__init__.py | 0 .../Portuguese/emoji_keywords/__init__.py | 0 .../Punjabi/Gurmukhi/emoji_keywords/__init__.py | 0 .../Punjabi/Shahmukhi/emoji_keywords/__init__.py | 0 .../language_data_extraction/Russian/emoji_keywords/__init__.py | 0 .../language_data_extraction/Slovak/emoji_keywords/__init__.py | 0 .../language_data_extraction/Spanish/emoji_keywords/__init__.py | 0 .../language_data_extraction/Swahili/emoji_keywords/__init__.py | 0 .../language_data_extraction/Swedish/emoji_keywords/__init__.py | 0 .../language_data_extraction/Tajik/emoji_keywords/__init__.py | 0 .../language_data_extraction/Tamil/emoji_keywords/__init__.py | 0 .../Ukrainian/emoji_keywords/__init__.py | 0 .../language_data_extraction/Yoruba/emoji_keywords/__init__.py | 0 39 files changed, 9 deletions(-) delete mode 100644 src/scribe_data/language_data_extraction/Arabic/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Basque/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Bengali/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Czech/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Danish/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/English/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Estonian/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Finnish/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/French/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/German/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Greek/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Hausa/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Italian/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Japanese/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Korean/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Latin/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Polish/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Russian/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Slovak/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Spanish/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Swahili/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Swedish/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Tajik/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Tamil/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/__init__.py delete mode 100644 src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/__init__.py diff --git a/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Arabic/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Basque/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Basque/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Bengali/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Chinese/Mandarin/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Czech/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Czech/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Danish/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Danish/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/English/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/English/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Esperanto/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Estonian/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Finnish/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/French/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/French/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/German/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/German/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Greek/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Greek/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Greek/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Hausa/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Hebrew/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Hindustani/Urdu/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Indonesian/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Italian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Italian/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Japanese/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Korean/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Korean/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Kurmanji/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Latin/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Latin/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Latin/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Malay/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Malayalam/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Norwegian/Nynorsk/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/__init__.py deleted file mode 100644 index 8b1378917..000000000 --- a/src/scribe_data/language_data_extraction/Pidgin/Nigerian/emoji_keywords/__init__.py +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/scribe_data/language_data_extraction/Polish/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Polish/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Portuguese/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Punjabi/Gurmukhi/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Punjabi/Shahmukhi/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Russian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Russian/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Slovak/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Spanish/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Swahili/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Swedish/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Tajik/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Tajik/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Tamil/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Ukrainian/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/__init__.py b/src/scribe_data/language_data_extraction/Yoruba/emoji_keywords/__init__.py deleted file mode 100644 index e69de29bb..000000000 From eb928caaae30a51d5e5ac18533922434fa3b35c6 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Thu, 24 Oct 2024 02:16:34 +0200 Subject: [PATCH 71/71] Remove file that wasn't --- .../Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" | 1 - 1 file changed, 1 deletion(-) delete mode 100644 "src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" diff --git "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" "b/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" deleted file mode 100644 index 8b1378917..000000000 --- "a/src/scribe_data/language_data_extraction/Norwegian/Bokm\303\245l/emoji_keywords/__init_.py" +++ /dev/null @@ -1 +0,0 @@ -