Skip to content

Commit

Permalink
Update language_list.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NIXBLACK11 authored Nov 17, 2023
1 parent 273afd4 commit 293b974
Showing 1 changed file with 95 additions and 94 deletions.
189 changes: 95 additions & 94 deletions laser_encoders/language_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ def build_language_names_dict(language_list, language_names):
"ydd_Hebr",
"yor_Latn",
"zsm_Latn",
"zul_Latn"
"zul_Latn",
]


Expand All @@ -454,99 +454,100 @@ def build_language_names_dict(language_list, language_names):
###### LASER 2 ###################
##################################

LASER2_LANGUAGES_LIST = matching_keys = [
'acm_Arab',
'acq_Arab',
'aeb_Arab',
'afr_Latn',
'ajp_Arab',
'amh_Ethi',
'apc_Arab',
'arb_Arab',
'arb_Latn',
'ars_Arab',
'ary_Arab',
'arz_Arab',
'ayr_Latn',
'azb_Arab',
'azj_Latn',
'bel_Cyrl',
'ben_Beng',
'bos_Latn',
'bul_Cyrl',
'cat_Latn',
'ces_Latn',
'ckb_Arab',
'crh_Latn',
'dan_Latn',
'deu_Latn',
'ell_Grek',
'eng_Latn',
'epo_Latn',
'est_Latn',
'eus_Latn',
'fin_Latn',
'fra_Latn',
'gle_Latn',
'glg_Latn',
'hau_Latn',
'heb_Hebr',
'hin_Deva',
'hrv_Latn',
'hun_Latn',
'hye_Armn',
'ind_Latn',
'isl_Latn',
'ita_Latn',
'jpn_Jpan',
'kab_Latn',
'kat_Geor',
'kaz_Cyrl',
'khm_Khmr',
'kmr_Latn',
'kor_Hang',
'lit_Latn',
'lvs_Latn',
'mal_Mlym',
'mar_Deva',
'mkd_Cyrl',
'plt_Latn',
'mya_Mymr',
'nld_Latn',
'nob_Latn',
'oci_Latn',
'pes_Arab',
'pol_Latn',
'por_Latn',
'ron_Latn',
'rus_Cyrl',
'sin_Sinh',
'slk_Latn',
'slv_Latn',
'snd_Arab',
'som_Latn',
'spa_Latn',
'als_Latn',
'srp_Cyrl',
'swe_Latn',
'swh_Latn',
'tam_Taml',
'tat_Cyrl',
'tel_Telu',
'tgk_Cyrl',
'tgl_Latn',
'tha_Thai',
'tur_Latn',
'uig_Arab',
'ukr_Cyrl',
'urd_Arab',
'uzn_Latn',
'vie_Latn',
'yue_Hant',
'yue_Hant',
'zho_Hans',
'zho_Hant',
'zsm_Latn'
LASER2_LANGUAGES_LIST = [
"acm_Arab",
"acq_Arab",
"aeb_Arab",
"afr_Latn",
"ajp_Arab",
"amh_Ethi",
"apc_Arab",
"arb_Arab",
"arb_Latn",
"ars_Arab",
"ary_Arab",
"arz_Arab",
"ayr_Latn",
"azb_Arab",
"azj_Latn",
"bel_Cyrl",
"ben_Beng",
"bos_Latn",
"bul_Cyrl",
"cat_Latn",
"ces_Latn",
"ckb_Arab",
"crh_Latn",
"dan_Latn",
"deu_Latn",
"ell_Grek",
"eng_Latn",
"epo_Latn",
"est_Latn",
"eus_Latn",
"fin_Latn",
"fra_Latn",
"gle_Latn",
"glg_Latn",
"hau_Latn",
"heb_Hebr",
"hin_Deva",
"hrv_Latn",
"hun_Latn",
"hye_Armn",
"ind_Latn",
"isl_Latn",
"ita_Latn",
"jpn_Jpan",
"kab_Latn",
"kat_Geor",
"kaz_Cyrl",
"khm_Khmr",
"kmr_Latn",
"kor_Hang",
"lit_Latn",
"lvs_Latn",
"mal_Mlym",
"mar_Deva",
"mkd_Cyrl",
"plt_Latn",
"mya_Mymr",
"nld_Latn",
"nob_Latn",
"oci_Latn",
"pes_Arab",
"pol_Latn",
"por_Latn",
"ron_Latn",
"rus_Cyrl",
"sin_Sinh",
"slk_Latn",
"slv_Latn",
"snd_Arab",
"som_Latn",
"spa_Latn",
"als_Latn",
"srp_Cyrl",
"swe_Latn",
"swh_Latn",
"tam_Taml",
"tat_Cyrl",
"tel_Telu",
"tgk_Cyrl",
"tgl_Latn",
"tha_Thai",
"tur_Latn",
"uig_Arab",
"ukr_Cyrl",
"urd_Arab",
"uzn_Latn",
"vie_Latn",
"yue_Hant",
"yue_Hant",
"zho_Hans",
"zho_Hant",
"zsm_Latn",
]


LASER2_LANGUAGE = build_language_names_dict(LASER2_LANGUAGES_LIST, LANGUAGE_NAMES)

0 comments on commit 293b974

Please sign in to comment.