Update README.md
Browse files
README.md
CHANGED
|
@@ -36,7 +36,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
| 36 |
Please follow the example below to perform grapheme-to-phoneme conversion with a high-level wrapper.
|
| 37 |
|
| 38 |
```python
|
| 39 |
-
from speechbrain.
|
| 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)
|
|
|
|
| 36 |
Please follow the example below to perform grapheme-to-phoneme conversion with a high-level wrapper.
|
| 37 |
|
| 38 |
```python
|
| 39 |
+
from speechbrain.inference.text 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)
|