Update README.md
Browse files
README.md
CHANGED
|
@@ -25,16 +25,16 @@ pip install git+https://github.com/nipponjo/tts_arabic.git
|
|
| 25 |
from tts_arabic import tts
|
| 26 |
|
| 27 |
# %%
|
| 28 |
-
text = "ุง
|
| 29 |
wave = tts(text, speaker=2, pace=0.9, play=True)
|
| 30 |
|
| 31 |
# %% Buckwalter transliteration
|
| 32 |
-
text = ">
|
| 33 |
wave = tts(text, speaker=0, play=True)
|
| 34 |
|
| 35 |
# %% Unvocalized input
|
| 36 |
text_unvoc = "ุงููููุฉ ู
ุดุฑูุจ ูุนุฏ ู
ู ุจุฐูุฑ ุงูุจู ุงูู
ุญู
ุตุฉ"
|
| 37 |
-
wave = tts(text_unvoc, play=True, vowelizer='
|
| 38 |
|
| 39 |
```
|
| 40 |
|
|
@@ -64,7 +64,7 @@ More information about how the models were trained can be found in the manuscrip
|
|
| 64 |
```python
|
| 65 |
from tts_arabic import tts
|
| 66 |
|
| 67 |
-
text = "ุง
|
| 68 |
wave = tts(
|
| 69 |
text, # input text
|
| 70 |
speaker = 1, # speaker id; choose between 0,1,2,3
|
|
|
|
| 25 |
from tts_arabic import tts
|
| 26 |
|
| 27 |
# %%
|
| 28 |
+
text = "ุงูุณูููุงู
ู ุนููููููู
ููุง ุตูุฏููููู."
|
| 29 |
wave = tts(text, speaker=2, pace=0.9, play=True)
|
| 30 |
|
| 31 |
# %% Buckwalter transliteration
|
| 32 |
+
text = ">ls~alAmu Ealaykum yA Sadiyqiy."
|
| 33 |
wave = tts(text, speaker=0, play=True)
|
| 34 |
|
| 35 |
# %% Unvocalized input
|
| 36 |
text_unvoc = "ุงููููุฉ ู
ุดุฑูุจ ูุนุฏ ู
ู ุจุฐูุฑ ุงูุจู ุงูู
ุญู
ุตุฉ"
|
| 37 |
+
wave = tts(text_unvoc, play=True, vowelizer='catt_eo')
|
| 38 |
|
| 39 |
```
|
| 40 |
|
|
|
|
| 64 |
```python
|
| 65 |
from tts_arabic import tts
|
| 66 |
|
| 67 |
+
text = "ุงูุณูููุงู
ู ุนููููููู
ููุง ุตูุฏููููู."
|
| 68 |
wave = tts(
|
| 69 |
text, # input text
|
| 70 |
speaker = 1, # speaker id; choose between 0,1,2,3
|