wetdog commited on
Commit
6ab93cd
1 Parent(s): d137035

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -7
README.md CHANGED
@@ -67,7 +67,7 @@ under [Additional information](#additional-information).
67
  ### Installation
68
 
69
  Models have been trained using the espeak-ng open source text-to-speech software.
70
- The espeak-ng containing the Catalan phonemizer can be found [here](https://github.com/projecte-aina/espeak-ng)
71
 
72
  Create a virtual environment:
73
  ```bash
@@ -77,9 +77,9 @@ python -m venv /path/to/venv
77
  source /path/to/venv/bin/activate
78
  ```
79
 
80
- For training and synthesizing with Catalan Matxa-TTS you need to compile the provided espeak-ng with the Catalan phonemizer:
81
  ```bash
82
- git clone https://github.com/projecte-aina/espeak-ng.git
83
 
84
  export PYTHON=/path/to/env/<env_name>/bin/python
85
  cd /path/to/espeak-ng
@@ -87,10 +87,6 @@ cd /path/to/espeak-ng
87
  ./configure --prefix=/path/to/espeak-ng
88
  make
89
  make install
90
-
91
- pip cache purge
92
- pip install mecab-python3
93
- pip install unidic-lite
94
  ```
95
  Clone the repository:
96
 
@@ -134,6 +130,25 @@ python3 matcha_vocos_inference.py --output_path=/output/path --text_input="Bon d
134
 
135
  ```
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  #### ONNX
138
 
139
  We also release ONNXs version of the models
 
67
  ### Installation
68
 
69
  Models have been trained using the espeak-ng open source text-to-speech software.
70
+ The main (espeak-ng)[https://github.com/espeak-ng/espeak-ng] now contains the Catalan phonemizer work started [here](https://github.com/projecte-aina/espeak-ng)
71
 
72
  Create a virtual environment:
73
  ```bash
 
77
  source /path/to/venv/bin/activate
78
  ```
79
 
80
+ For training and synthesizing with Catalan Matxa-TTS you need to compile espeak-ng:
81
  ```bash
82
+ git clone https://github.com/espeak-ng/espeak-ng
83
 
84
  export PYTHON=/path/to/env/<env_name>/bin/python
85
  cd /path/to/espeak-ng
 
87
  ./configure --prefix=/path/to/espeak-ng
88
  make
89
  make install
 
 
 
 
90
  ```
91
  Clone the repository:
92
 
 
130
 
131
  ```
132
 
133
+ Additionally you can choose the speaker id from the following table
134
+
135
+ ```bash
136
+ python3 matcha_vocos_inference.py --output_path=/output/path --text_input="Bon dia Manel, avui anem a la muntanya." --length_scale=0.8 --temperature=0.7 --speaker_id 3
137
+
138
+ ```
139
+
140
+ | accent | Name | speaker_id |
141
+ |-----------------|------|------------|
142
+ | balear | quim | 0 |
143
+ | balear | olga | 1 |
144
+ | central | grau | 2 |
145
+ | central | elia | 3 |
146
+ | nord-occidental | pere | 4 |
147
+ | nord-occidental | emma | 5 |
148
+ | valencia | lluc | 6 |
149
+ | valencia | gina | 7 |
150
+
151
+
152
  #### ONNX
153
 
154
  We also release ONNXs version of the models