Text2Text Generation
speechbrain
English
G2P
Grapheme-to-Phoneme
speechbrainteam commited on
Commit
af2a8a6
·
verified ·
1 Parent(s): 2992f6d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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
  ```