File size: 6,611 Bytes
e210651
2b7f7fe
e210651
 
2b7f7fe
 
e210651
2b7f7fe
e210651
2b7f7fe
 
 
 
 
 
 
 
 
e210651
2b7f7fe
 
 
 
 
 
 
e210651
2b7f7fe
e210651
2b7f7fe
 
 
 
 
 
e210651
2b7f7fe
 
 
 
 
 
e210651
2b7f7fe
 
 
e210651
2b7f7fe
e210651
2b7f7fe
 
 
 
 
 
 
 
 
 
 
 
e210651
2b7f7fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e210651
2b7f7fe
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
language: pt
task_categories:
- text-to-speech
license: cc-by-4.0
pretty_name: tiny-voca PT-PT 2.0 data
---
# tiny-voca PT-PT 2.0 data

Synthetic European Portuguese speech used to train tiny-voca PT-PT 2.0: every
sentence read by two invented voices, F07 (female) and M02 (male), by the
teacher Qwen3-TTS 12Hz 1.7B Base in in-context mode. **This dataset holds only
the part of the training data whose text may be redistributed:** Common Voice
sentences (CC0), public domain booklets, the sentences written for the
project, and sentences from the author's own blogs, published with his
permission. The rest of the training text came from copyrighted sources; those
sources are described below, with their proportions, but their sentences and
audio are not included.

| | Published here | Used in training |
|---|---:|---:|
| Sentences | 15,714 (train 15,595, validation 119) | 38,490 |
| Clips (two voices) | 28,650 (train 28,437, validation 213) | 76,980 generated, 65,986 kept |
| Duration | 23.97 h | 74.39 h generated, 65.04 h kept after alignment and filters |
| Audio | 24 kHz mono, 16-bit FLAC | |
| Language | Portuguese, Portugal (Lisbon norm) | |

## Files and use

`data/train-*.parquet` and `data/validation-*.parquet`, with the columns
`id`, `text_id`, `voice_id` (F07 or M02), `text` (the sentence as written in
its source: Common Voice in the 1990 spelling, the blogs, the booklets and the
sentences written for the project mostly in the older one), `audio` (FLAC,
24 kHz, embedded), `duration_seconds` and `teacher_model`. `tiny_voca.prepare`
reads them as they are.

```python
from datasets import load_dataset
data = load_dataset("joserui/tiny-voca-pt-pt-data")
row = data["train"][0]
print(row["voice_id"], row["text"])
```

The data of version 1.1 (Sopro speech of Common Voice sentences, voices F3 and
M1, in `train/`, `validation/` and `test/`) is in this repository's history:
`load_dataset("joserui/tiny-voca-pt-pt-data", revision="a23441a817675ada9fe032dddf38378d591a5bcf")`.

## Sources of the training text

| Source | Sentences | Share | Licence of the text | In this dataset |
|---|---:|---:|---|---|
| News (Notícias ao Minuto, Público, RTP), one sentence per article | 12,284 | 31.9 % | copyright of the publishers | no |
| Common Voice Portuguese, filtered for Portugal | 11,322 | 29.4 % | CC0 | **yes** |
| The author's two blogs | 7,297 | 19.0 % | the author's, CC BY 4.0 with his permission | **yes**, 4,724 after the two reviews below |
| Ciberdúvidas da Língua Portuguesa, one per answer | 5,329 | 13.8 % | copyright of Ciberdúvidas | no |
| Non-fiction books, about one per chapter | 882 | 2.3 % | copyright of the authors | no |
| Theses (RCAAP), one per thesis | 305 | 0.8 % | copyright of the authors | no |
| Written for the project (listening tests, questions, numbers; names and places) | 600 | 1.6 % | written for the project, CC BY 4.0 | **yes** |
| Portuguese novels, up to two per chapter, for character names | 283 | 0.7 % | copyright of the authors | no |
| Biblioteca Hortícola (20th-century booklets) | 188 | 0.5 % | public domain | **yes** |
| **Total** | **38,490** | | | **16,834** (15,714 with clips that passed the alignment) |

Safeguards on all the sentences taken from text corpora: no titles, no quotes,
no attribution verbs; no names of real people (only places and institutions
from a list, and character names from novels); no digits or acronyms, no family
with possessives, no health, addresses, phone numbers or emails. The source of
each sentence is kept in an internal file.

## The blog sentences

The author's own sentences went through two reviews before publication, and
only 4,724 of 7,297 are published.

1. **An automatic sweep** (`peneirar.py`, tightened twice after independent
   checks) left out 715: 461 without a verb (Apple's NaturalLanguage tagger:
   headings and fragments), 91 about family, friends or children, 80 about
   health, illness, death, mourning or losing a job, 62 about neighbours,
   landowners and other third parties, 15 about the author's land and home,
   32 with a capitalised word mid-sentence that might be a name, 1 with a
   heading glued to it and 1 with broken encoding (a sentence can have more
   than one reason). Apple's name recogniser found no personal names; no
   sentence had an email, phone number, street address, URL, list or code.
2. **A semantic privacy review** read every one of the remaining 6,582
   sentences, each block by two independent readers, plus a check by hand,
   with the rule «when in doubt, leave it out». It removed 1,858 more (28 %):
   third parties, conflicts and complaints (390); the author's home, land and
   places (374); work and money (349); religion, politics and opinions about
   people (263); health, body, tiredness and death (131); intimate feelings
   (122); crime and violence (64); family and pets (54); and other private or
   identifying details (111). The list of removed sentences is kept privately and is not
   published.

4,440 of the 4,724 published blog sentences have clips here (8,170 clips,
7.86 hours).

## Splits

Split by sentence, with both voices of a sentence in the same split. 299
sentences were held out of all training (150 validation, 149 test). The
published clips are the ones the model trained on (those the alignment
accepted), from the sentences that may be published: train, and 119 of the
validation sentences.
There is no test split here: the 149 European test sentences come from news,
Ciberdúvidas and books, whose text is not redistributed.

## Text and audio

- The `text` column is the sentence as written. Where the teacher misread a
  sentence, it was given a help spelling to read (silent consonants, «lêste»,
  «sêca»); the help spelling is not in the dataset.
- Silence trimmed to 0.1 s before and 0.15 s after the voice; peak at 0.95.
- Edits measured on the audio before training: the European Portuguese rise on
  yes/no questions (PSOLA, ×1.5 of a measured contour, tuned by ear), a pause at
  commas where the teacher skipped it, and clips removed where a phone
  recogniser heard «vezinhos» or [ʃ] before a vowel. The audio here is the
  edited audio, as the model was trained on it.

## Licence

The audio, the metadata, the sentences written for the project and the
sentences from the author's blogs (published with his permission): CC BY 4.0,
like the 1.1 data. Common Voice sentences: CC0. Booklet sentences: public
domain. The voices were designed with Qwen3-TTS VoiceDesign and spoken by
Qwen3-TTS Base (Apache-2.0); they are not recordings or imitations of real
people.