added data collator
Browse files- README.md +81 -1
- data/phone2idx.json +1 -0
- data/speaker2idx.json +1 -0
- libritts-aligned.py +15 -19
README.md
CHANGED
@@ -20,4 +20,84 @@ extra_gated_prompt: "When using this dataset to download LibriTTS, you agree to
|
|
20 |
|
21 |
This dataset downloads LibriTTS and preprocesses it on your machine to create alignments using [montreal forced aligner](https://montreal-forced-aligner.readthedocs.io/en/latest/).
|
22 |
You need to run ``pip install alignments phones`` before using this dataset.
|
23 |
-
When running this the first time, it can take an hour or two, but subsequent runs will be lightning fast.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
This dataset downloads LibriTTS and preprocesses it on your machine to create alignments using [montreal forced aligner](https://montreal-forced-aligner.readthedocs.io/en/latest/).
|
22 |
You need to run ``pip install alignments phones`` before using this dataset.
|
23 |
+
When running this the first time, it can take an hour or two, but subsequent runs will be lightning fast.
|
24 |
+
|
25 |
+
## Splits
|
26 |
+
|
27 |
+
This dataset has the following splits:
|
28 |
+
- ``train``: All the training data, except one sample per speaker which is used for validation.
|
29 |
+
- ``dev``: The validation data, one sample per speaker.
|
30 |
+
- ``train.clean.100``: Training set derived from the original materials of the train-clean-100 subset of LibriSpeech.
|
31 |
+
- ``train.clean.360``: Training set derived from the original materials of the train-clean-360 subset of LibriSpeech.
|
32 |
+
- ``train.other.500``: Training set derived from the original materials of the train-other-500 subset of LibriSpeech.
|
33 |
+
- ``dev.clean``: Validation set derived from the original materials of the dev-clean subset of LibriSpeech.
|
34 |
+
- ``dev.other``: Validation set derived from the original materials of the dev-other subset of LibriSpeech.
|
35 |
+
- ``test.clean``: Test set derived from the original materials of the test-clean subset of LibriSpeech.
|
36 |
+
- ``test.other``: Test set derived from the original materials of the test-other subset of LibriSpeech.
|
37 |
+
|
38 |
+
## Example Item
|
39 |
+
|
40 |
+
```json
|
41 |
+
{
|
42 |
+
'id': '100_122655_000073_000002.wav',
|
43 |
+
'speaker': '100',
|
44 |
+
'text': 'the day after, diana and mary quitted it for distant b.',
|
45 |
+
'start': 0.0,
|
46 |
+
'end': 3.6500000953674316,
|
47 |
+
'phones': ['[SILENCE]', 'ð', 'ʌ', '[SILENCE]', 'd', 'eɪ', '[SILENCE]', 'æ', 'f', 't', 'ɜ˞', '[COMMA]', 'd', 'aɪ', 'æ', 'n', 'ʌ', '[SILENCE]', 'æ', 'n', 'd', '[SILENCE]', 'm', 'ɛ', 'ɹ', 'i', '[SILENCE]', 'k', 'w', 'ɪ', 't', 'ɪ', 'd', '[SILENCE]', 'ɪ', 't', '[SILENCE]', 'f', 'ɜ˞', '[SILENCE]', 'd', 'ɪ', 's', 't', 'ʌ', 'n', 't', '[SILENCE]', 'b', 'i', '[FULL STOP]'], 'phone_durations': [5, 2, 4, 0, 5, 13, 0, 16, 7, 5, 20, 2, 6, 9, 15, 4, 2, 0, 11, 3, 5, 0, 3, 8, 9, 8, 0, 13, 3, 5, 3, 6, 4, 0, 8, 5, 0, 9, 5, 0, 7, 5, 6, 7, 4, 5, 10, 0, 3, 35, 9],
|
48 |
+
'audio': '/dev/shm/metts/train-clean-360-alignments/100/100_122655_000073_000002.wav'
|
49 |
+
}
|
50 |
+
```
|
51 |
+
|
52 |
+
The phones are IPA phones, and the phone durations are in frames (assuming a hop length of 256, sample rate of 22050 and window length of 1024). These attributes can be changed using the ``hop_length``, ``sample_rate`` and ``window_length`` arguments to ``LibriTTSAlign``.
|
53 |
+
|
54 |
+
## Environment Variables
|
55 |
+
|
56 |
+
There are a few environment variable which can be set.
|
57 |
+
|
58 |
+
- ``LIBRITTS_VERBOSE``: If set, will print out more information about the dataset creation process.
|
59 |
+
- ``LIBRITTS_MAX_WORKERS``: The number of workers to use when creating the alignments. Defaults to ``cpu_count()``.
|
60 |
+
- ``LIBRITTS_PATH``: The path to download LibriTTS to. Defaults to the value of ``HF_DATASETS_CACHE``.
|
61 |
+
|
62 |
+
## Data Collator
|
63 |
+
|
64 |
+
This dataset comes with a data collator which can be used to create batches of data for training.
|
65 |
+
It can be installed using ``pip install speech-collator`` ([MiniXC/speech-collator](https://www.github.com/MiniXC/speech-collator)) and can be used as follows:
|
66 |
+
|
67 |
+
```python
|
68 |
+
import json
|
69 |
+
from datasets import load_dataset
|
70 |
+
from speech_collator import SpeechCollator
|
71 |
+
from torch.utils.data import DataLoader
|
72 |
+
|
73 |
+
dataset = load_dataset('libritts_align', split="train")
|
74 |
+
|
75 |
+
speaker2ixd = json.load(open("speaker2ixd.json"))
|
76 |
+
phone2ixd = json.load(open("phone2ixd.json"))
|
77 |
+
|
78 |
+
collator = SpeechCollator(
|
79 |
+
speaker2ixd=speaker2ixd,
|
80 |
+
phone2ixd=phone2ixd,
|
81 |
+
)
|
82 |
+
dataloader = DataLoader(dataset, collate_fn=collator.collate_fn, batch_size=8)
|
83 |
+
```
|
84 |
+
|
85 |
+
You can either download the ``speaker2ixd.json`` and ``phone2ixd.json`` files from [here](https://huggingface.co/datasets/cdminix/libritts-aligned/tree/main/data) or create them yourself using the following code:
|
86 |
+
|
87 |
+
```python
|
88 |
+
import json
|
89 |
+
from datasets import load_dataset
|
90 |
+
from speech_collator import SpeechCollator, create_speaker2idx, create_phone2idx
|
91 |
+
|
92 |
+
dataset = load_dataset("cdminix/libritts-aligned", split="train")
|
93 |
+
|
94 |
+
# Create speaker2idx and phone2idx
|
95 |
+
speaker2idx = create_speaker2idx(dataset, unk_idx=0)
|
96 |
+
phone2idx = create_phone2idx(dataset, unk_idx=0)
|
97 |
+
|
98 |
+
# save to json
|
99 |
+
with open("speaker2idx.json", "w") as f:
|
100 |
+
json.dump(speaker2idx, f)
|
101 |
+
with open("phone2idx.json", "w") as f:
|
102 |
+
json.dump(phone2idx, f)
|
103 |
+
```
|
data/phone2idx.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<unk>": 0, "[SILENCE]": 6, "e\u026a": 12, "v": 27, "\u025b": 36, "\u0279": 40, "i": 15, "\u026a": 39, "m": 19, "p": 22, "\u0254": 34, "t": 24, "\u028c": 43, "n": 20, "\u0254\u026a": 35, "[COMMA]": 1, "\u00e6": 30, "d": 10, "z": 29, "b": 9, "l": 18, "k": 17, "u": 26, "\u0292": 44, "a\u026a": 7, "f": 13, "s": 23, "w": 28, "[FULL STOP]": 3, "j": 16, "o\u028a": 21, "\u0261": 38, "\u00f0": 31, "\u0283": 41, "\u014b": 32, "\u025c\u02de": 37, "h": 14, "\u0251": 33, "\u02cc\u026a": 57, "\u03b8": 60, "d\u0292": 11, "t\u0283": 25, "\u02cci": 48, "\u02cco\u028a": 49, "a\u028a": 8, "\u02cc\u025c\u02de": 56, "\u02cc\u028a": 58, "\u028a": 42, "[EXCLAMATION MARK]": 2, "\u02ccu": 50, "\u02cca\u026a": 45, "\u02cc\u025b": 55, "[QUESTION MARK]": 4, "\u02cc\u028c": 59, "[SEMICOLON]": 5, "\u02cc\u0254": 53, "\u02cce\u026a": 47, "\u02cc\u00e6": 51, "\u02cca\u028a": 46, "\u02cc\u0251": 52, "\u02cc\u0254\u026a": 54}
|
data/speaker2idx.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<unk>": 0, "7190": 1989, "2518": 820, "1263": 448, "669": 275, "831": 328, "6367": 1762, "909": 346, "3168": 968, "6454": 1785, "2836": 888, "6000": 1649, "289": 149, "3982": 1170, "5456": 1525, "103": 58, "3983": 1171, "3947": 1161, "4830": 1373, "8014": 2226, "1970": 673, "5750": 1590, "5789": 1600, "6415": 1778, "6437": 1783, "6529": 1806, "6272": 1732, "625": 265, "5322": 1498, "3526": 1049, "2910": 897, "7505": 2083, "322": 162, "7511": 2086, "7780": 2157, "87": 47, "1578": 543, "481": 218, "1624": 556, "196": 96, "887": 342, "7312": 2027, "2416": 798, "8465": 2350, "2196": 740, "8226": 2284, "3699": 1099, "8238": 2287, "4853": 1382, "1334": 470, "5390": 1513, "8609": 2381, "1594": 548, "3664": 1091, "1116": 410, "8123": 2254, "1502": 524, "374": 182, "8088": 2245, "7635": 2116, "3879": 1140, "248": 129, "7302": 2025, "8797": 2418, "3259": 993, "198": 97, "26": 8, "2092": 714, "403": 188, "7367": 2048, "2136": 724, "3112": 954, "83": 44, "3607": 1077, "311": 157, "3374": 1020, "2691": 858, "5163": 1458, "1867": 648, "6531": 1807, "6476": 1790, "1841": 640, "412": 193, "8580": 2375, "7148": 1979, "8975": 2435, "2893": 893, "8838": 2425, "6385": 1769, "4788": 1364, "2384": 786, "6563": 1821, "1098": 405, "3436": 1031, "5339": 1504, "229": 119, "6880": 1898, "125": 72, "8419": 2333, "2289": 766, "4088": 1201, "298": 152, "7178": 1986, "2817": 882, "2764": 873, "1992": 680, "163": 85, "1088": 398, "60": 32, "587": 252, "4051": 1192, "4195": 1227, "4297": 1258, "7447": 2068, "2989": 915, "1743": 607, "4898": 1390, "5808": 1604, "39": 18, "6181": 1707, "2002": 685, "5514": 1537, "1737": 605, "3830": 1125, "201": 100, "458": 207, "8051": 2235, "7078": 1952, "200": 99, "4640": 1332, "1447": 507, "4859": 1385, "4397": 1279, "1926": 663, "307": 155, "1246": 440, "2182": 736, "730": 299, "6836": 1889, "8629": 2384, "6019": 1654, "8770": 2411, "4160": 1218, "2007": 688, "3235": 985, "7059": 1945, "40": 19, "1363": 482, "4680": 1337, "6209": 1714, "5463": 1528, "2159": 733, "7226": 1999, "1898": 654, "1963": 671, "27": 9, "8312": 2308, "3242": 988, "6848": 1892, "3440": 1032, "426": 197, "3723": 1102, "8063": 2238, "5393": 1514, "6925": 1912, "405": 190, "8747": 2407, "1553": 534, "5778": 1597, "460": 209, "4481": 1302, "226": 116, "6147": 1698, "3214": 978, "4813": 1370, "6078": 1671, "5703": 1576, "8324": 2312, "446": 202, "5561": 1543, "8468": 2352, "5104": 1442, "1034": 380, "4340": 1267, "2391": 788, "3807": 1121, "4014": 1181, "5867": 1615, "1183": 424, "5049": 1431, "1081": 395, "7800": 2164, "332": 166, "4137": 1211, "3857": 1133, "1040": 381, "3240": 987, "8108": 2249, "2952": 906, "8425": 2337, "19": 4, "89": 48, "911": 347, "7067": 1949, "7113": 1962, "8098": 2248, "4214": 1232, "150": 78, "5192": 1467, "302": 153, "1069": 393, "7517": 2090, "1235": 437, "7264": 2014, "250": 131, "2436": 801, "1455": 509, "7402": 2058, "7794": 2161, "4362": 1274, "839": 331, "5652": 1561, "4267": 1249, "3486": 1041, "4441": 1293, "6081": 1673, "6064": 1664, "6818": 1885, "8630": 2385, "4018": 1184, "7859": 2180, "4406": 1281, "233": 121, "2843": 889, "211": 109, "118": 67, "32": 14, "8095": 2246, "5678": 1570, "2911": 898, "7278": 2018, "696": 282, "1355": 481, "78": 40, "254": 135, "5022": 1422, "2514": 818, "2272": 757, "1509": 526, "8193": 2273, "580": 247, "2598": 842, "1160": 416, "2971": 910, "5975": 1641, "2368": 783, "957": 362, "1641": 563, "7090": 1955, "7957": 2207, "6446": 1784, "3114": 955, "8194": 2274, "38": 17, "1825": 636, "4331": 1265, "5337": 1502, "362": 176, "8705": 2400, "8118": 2252, "7285": 2019, "2229": 745, "81": 42, "3864": 1134, "4586": 1323, "7139": 1974, "882": 339, "1487": 519, "476": 215, "4243": 1243, "3482": 1039, "4592": 1326, "2240": 750, "7962": 2209, "6098": 1679, "5093": 1440, "1259": 445, "8008": 2222, "5007": 1417, "1974": 674, "4846": 1379, "1028": 379, "3094": 948, "7286": 2020, "408": 191, "7739": 2146, "2364": 782, "2499": 814, "3977": 1168, "731": 300, "8459": 2346, "4039": 1189, "7520": 2092, "4427": 1289, "830": 327, "8225": 2283, "207": 105, "2652": 850, "5935": 1634, "2853": 890, "6918": 1909, "986": 373, "7558": 2101, "3972": 1167, "4356": 1272, "8388": 2322, "7789": 2160, "2654": 851, "2254": 752, "6300": 1740, "3537": 1052, "2012": 690, "2498": 813, "1313": 464, "3258": 992, "636": 266, "3490": 1043, "7515": 2089, "475": 214, "459": 208, "7802": 2165, "8176": 2268, "5767": 1594, "1448": 508, "258": 137, "6637": 1837, "3446": 1033, "472": 212, "8066": 2239, "836": 330, "1498": 523, "1639": 562, "98": 54, "6575": 1825, "4138": 1212, "2628": 848, "5604": 1550, "783": 313, "5092": 1439, "1849": 644, "7657": 2123, "6317": 1744, "5115": 1444, "2960": 907, "3307": 1004, "2060": 703, "4111": 1207, "3728": 1103, "3389": 1024, "6235": 1722, "3224": 981, "1748": 609, "8152": 2260, "5261": 1483, "4899": 1391, "1323": 468, "1066": 392, "5802": 1603, "7460": 2070, "3521": 1048, "4731": 1349, "1513": 527, "1874": 651, "7704": 2135, "1052": 386, "1944": 668, "210": 108, "8119": 2253, "8699": 2399, "4860": 1386, "6499": 1797, "1079": 394, "3851": 1130, "1801": 628, "2674": 855, "2156": 732, "224": 114, "4010": 1179, "4257": 1245, "6395": 1772, "7498": 2081, "1392": 494, "6494": 1795, "340": 171, "4806": 1368, "6574": 1824, "1226": 435, "2061": 704, "1859": 646, "8490": 2357, "6492": 1794, "409": 192, "154": 81, "1779": 623, "3654": 1086, "7777": 2156, "3379": 1021, "8347": 2318, "345": 172, "2775": 876, "5239": 1476, "7752": 2149, "1943": 667, "1445": 505, "3105": 952, "5293": 1492, "576": 246, "6330": 1748, "7766": 2154, "2512": 817, "7518": 2091, "6788": 1879, "7240": 2004, "8163": 2262, "8575": 2373, "55": 28, "30": 12, "1335": 471, "5876": 1618, "2812": 881, "3513": 1047, "2531": 823, "8591": 2378, "7051": 1943, "2638": 849, "119": 68, "8635": 2388, "1536": 529, "7540": 2096, "64": 34, "7169": 1982, "2113": 720, "8772": 2413, "2269": 755, "7011": 1936, "1789": 626, "7833": 2173, "1851": 645, "815": 323, "6286": 1736, "5154": 1456, "2230": 746, "5684": 1573, "7245": 2007, "3380": 1022, "8097": 2247, "70": 37, "922": 351, "5186": 1464, "1046": 382, "209": 107, "1422": 501, "1463": 512, "8266": 2296, "3905": 1146, "1903": 656, "454": 206, "3361": 1016, "8725": 2405, "8713": 2402, "6060": 1663, "8138": 2256, "6294": 1738, "205": 104, "716": 292, "8848": 2428, "2673": 854, "3003": 923, "2238": 749, "6553": 1818, "1093": 401, "7981": 2213, "3082": 944, "664": 272, "3118": 956, "6378": 1768, "4854": 1383, "227": 117, "249": 130, "1112": 409, "122": 70, "479": 216, "8855": 2429, "1552": 533, "3630": 1080, "8875": 2431, "3876": 1139, "3230": 984, "5147": 1454, "93": 52, "7538": 2095, "1349": 479, "1535": 528, "28": 10, "5190": 1466, "7909": 2192, "175": 91, "8006": 2221, "274": 144, "3979": 1169, "6690": 1851, "8190": 2272, "770": 306, "303": 154, "6308": 1741, "1913": 657, "1987": 677, "2494": 811, "6352": 1756, "3994": 1175, "1222": 432, "6643": 1838, "534": 232, "3703": 1100, "5333": 1501, "8820": 2422, "8758": 2409, "594": 255, "8494": 2358, "1754": 612, "5660": 1565, "56": 29, "5062": 1434, "3866": 1135, "16": 2, "3733": 1105, "3645": 1083, "8592": 2379, "4519": 1312, "7959": 2208, "8677": 2395, "5940": 1635, "7938": 2200, "803": 318, "8825": 2424, "1224": 433, "176": 92, "5039": 1427, "663": 271, "225": 115, "208": 106, "7117": 1963, "7398": 2057, "5776": 1596, "7061": 1946, "203": 102, "8742": 2406, "7594": 2108, "6458": 1787, "6119": 1686, "112": 63, "718": 293, "7932": 2198, "1777": 622, "2127": 722, "1417": 499, "480": 217, "4044": 1191, "5583": 1548, "6924": 1911, "90": 49, "7478": 2074, "5810": 1606, "3119": 957, "337": 169, "7395": 2056, "1061": 390, "5401": 1516, "3922": 1153, "6120": 1687, "1387": 492, "1705": 593, "2920": 900, "4490": 1305, "380": 184, "949": 357, "7717": 2139, "3448": 1034, "1025": 377, "5123": 1446, "6288": 1737, "1027": 378, "3180": 973, "8776": 2414, "8887": 2433, "4098": 1203, "2741": 867, "5063": 1435, "639": 268, "4013": 1180, "5242": 1477, "6895": 1902, "4598": 1329, "4535": 1314, "1547": 532, "5724": 1582, "335": 167, "7939": 2201, "3546": 1056, "4837": 1376, "2167": 735, "2393": 789, "5386": 1511, "3781": 1114, "242": 125, "1885": 653, "3551": 1059, "7095": 1957, "4495": 1307, "4363": 1275, "5002": 1415, "1182": 423, "2577": 835, "6727": 1862, "7949": 2205, "850": 335, "1731": 601, "2404": 792, "2573": 833, "204": 103, "8506": 2362, "5400": 1515, "5914": 1630, "1923": 661, "7825": 2169, "9022": 2437, "5133": 1449, "497": 223, "5717": 1578, "278": 146, "8410": 2329, "8228": 2285, "8534": 2365, "7313": 2028, "8183": 2270, "7647": 2120, "8527": 2363, "7000": 1932, "240": 124, "4434": 1291, "1603": 551, "5246": 1480, "451": 204, "7383": 2050, "3025": 930, "829": 326, "8222": 2281, "3215": 979, "1283": 456, "5157": 1457, "1265": 450, "7134": 1971, "868": 337, "3340": 1012, "7733": 2144, "2787": 878, "3357": 1015, "5513": 1536, "6865": 1895, "4064": 1197, "6406": 1775, "2010": 689, "7945": 2203, "8396": 2326, "3738": 1106, "5635": 1556, "6701": 1855, "816": 324, "711": 289, "188": 94, "4057": 1194, "7816": 2167, "369": 180, "6233": 1721, "581": 248, "8421": 2334, "667": 274, "7229": 2001, "1018": 376, "4335": 1266, "2299": 770, "781": 312, "3046": 934, "2570": 832, "1165": 418, "3370": 1018, "1645": 565, "5723": 1581, "231": 120, "1296": 461, "3584": 1070, "353": 174, "2110": 719, "2004": 687, "1668": 575, "2319": 775, "1012": 375, "2992": 917, "3274": 998, "7128": 1969, "3289": 1001, "4152": 1215, "126": 73, "8195": 2275, "3638": 1081, "1460": 510, "8401": 2327, "3869": 1137, "101": 56, "5304": 1495, "8684": 2397, "2517": 819, "1365": 483, "925": 353, "5290": 1491, "398": 186, "6686": 1848, "598": 258, "1379": 488, "7416": 2060, "7525": 2094, "6099": 1680, "8573": 2372, "593": 254, "1311": 463, "6080": 1672, "1556": 535, "7030": 1941, "5189": 1465, "8300": 2305, "2999": 920, "4110": 1206, "439": 200, "8722": 2404, "7967": 2210, "6014": 1653, "6339": 1751, "8786": 2416, "7188": 1987, "3852": 1131, "979": 369, "5606": 1551, "4381": 1277, "6006": 1650, "5727": 1584, "1121": 411, "8474": 2354, "6673": 1843, "2827": 885, "4238": 1242, "6550": 1817, "2149": 730, "6505": 1798, "272": 142, "3157": 967, "7475": 2073, "2769": 874, "8057": 2236, "4926": 1394, "8075": 2242, "597": 257, "3008": 926, "1826": 637, "7247": 2009, "1195": 428, "2294": 768, "637": 267, "159": 83, "2882": 892, "984": 371, "4145": 1213, "373": 181, "4800": 1367, "583": 249, "6877": 1897, "8498": 2359, "6567": 1822, "2401": 791, "5054": 1432, "7720": 2140, "5746": 1589, "4719": 1348, "5538": 1540, "2785": 877, "7828": 2171, "5809": 1605, "6538": 1811, "4108": 1205, "5968": 1639, "1769": 618, "6620": 1833, "6188": 1709, "6139": 1696, "708": 288, "7069": 1950, "7555": 2099, "1425": 502, "5389": 1512, "8329": 2314, "6965": 1926, "3945": 1160, "1343": 476, "1271": 452, "4054": 1193, "1607": 552, "5909": 1626, "8545": 2369, "5029": 1424, "1336": 472, "1050": 384, "2194": 738, "8080": 2243, "8791": 2417, "4973": 1409, "8687": 2398, "1571": 541, "7342": 2042, "6694": 1852, "7495": 2080, "589": 253, "4848": 1380, "3835": 1126, "5740": 1588, "3923": 1154, "7553": 2098, "1811": 632, "2589": 840, "7445": 2067, "4744": 1355, "6927": 1913, "2256": 753, "2397": 790, "548": 236, "339": 170, "4733": 1350, "5588": 1549, "1752": 611, "6782": 1877, "3615": 1078, "1348": 478, "5266": 1484, "7994": 2217, "7933": 2199, "2201": 742, "3483": 1040, "6054": 1662, "7837": 2175, "3009": 927, "3816": 1122, "8142": 2257, "7314": 2029, "7339": 2041, "6509": 1800, "2053": 701, "1054": 388, "1337": 473, "9026": 2439, "1734": 603, "688": 280, "3549": 1058, "3368": 1017, "5712": 1577, "79": 41, "7956": 2206, "6993": 1931, "3889": 1142, "2427": 799, "323": 163, "1053": 387, "7809": 2166, "3330": 1009, "2758": 871, "1933": 665, "3686": 1096, "1638": 561, "4290": 1255, "8718": 2403, "9023": 2438, "2473": 805, "8113": 2251, "1322": 467, "3032": 931, "3540": 1054, "4116": 1208, "1413": 497, "7126": 1967, "7910": 2193, "6828": 1887, "6038": 1660, "157": 82, "3717": 1101, "2790": 879, "561": 241, "666": 273, "1776": 621, "8605": 2380, "7384": 2051, "1446": 506, "6157": 1700, "5984": 1646, "7569": 2105, "2592": 841, "288": 148, "1958": 669, "2411": 795, "7874": 2184, "296": 151, "3493": 1044, "7241": 2005, "4222": 1236, "8028": 2229, "6510": 1801, "8479": 2356, "6206": 1713, "4358": 1273, "5918": 1631, "1806": 630, "4236": 1241, "3328": 1008, "1649": 569, "2146": 728, "2285": 764, "920": 349, "1724": 599, "17": 3, "698": 283, "5570": 1547, "6683": 1846, "2562": 830, "510": 227, "2388": 787, "5672": 1569, "4133": 1210, "3221": 980, "4807": 1369, "7867": 2181, "2137": 725, "596": 256, "7276": 2016, "3790": 1116, "216": 111, "3185": 974, "707": 287, "6904": 1904, "8824": 2423, "512": 229, "3228": 983, "7995": 2218, "4226": 1238, "6956": 1923, "953": 359, "1961": 670, "1473": 515, "6341": 1752, "5618": 1552, "501": 225, "5868": 1616, "1401": 495, "4425": 1288, "217": 112, "549": 237, "4856": 1384, "7297": 2022, "5012": 1419, "500": 224, "2481": 806, "764": 304, "5126": 1447, "6497": 1796, "54": 27, "1629": 557, "7140": 1975, "359": 175, "606": 259, "8879": 2432, "7335": 2038, "5656": 1564, "6160": 1702, "3792": 1117, "7120": 1964, "8643": 2389, "1241": 439, "4839": 1377, "4289": 1254, "724": 295, "3967": 1165, "2688": 857, "2532": 824, "6371": 1765, "1740": 606, "4734": 1351, "1060": 389, "4967": 1406, "4278": 1252, "246": 128, "7145": 1977, "7982": 2214, "6937": 1915, "5985": 1647, "2709": 860, "7316": 2031, "612": 261, "8619": 2382, "192": 95, "5883": 1619, "4260": 1246, "3072": 940, "100": 55, "1212": 430, "4629": 1331, "7481": 2076, "7434": 2064, "6104": 1682, "2162": 734, "5489": 1534, "3171": 970, "6075": 1668, "6258": 1729, "559": 240, "3294": 1003, "6426": 1780, "2823": 883, "1383": 490, "1290": 459, "6115": 1685, "1264": 449, "22": 6, "7437": 2066, "492": 222, "8404": 2328, "5448": 1524, "3070": 939, "3001": 922, "4945": 1398, "114": 64, "1472": 514, "2056": 702, "7085": 1954, "7688": 2129, "4148": 1214, "2581": 836, "2751": 869, "3927": 1157, "6359": 1760, "318": 160, "3825": 1124, "1390": 493, "6519": 1805, "7926": 2197, "1914": 658, "1827": 638, "7665": 2124, "5622": 1554, "6167": 1703, "4590": 1324, "5206": 1470, "1382": 489, "6518": 1804, "4957": 1401, "699": 284, "2774": 875, "6082": 1674, "6981": 1930, "899": 344, "7754": 2150, "7484": 2077, "3989": 1172, "6215": 1716, "2618": 846, "2074": 709, "1100": 406, "7832": 2172, "7318": 2032, "8771": 2412, "4595": 1328, "6373": 1766, "6189": 1710, "7730": 2142, "115": 65, "1482": 517, "14": 1, "6696": 1854, "6037": 1659, "7783": 2158, "166": 86, "7705": 2136, "8050": 2234, "3914": 1151, "954": 360, "1289": 458, "4246": 1244, "6269": 1731, "6388": 1770, "3083": 945, "7881": 2186, "329": 164, "5139": 1451, "7732": 2143, "8464": 2349, "5655": 1563, "1845": 642, "6032": 1657, "3187": 975, "1316": 465, "835": 329, "5519": 1538, "2093": 715, "4438": 1292, "5731": 1585, "487": 220, "968": 365, "6555": 1819, "2929": 902, "7991": 2216, "5319": 1496, "1678": 578, "7258": 2012, "7868": 2182, "511": 228, "8011": 2224, "2204": 743, "7294": 2021, "6544": 1814, "2582": 837, "6763": 1874, "543": 234, "806": 319, "2045": 697, "948": 356, "7561": 2103, "6945": 1918, "3196": 977, "4771": 1361, "2587": 838, "1469": 513, "1505": 525, "3845": 1128, "8470": 2353, "6777": 1876, "489": 221, "7326": 2034, "1780": 624, "1736": 604, "2021": 692, "884": 340, "8424": 2336, "2895": 894, "7467": 2072, "8443": 2341, "8215": 2280, "7143": 1976, "7107": 1961, "6276": 1733, "3911": 1149, "7135": 1972, "313": 158, "4305": 1259, "2273": 758, "31": 13, "7640": 2117, "1679": 579, "3409": 1027, "8664": 2391, "4217": 1234, "5000": 1414, "4824": 1372, "2198": 741, "7609": 2114, "5653": 1562, "5719": 1579, "3417": 1029, "5911": 1628, "127": 74, "6353": 1757, "8444": 2342, "2140": 726, "4955": 1400, "4687": 1338, "7713": 2138, "3245": 990, "3053": 935, "3780": 1113, "7764": 2153, "5826": 1608, "3547": 1057, "4894": 1389, "8272": 2297, "7046": 1942, "5720": 1580, "7565": 2104, "5628": 1555, "2834": 887, "5733": 1586, "7205": 1993, "1685": 582, "728": 298, "7925": 2196, "8678": 2396, "551": 238, "7584": 2106, "2607": 844, "6311": 1742, "4122": 1209, "7315": 2030, "5894": 1623, "4263": 1248, "7009": 1935, "5233": 1475, "7327": 2035, "3142": 963, "8565": 2371, "3783": 1115, "2270": 756, "3564": 1064, "294": 150, "5355": 1507, "4779": 1363, "8042": 2232, "4396": 1278, "7746": 2147, "4280": 1253, "8413": 2330, "1342": 475, "4991": 1411, "960": 363, "1266": 451, "255": 136, "3912": 1150, "7463": 2071, "505": 226, "557": 239, "614": 263, "6232": 1720, "4492": 1306, "7997": 2219, "7603": 2111, "7556": 2100, "6695": 1853, "5445": 1523, "3650": 1085, "5649": 1560, "413": 194, "7096": 1958, "7700": 2133, "3934": 1159, "5735": 1587, "8625": 2383, "4930": 1395, "6652": 1839, "6752": 1870, "7177": 1985, "4703": 1343, "62": 33, "2276": 760, "2050": 699, "2694": 859, "8382": 2321, "3744": 1107, "8246": 2291, "7012": 1937, "7008": 1934, "6846": 1891, "1647": 567, "6459": 1788, "3063": 938, "6540": 1813, "8242": 2289, "937": 355, "1772": 619, "3906": 1147, "3054": 936, "1674": 577, "3109": 953, "8644": 2390, "3411": 1028, "1760": 615, "7608": 2113, "1274": 454, "1085": 397, "6583": 1826, "5060": 1433, "199": 98, "2122": 721, "1846": 643, "6849": 1893, "8346": 2317, "6138": 1695, "5013": 1420, "5929": 1632, "2013": 691, "1384": 491, "6488": 1793, "4594": 1327, "7923": 2195, "8544": 2368, "753": 303, "5224": 1473, "7687": 2128, "1474": 516, "6950": 1920, "5951": 1637, "1097": 404, "5913": 1629, "3681": 1095, "4063": 1196, "1693": 587, "2262": 754, "377": 183, "6356": 1758, "123": 71, "4179": 1222, "6963": 1925, "7242": 2006, "8590": 2377, "6792": 1880, "3192": 976, "6882": 1899, "4407": 1282, "1721": 598, "3618": 1079, "544": 235, "6324": 1747, "2096": 716, "107": 60, "5837": 1610, "6590": 1827, "202": 101, "622": 264, "51": 25, "1096": 403, "4021": 1187, "4455": 1298, "7001": 1933, "128": 75, "2284": 763, "8430": 2338, "7097": 1959, "7737": 2145, "404": 189, "712": 290, "3557": 1062, "1618": 554, "8058": 2237, "4321": 1262, "7514": 2088, "1107": 407, "5043": 1428, "6594": 1828, "720": 294, "58": 31, "1579": 544, "1353": 480, "6549": 1816, "2574": 834, "6084": 1675, "4411": 1283, "8422": 2335, "2925": 901, "4345": 1269, "7843": 2177, "1815": 634, "6346": 1754, "2624": 847, "2068": 708, "5874": 1617, "6196": 1711, "91": 50, "253": 134, "3272": 997, "7263": 2013, "2090": 713, "4218": 1235, "1200": 429, "6121": 1688, "1370": 485, "6685": 1847, "6065": 1665, "6741": 1865, "6159": 1701, "421": 195, "2967": 909, "8245": 2290, "3641": 1082, "8476": 2355, "6131": 1693, "7065": 1948, "7699": 2132, "1773": 620, "6853": 1894, "4474": 1300, "1633": 559, "2676": 856, "7170": 1983, "1495": 522, "8295": 2302, "1161": 417, "4484": 1303, "8208": 2279, "6746": 1867, "2552": 828, "1746": 608, "4576": 1321, "6557": 1820, "3433": 1030, "6102": 1681, "1367": 484, "8169": 2265, "1152": 414, "4545": 1315, "3500": 1045, "1065": 391, "252": 133, "6177": 1705, "4196": 1228, "8328": 2313, "6676": 1845, "3261": 994, "6106": 1683, "8033": 2230, "5379": 1510, "6418": 1779, "7189": 1988, "7198": 1991, "7121": 1965, "66": 36, "845": 333, "5045": 1430, "4821": 1371, "7879": 2185, "1819": 635, "3819": 1123, "3090": 947, "8071": 2240, "5220": 1472, "6539": 1812, "7424": 2062, "4546": 1316, "8415": 2332, "7848": 2178, "1968": 672, "5172": 1460, "5471": 1530, "168": 88, "8576": 2374, "5480": 1531, "243": 126, "2997": 918, "152": 79, "792": 316, "6906": 1905, "3691": 1097, "6284": 1735, "273": 143, "3373": 1019, "6913": 1907, "4090": 1202, "4757": 1358, "6625": 1834, "3554": 1061, "5023": 1423, "2485": 807, "5152": 1455, "1595": 549, "7672": 2125, "7062": 1947, "6358": 1759, "826": 325, "6173": 1704, "3257": 991, "3541": 1055, "7215": 1995, "6251": 1727, "4799": 1366, "1545": 531, "6912": 1906, "5949": 1636, "4693": 1339, "6674": 1844, "1252": 442, "6670": 1842, "6153": 1699, "6943": 1917, "7092": 1956, "7331": 2036, "5661": 1566, "5405": 1517, "1863": 647, "8172": 2266, "6798": 1882, "1708": 594, "1699": 590, "2246": 751, "483": 219, "1564": 538, "844": 332, "7839": 2176, "110": 61, "2133": 723, "4442": 1294, "4710": 1346, "5565": 1544, "4034": 1188, "6749": 1869, "2405": 793, "1084": 396, "6753": 1871, "1168": 420, "1784": 625, "644": 269, "778": 309, "4964": 1404, "5361": 1508, "5860": 1614, "1795": 627, "310": 156, "1750": 610, "2104": 718, "5217": 1471, "2046": 698, "4019": 1185, "3319": 1007, "7683": 2127, "4078": 1199, "365": 177, "6402": 1774, "453": 205, "705": 286, "2361": 781, "2312": 774, "1714": 596, "1110": 408, "6484": 1792, "5412": 1518, "5248": 1481, "7492": 2079, "1421": 500, "7155": 1981, "1179": 422, "1636": 560, "7391": 2054, "572": 245, "7886": 2188, "8200": 2278, "7892": 2189, "3060": 937, "1092": 400, "5933": 1633, "36": 15, "5893": 1622, "5993": 1648, "1298": 462, "7702": 2134, "5840": 1611, "3346": 1013, "7942": 2202, "92": 51, "4235": 1240, "1844": 641, "5269": 1485, "8499": 2360, "6281": 1734, "7835": 2174, "3928": 1158, "5076": 1436, "7826": 2170, "4161": 1219, "5468": 1529, "2185": 737, "5164": 1459, "8799": 2419, "7871": 2183, "2339": 776, "4563": 1318, "4415": 1284, "8072": 2241, "2568": 831, "6332": 1749, "8846": 2427, "1094": 402, "1485": 518, "6821": 1886, "8536": 2366, "2062": 705, "4741": 1353, "982": 370, "2988": 914, "7150": 1980, "8531": 2364, "8389": 2323, "4402": 1280, "348": 173, "6088": 1677, "7277": 2017, "7389": 2053, "568": 243, "690": 281, "807": 320, "4344": 1268, "2919": 899, "8631": 2386, "886": 341, "8168": 2264, "7691": 2130, "7337": 2039, "4705": 1344, "956": 361, "5772": 1595, "7320": 2033, "8259": 2294, "6609": 1830, "7079": 1953, "6534": 1809, "2448": 804, "4660": 1335, "6411": 1777, "6773": 1875, "976": 367, "4428": 1290, "5756": 1591, "3571": 1067, "2943": 904, "1593": 547, "4513": 1310, "6211": 1715, "7795": 2162, "1006": 374, "4742": 1354, "8666": 2392, "7348": 2044, "283": 147, "3137": 961, "1494": 521, "1878": 652, "5487": 1533, "4959": 1403, "2712": 861, "810": 321, "4969": 1407, "1187": 426, "6713": 1859, "6377": 1767, "6351": 1755, "6974": 1928, "3314": 1005, "2724": 862, "5983": 1645, "9000": 2436, "5831": 1609, "4511": 1309, "111": 62, "4189": 1223, "726": 296, "1717": 597, "2237": 748, "215": 110, "5044": 1429, "8148": 2259, "1646": 566, "3006": 925, "774": 307, "1239": 438, "7357": 2046, "4310": 1260, "5671": 1568, "8316": 2309, "569": 244, "470": 211, "3885": 1141, "2297": 769, "4313": 1261, "7749": 2148, "3268": 995, "1230": 436, "8307": 2307, "1648": 568, "5725": 1583, "3467": 1036, "5429": 1520, "4463": 1299, "6010": 1652, "2660": 852, "2063": 706, "684": 279, "5038": 1426, "5296": 1493, "4872": 1388, "8012": 2225, "5682": 1571, "5328": 1500, "2437": 802, "8441": 2340, "7796": 2163, "153": 80, "2051": 700, "8296": 2303, "6127": 1691, "8753": 2408, "46": 22, "3465": 1035, "8143": 2258, "5569": 1546, "2487": 808, "5230": 1474, "3503": 1046, "8156": 2261, "6967": 1927, "2545": 827, "1680": 580, "1430": 503, "2001": 684, "2143": 727, "4295": 1257, "2854": 891, "3033": 932, "6097": 1678, "3587": 1071, "6030": 1656, "6513": 1803, "6364": 1761, "2491": 810, "7265": 2015, "8334": 2315, "263": 139, "47": 23, "1665": 574, "1403": 496, "5019": 1421, "2067": 707, "5280": 1488, "5185": 1463, "3479": 1038, "2754": 870, "8671": 2393, "1696": 589, "6135": 1694, "4773": 1362, "5077": 1437, "7346": 2043, "766": 305, "5886": 1620, "567": 242, "5009": 1418, "3559": 1063, "2588": 839, "7055": 1944, "6883": 1900, "4192": 1225, "3381": 1023, "1931": 664, "94": 53, "7769": 2155, "951": 358, "4652": 1333, "8445": 2343, "791": 315, "6743": 1866, "1653": 572, "4836": 1375, "5636": 1557, "444": 201, "7762": 2152, "4549": 1317, "5136": 1450, "7376": 2049, "1280": 455, "428": 198, "8180": 2269, "1614": 553, "5665": 1567, "4352": 1271, "7125": 1966, "6754": 1872, "5854": 1613, "6914": 1908, "3665": 1092, "4262": 1247, "4706": 1345, "277": 145, "8500": 2361, "3148": 966, "2488": 809, "1690": 585, "2553": 829, "4583": 1322, "2380": 785, "3698": 1098, "1569": 540, "6610": 1831, "8432": 2339, "1643": 564, "4697": 1340, "3098": 950, "978": 368, "5183": 1462, "3588": 1072, "1828": 639, "1414": 498, "3969": 1166, "1260": 446, "3394": 1025, "8803": 2420, "1331": 469, "3992": 1174, "5620": 1553, "3955": 1162, "245": 127, "915": 348, "7585": 2107, "218": 113, "584": 250, "4480": 1301, "6627": 1835, "7912": 2194, "3679": 1094, "3959": 1163, "1757": 614, "1566": 539, "7559": 2102, "7246": 2008, "6248": 1725, "8087": 2244, "8009": 2223, "6636": 1836, "3895": 1144, "7220": 1997, "927": 354, "780": 311, "1132": 413, "789": 314, "7883": 2187, "4277": 1251, "7208": 1994, "2152": 731, "846": 334, "5375": 1509, "737": 301, "2930": 903, "4443": 1295, "173": 89, "713": 291, "6707": 1857, "2979": 912, "2195": 739, "3592": 1073, "4172": 1220, "6145": 1697, "8337": 2316, "6407": 1776, "4191": 1224, "8778": 2415, "6902": 1903, "82": 43, "6892": 1901, "4767": 1360, "3045": 933, "5101": 1441, "4979": 1410, "5036": 1425, "5245": 1479, "2003": 686, "5970": 1640, "1691": 586, "75": 38, "1901": 655, "6689": 1850, "3179": 972, "5118": 1445, "7607": 2112, "7301": 2024, "1809": 631, "8394": 2325, "6178": 1706, "2234": 747, "4009": 1178, "1572": 542, "4915": 1393, "4487": 1304, "4379": 1276, "1989": 679, "4234": 1239, "3553": 1060, "4327": 1264, "797": 317, "7228": 2000, "2089": 712, "7448": 2069, "3843": 1127, "5906": 1625, "7239": 2003, "4216": 1233, "1601": 550, "6009": 1651, "4936": 1397, "7597": 2109, "3925": 1155, "585": 251, "4863": 1387, "5460": 1527, "1695": 588, "2341": 777, "1868": 649, "161": 84, "4766": 1359, "2909": 896, "964": 364, "4748": 1356, "5325": 1499, "4599": 1330, "4910": 1392, "6978": 1929, "7354": 2045, "2825": 884, "2275": 759, "3318": 1006, "7423": 2061, "608": 260, "177": 93, "3894": 1143, "5198": 1468, "6126": 1690, "3088": 946, "1733": 602, "4422": 1286, "4005": 1177, "1444": 504, "8765": 2410, "1154": 415, "5980": 1644, "4225": 1237, "3896": 1145, "1171": 421, "7436": 2065, "6724": 1860, "49": 24, "8250": 2292, "7654": 2122, "8302": 2306, "5567": 1545, "2990": 916, "5910": 1627, "2100": 717, "2042": 696, "3334": 1011, "1765": 616, "8466": 2351, "3871": 1138, "5285": 1489, "3990": 1173, "3125": 958, "8587": 2376, "4965": 1405, "6951": 1921, "742": 302, "1704": 592, "6726": 1861, "7433": 2063, "8112": 2250, "5791": 1601, "4931": 1396, "4042": 1190, "5005": 1416, "3097": 949, "727": 297, "4193": 1226, "228": 118, "6221": 1717, "7255": 2011, "3100": 951, "3793": 1118, "104": 59, "6568": 1823, "1492": 520, "3606": 1076, "2407": 794, "3567": 1065, "3079": 941, "3779": 1112, "7073": 1951, "4738": 1352, "366": 178, "1938": 666, "1681": 581, "8164": 2263, "876": 338, "85": 46, "4841": 1378, "37": 16, "3867": 1136, "3400": 1026, "8262": 2295, "4993": 1413, "4712": 1347, "1291": 460, "2606": 843, "7552": 2097, "2374": 784, "29": 11, "331": 165, "402": 187, "1374": 487, "3909": 1148, "45": 21, "5439": 1521, "4273": 1250, "6687": 1849, "7644": 2119, "6962": 1924, "2504": 815, "1373": 486, "5781": 1598, "1767": 617, "6199": 1712, "2544": 826, "7988": 2215, "6794": 1881, "7147": 1978, "1166": 419, "1559": 536, "474": 213, "1870": 650, "3132": 959, "6875": 1896, "6923": 1910, "3138": 962, "2522": 821, "6076": 1669, "3488": 1042, "1250": 441, "167": 87, "1544": 530, "4520": 1313, "8240": 2288, "6254": 1728, "3290": 1002, "6227": 1719, "8414": 2331, "5952": 1638, "5350": 1506, "2998": 919, "985": 372, "1563": 537, "8808": 2421, "8321": 2310, "3271": 996, "2526": 822, "2346": 778, "3143": 964, "8005": 2220, "5321": 1497, "265": 141, "4420": 1285, "3656": 1087, "4750": 1357, "1804": 629, "5424": 1519, "1225": 434, "5299": 1494, "3285": 999, "851": 336, "517": 230, "1347": 477, "923": 352, "7491": 2078, "7898": 2190, "811": 322, "8367": 2320, "7026": 1940, "4156": 1217, "4174": 1221, "7338": 2040, "7333": 2037, "1924": 662, "1341": 474, "5506": 1535, "8291": 2301, "7786": 2159, "1621": 555, "3144": 965, "4423": 1287, "4211": 1231, "4948": 1399, "8447": 2344, "3356": 1014, "5132": 1448, "4591": 1325, "5979": 1643, "7946": 2204, "5244": 1478, "25": 7, "8197": 2276, "5545": 1542, "2985": 913, "2301": 772, "1756": 613, "4059": 1195, "264": 140, "7131": 1970, "1184": 425, "4699": 1341, "2671": 853, "3647": 1084, "5199": 1469, "1985": 676, "6947": 1919, "5271": 1486, "6436": 1782, "2026": 693, "6758": 1873, "3747": 1108, "2541": 825, "3675": 1093, "6482": 1791, "448": 203, "319": 161, "6399": 1773, "6242": 1724, "6807": 1884, "5765": 1593, "8632": 2387, "133": 76, "2762": 872, "5796": 1602, "1977": 675, "8040": 2231, "5977": 1642, "336": 168, "4015": 1182, "8392": 2324, "3796": 1119, "2288": 765, "6535": 1810, "7679": 2126, "7197": 1990, "679": 277, "6368": 1763, "20": 5, "1726": 600, "6668": 1841, "7756": 2151, "6660": 1840, "3238": 986, "3848": 1129, "7218": 1996, "1664": 573, "5278": 1487, "3595": 1074, "3798": 1120, "2208": 744, "6548": 1815, "7408": 2059, "1124": 412, "4791": 1365, "3288": 1000, "3926": 1156, "6051": 1661, "392": 185, "7199": 1992, "2148": 729, "6391": 1771, "3470": 1037, "5825": 1607, "3757": 1110, "3021": 929, "6533": 1808, "1051": 385, "44": 20, "7510": 2085, "7307": 2026, "6804": 1883, "7360": 2047, "147": 77, "5141": 1452, "7522": 2093, "2735": 865, "8867": 2430, "8199": 2277, "3244": 989, "6705": 1856, "6784": 1878, "2351": 779, "6025": 1655, "102": 57, "4667": 1336, "921": 350, "7708": 2137, "2309": 773, "969": 366, "6184": 1708, "4958": 1402, "681": 278, "2733": 864, "6733": 1863, "7512": 2087, "5784": 1599, "2279": 762, "4659": 1334, "3227": 982, "3598": 1075, "6035": 1658, "8356": 2319, "7502": 2082, "6224": 1718, "6512": 1802, "5459": 1526, "1710": 595, "6111": 1684, "4020": 1186, "8273": 2298, "8023": 2228, "6072": 1667, "1813": 633, "8897": 2434, "1258": 444, "613": 262, "432": 199, "5082": 1438, "6249": 1726, "542": 233, "5287": 1490, "2445": 803, "7392": 2055, "7480": 2075, "2730": 863, "52": 26, "7299": 2023, "7618": 2115, "2292": 767, "5641": 1559, "8322": 2311, "6747": 1868, "5252": 1482, "7238": 2002, "2946": 905, "3962": 1164, "4104": 1204, "6323": 1746, "4017": 1183, "65": 35, "895": 343, "3172": 971, "7250": 2010, "8675": 2394, "2748": 868, "77": 39, "4701": 1342, "4447": 1297, "4205": 1230, "8015": 2227, "7387": 2052, "5181": 1461, "2740": 866, "1920": 660, "6333": 1750, "6506": 1799, "1049": 383, "6087": 1676, "7649": 2121, "7138": 1973, "6735": 1864, "6954": 1922, "3020": 928, "3657": 1088, "6077": 1670, "8710": 2401, "3135": 960, "1261": 447, "6709": 1858, "5700": 1575, "317": 159, "6370": 1764, "5890": 1621, "4085": 1200, "7223": 1998, "57": 30, "2356": 780, "8044": 2233, "466": 210, "779": 310, "2975": 911, "2496": 812, "7823": 2168, "5340": 1505, "7507": 2084, "6614": 1832, "8543": 2367, "238": 123, "2902": 895, "3536": 1051, "1462": 511, "3081": 943, "251": 132, "2086": 711, "652": 270, "6241": 1723, "6313": 1743, "3000": 921, "3853": 1132, "5895": 1624, "6295": 1739, "84": 45, "5338": 1503, "3170": 969, "7976": 2212, "1673": 576, "1919": 659, "7850": 2179, "174": 90, "8842": 2426, "2277": 761, "6345": 1753, "1993": 681, "2803": 880, "2078": 710, "6319": 1745, "1272": 453, "1988": 678, "3752": 1109, "422": 196, "5536": 1539, "2412": 796, "8297": 2304, "3576": 1069, "2428": 800, "777": 308, "5694": 1574, "2035": 695, "6841": 1890, "5543": 1541, "2506": 816, "8173": 2267, "6467": 1789, "1651": 571, "1255": 443, "6455": 1786, "4153": 1216, "1701": 591, "3660": 1089, "6267": 1730, "7601": 2110, "7641": 2118, "6599": 1829, "5849": 1612, "4831": 1374, "4323": 1263, "116": 66, "8254": 2293, "3915": 1152, "4515": 1311, "4570": 1319, "8288": 2300, "700": 285, "3663": 1090, "1686": 583, "1585": 546, "4572": 1320, "1630": 558, "6123": 1689, "1650": 570, "7697": 2131, "260": 138, "3575": 1068, "2300": 771, "7127": 1968, "3570": 1066, "4077": 1198, "4970": 1408, "7729": 2141, "1284": 457, "8455": 2345, "672": 276, "1995": 682, "2961": 908, "4992": 1412, "1089": 399, "121": 69, "6930": 1914, "7176": 1984, "1580": 545, "3729": 1104, "8230": 2286, "1320": 466, "5639": 1558, "4446": 1296, "7021": 1939, "237": 122, "8463": 2348, "5142": 1453, "908": 345, "8555": 2370, "6829": 1888, "5683": 1572, "1221": 431, "8224": 2282, "4507": 1308, "1188": 427, "2830": 886, "5105": 1443, "7975": 2211, "5484": 1532, "8461": 2347, "2033": 694, "5442": 1522, "6128": 1692, "3528": 1050, "3764": 1111, "8131": 2255, "3997": 1176, "5764": 1592, "4198": 1229, "8188": 2271, "4852": 1381, "3331": 1010, "4294": 1256, "3080": 942, "3538": 1053, "6938": 1916, "8280": 2299, "6432": 1781, "7105": 1960, "3005": 924, "4350": 1270, "367": 179, "1688": 584, "6070": 1666, "1998": 683, "2414": 797, "7902": 2191, "2609": 845, "533": 231, "7018": 1938}
|
libritts-aligned.py
CHANGED
@@ -20,17 +20,13 @@ logger = datasets.logging.get_logger(__name__)
|
|
20 |
|
21 |
_PHONESET = "arpabet"
|
22 |
|
23 |
-
_VERBOSE = os.environ.get("
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
_VERSION = "1.0.0"
|
28 |
-
|
29 |
-
_PATH = os.environ.get("METTS_PATH", os.environ.get("HF_DATASETS_CACHE", None))
|
30 |
if _PATH is not None and not os.path.exists(_PATH):
|
31 |
os.makedirs(_PATH)
|
32 |
|
33 |
-
|
34 |
|
35 |
_CITATION = """\
|
36 |
@article{zen2019libritts,
|
@@ -62,31 +58,31 @@ _URLS = {
|
|
62 |
}
|
63 |
|
64 |
|
65 |
-
class
|
66 |
-
"""BuilderConfig for
|
67 |
|
68 |
def __init__(self, sampling_rate=22050, hop_length=256, win_length=1024, **kwargs):
|
69 |
-
"""BuilderConfig for
|
70 |
|
71 |
Args:
|
72 |
**kwargs: keyword arguments forwarded to super.
|
73 |
"""
|
74 |
-
super(
|
75 |
|
76 |
self.sampling_rate = sampling_rate
|
77 |
self.hop_length = hop_length
|
78 |
self.win_length = win_length
|
79 |
|
80 |
if _PATH is None:
|
81 |
-
raise ValueError("Please set the environment variable
|
82 |
elif _PATH == os.environ.get("HF_DATASETS_CACHE", None):
|
83 |
-
logger.warning("Please set the environment variable
|
84 |
|
85 |
-
class
|
86 |
-
"""
|
87 |
|
88 |
BUILDER_CONFIGS = [
|
89 |
-
|
90 |
name="libritts",
|
91 |
version=datasets.Version(_VERSION, ""),
|
92 |
),
|
@@ -103,14 +99,14 @@ class MeTTS(datasets.GeneratorBasedBuilder):
|
|
103 |
"phones": datasets.Sequence(datasets.Value("string")),
|
104 |
"phone_durations": datasets.Sequence(datasets.Value("int32")),
|
105 |
# audio feature
|
106 |
-
"audio": datasets.Value("string")
|
107 |
}
|
108 |
|
109 |
return datasets.DatasetInfo(
|
110 |
description=_DESCRIPTION,
|
111 |
features=datasets.Features(features),
|
112 |
supervised_keys=None,
|
113 |
-
homepage="https://github.com/MiniXC/
|
114 |
citation=_CITATION,
|
115 |
task_templates=None,
|
116 |
)
|
|
|
20 |
|
21 |
_PHONESET = "arpabet"
|
22 |
|
23 |
+
_VERBOSE = os.environ.get("LIBRITTS_VERBOSE", True)
|
24 |
+
_MAX_WORKERS = os.environ.get("LIBRITTS_MAX_WORKERS", cpu_count())
|
25 |
+
_PATH = os.environ.get("LIBRITTS_PATH", os.environ.get("HF_DATASETS_CACHE", None))
|
|
|
|
|
|
|
|
|
26 |
if _PATH is not None and not os.path.exists(_PATH):
|
27 |
os.makedirs(_PATH)
|
28 |
|
29 |
+
_VERSION = "1.0.1"
|
30 |
|
31 |
_CITATION = """\
|
32 |
@article{zen2019libritts,
|
|
|
58 |
}
|
59 |
|
60 |
|
61 |
+
class LibriTTSAlignConfig(datasets.BuilderConfig):
|
62 |
+
"""BuilderConfig for LibriTTSAlign."""
|
63 |
|
64 |
def __init__(self, sampling_rate=22050, hop_length=256, win_length=1024, **kwargs):
|
65 |
+
"""BuilderConfig for LibriTTSAlign.
|
66 |
|
67 |
Args:
|
68 |
**kwargs: keyword arguments forwarded to super.
|
69 |
"""
|
70 |
+
super(LibriTTSAlignConfig, self).__init__(**kwargs)
|
71 |
|
72 |
self.sampling_rate = sampling_rate
|
73 |
self.hop_length = hop_length
|
74 |
self.win_length = win_length
|
75 |
|
76 |
if _PATH is None:
|
77 |
+
raise ValueError("Please set the environment variable LIBRITTS_PATH to point to the LibriTTS dataset directory.")
|
78 |
elif _PATH == os.environ.get("HF_DATASETS_CACHE", None):
|
79 |
+
logger.warning("Please set the environment variable LIBRITTS_PATH to point to the LibriTTS dataset directory. Using HF_DATASETS_CACHE as a fallback.")
|
80 |
|
81 |
+
class LibriTTSAlign(datasets.GeneratorBasedBuilder):
|
82 |
+
"""LibriTTSAlign dataset."""
|
83 |
|
84 |
BUILDER_CONFIGS = [
|
85 |
+
LibriTTSAlignConfig(
|
86 |
name="libritts",
|
87 |
version=datasets.Version(_VERSION, ""),
|
88 |
),
|
|
|
99 |
"phones": datasets.Sequence(datasets.Value("string")),
|
100 |
"phone_durations": datasets.Sequence(datasets.Value("int32")),
|
101 |
# audio feature
|
102 |
+
"audio": datasets.Value("string")
|
103 |
}
|
104 |
|
105 |
return datasets.DatasetInfo(
|
106 |
description=_DESCRIPTION,
|
107 |
features=datasets.Features(features),
|
108 |
supervised_keys=None,
|
109 |
+
homepage="https://github.com/MiniXC/MeasureCollator",
|
110 |
citation=_CITATION,
|
111 |
task_templates=None,
|
112 |
)
|