"...targets/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "cffdc27c05e9ac0b7af36dfa0391b4b1570c5c75"
Commit dade45c6 authored by JessicaOjo's avatar JessicaOjo
Browse files

add lin to utils

parent 909b7b33
...@@ -50,6 +50,12 @@ LANGUAGES = { ...@@ -50,6 +50,12 @@ LANGUAGES = {
"NEUTRAL_LABEL": "Na none", "NEUTRAL_LABEL": "Na none",
"CONTRADICTION_LABEL": "Oya" "CONTRADICTION_LABEL": "Oya"
}, },
"lin": {
"QUESTION_WORD": "Malamu",
"ENTAILMENT_LABEL": "Iyo",
"NEUTRAL_LABEL": "Lisusu",
"CONTRADICTION_LABEL": "Te"
},
"lug": { "lug": {
"QUESTION_WORD": "Kituufu", "QUESTION_WORD": "Kituufu",
"ENTAILMENT_LABEL": "Yee", "ENTAILMENT_LABEL": "Yee",
...@@ -121,7 +127,7 @@ def gen_lang_yamls(output_dir: str, overwrite: bool, mode: str) -> None: ...@@ -121,7 +127,7 @@ def gen_lang_yamls(output_dir: str, overwrite: bool, mode: str) -> None:
:param overwrite: Whether to overwrite files if they already exist. :param overwrite: Whether to overwrite files if they already exist.
""" """
err = [] err = []
languages = ['eng', 'amh', 'ibo', 'fra', 'sna', 'wol', 'ewe', 'lug', 'xho', 'kin', 'twi', 'zul', 'orm', languages = ['eng', 'amh', 'ibo', 'fra', 'sna', 'wol', 'ewe', 'lin', 'lug', 'xho', 'kin', 'twi', 'zul', 'orm',
'yor', 'hau', 'sot', 'swa'] 'yor', 'hau', 'sot', 'swa']
for lang in languages: for lang in languages:
try: try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment