Spaces:
Runtime error
Runtime error
urd-Arab example
Browse files
app.py
CHANGED
@@ -117,10 +117,11 @@ if __name__ == "__main__":
|
|
117 |
epi = get_epitran(str(selected_mapping))
|
118 |
|
119 |
examples = defaultdict(lambda: 'Try typing some words in the language you chose, and they will be transliterated.')
|
120 |
-
examples['cmn-Hans'] = '太初有道,道与神同在,道就是神'
|
121 |
-
examples['cmn-Hant'] = '太初有道,道與神同在,道就是神。'
|
122 |
-
examples['swa-Latn'] = 'Mwanzoni Kabla ulimwengu haujaumbwa alikuwepo Neno Huyo Neno alikuwa pamoja na Mungu, na Neno alikuwa Mungu.'
|
123 |
-
examples['ara-Arab'] = 'فِي الْبَدْءِ كَانَ الْكَلِمَةُ، وَالْكَلِمَةُ كَانَ عِنْدَ اللهِ. وَكَانَ الْكَلِمَةُ اللهُ.'
|
|
|
124 |
|
125 |
input_text = st.text_area(label="Whatever you type here will be transliterated!", value=examples[selected_mapping])
|
126 |
|
|
|
117 |
epi = get_epitran(str(selected_mapping))
|
118 |
|
119 |
examples = defaultdict(lambda: 'Try typing some words in the language you chose, and they will be transliterated.')
|
120 |
+
examples['cmn-Hans'] = '太初有道,道与神同在,道就是神' # https://www.biblegateway.com/passage/?search=John+1&version=CUVS
|
121 |
+
examples['cmn-Hant'] = '太初有道,道與神同在,道就是神。' # https://www.biblegateway.com/passage/?search=John+1&version=CUV
|
122 |
+
examples['swa-Latn'] = 'Mwanzoni Kabla ulimwengu haujaumbwa alikuwepo Neno Huyo Neno alikuwa pamoja na Mungu, na Neno alikuwa Mungu.' # https://www.biblegateway.com/passage/?search=John+1&version=SNT
|
123 |
+
examples['ara-Arab'] = 'فِي الْبَدْءِ كَانَ الْكَلِمَةُ، وَالْكَلِمَةُ كَانَ عِنْدَ اللهِ. وَكَانَ الْكَلِمَةُ اللهُ.' # https://www.biblegateway.com/passage/?search=John+1&version=NAV
|
124 |
+
examples['urd-Arab'] = 'دُنیا کی ابتدا ء سے پہلے کلام وہاں تھا کلام خدا کے ساتھ تھا اور کلام خدا تھا۔' # https://www.biblegateway.com/passage/?search=John+1&version=ERV-UR
|
125 |
|
126 |
input_text = st.text_area(label="Whatever you type here will be transliterated!", value=examples[selected_mapping])
|
127 |
|