Upload README.md
Browse files
README.md
CHANGED
@@ -9,9 +9,9 @@ tags:
|
|
9 |
- xlsr-fine-tuning-week
|
10 |
license: apache-2.0
|
11 |
widget:
|
12 |
-
-
|
13 |
src: https://huggingface.co/m3hrdadfi/wav2vec2-large-xlsr-persian/resolve/main/sample687.flac
|
14 |
-
-
|
15 |
src: https://huggingface.co/m3hrdadfi/wav2vec2-large-xlsr-persian/resolve/main/sample1671.flac
|
16 |
model-index:
|
17 |
- name: XLSR Wav2Vec2 Persian (Farsi) by Mehrdad Farahani
|
@@ -81,7 +81,7 @@ chars_to_mapping = {
|
|
81 |
"ﻟ": "ل", "ﻡ": "م", "ﻢ": "م", "ﻪ": "ه", "ﻮ": "و", "ئ": "ی", 'ﺍ': "ا", 'ة': "ه",
|
82 |
'ﯾ': "ی", 'ﯿ': "ی", 'ﺒ': "ب", 'ﺖ': "ت", 'ﺪ': "د", 'ﺮ': "ر", 'ﺴ': "س", 'ﺷ': "ش",
|
83 |
'ﺸ': "ش", 'ﻋ': "ع", 'ﻤ': "م", 'ﻥ': "ن", 'ﻧ': "ن", 'ﻭ': "و", 'ﺭ': "ر", "ﮔ": "گ",
|
84 |
-
"
|
85 |
}
|
86 |
|
87 |
def multiple_replace(text, chars_to_mapping):
|
|
|
9 |
- xlsr-fine-tuning-week
|
10 |
license: apache-2.0
|
11 |
widget:
|
12 |
+
- example_title: Common Voice sample 687
|
13 |
src: https://huggingface.co/m3hrdadfi/wav2vec2-large-xlsr-persian/resolve/main/sample687.flac
|
14 |
+
- example_title: Common Voice sample 1671
|
15 |
src: https://huggingface.co/m3hrdadfi/wav2vec2-large-xlsr-persian/resolve/main/sample1671.flac
|
16 |
model-index:
|
17 |
- name: XLSR Wav2Vec2 Persian (Farsi) by Mehrdad Farahani
|
|
|
81 |
"ﻟ": "ل", "ﻡ": "م", "ﻢ": "م", "ﻪ": "ه", "ﻮ": "و", "ئ": "ی", 'ﺍ': "ا", 'ة': "ه",
|
82 |
'ﯾ': "ی", 'ﯿ': "ی", 'ﺒ': "ب", 'ﺖ': "ت", 'ﺪ': "د", 'ﺮ': "ر", 'ﺴ': "س", 'ﺷ': "ش",
|
83 |
'ﺸ': "ش", 'ﻋ': "ع", 'ﻤ': "م", 'ﻥ': "ن", 'ﻧ': "ن", 'ﻭ': "و", 'ﺭ': "ر", "ﮔ": "گ",
|
84 |
+
"\u200c": " ", "\u200d": " ", "\u200e": " ", "\u200f": " ", "\ufeff": " ",
|
85 |
}
|
86 |
|
87 |
def multiple_replace(text, chars_to_mapping):
|