Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ Please follow the example below to perform grapheme-to-phoneme conversion with a
|
|
37 |
|
38 |
```python
|
39 |
from speechbrain.pretrained import GraphemeToPhoneme
|
40 |
-
g2p = GraphemeToPhoneme.from_hparams("speechbrain/soundchoice-g2p")
|
41 |
text = "To be or not to be, that is the question"
|
42 |
phonemes = g2p(text)
|
43 |
```
|
|
|
37 |
|
38 |
```python
|
39 |
from speechbrain.pretrained import GraphemeToPhoneme
|
40 |
+
g2p = GraphemeToPhoneme.from_hparams("speechbrain/soundchoice-g2p", savedir="pretrained_models/soundchoice-g2p")
|
41 |
text = "To be or not to be, that is the question"
|
42 |
phonemes = g2p(text)
|
43 |
```
|