Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
11
20
lang
stringclasses
22 values
language
stringclasses
22 values
source
stringclasses
2 values
template_id
stringlengths
0
10
slots
listlengths
0
3
category
stringclasses
21 values
text
stringlengths
12
136
normalized
stringlengths
12
213
split
stringclasses
1 value
en-t-000000
en
English
template
069bc34569
[ "percent" ]
You have successfully achieved a score of 35.2% on your final exam.
You have successfully achieved a score of thirty-five point two percent on your final exam.
train
en-t-000002
en
English
template
f662e128ff
[ "money" ]
Your total balance for the last visit is RM 17.
Your total balance for the last visit is seventeen ringgit.
train
en-t-000003
en
English
template
069bc34569
[ "percent" ]
You have successfully achieved a score of 88% on your final exam.
You have successfully achieved a score of eighty-eight percent on your final exam.
train
en-t-000004
en
English
template
28e7b42cc5
[ "digits", "int" ]
Your verification code is 016041; please enter it within 1 minutes to complete the setup.
Your verification code is zero one six zero four one; please enter it within one minutes to complete the setup.
train
en-t-000005
en
English
template
0d9b68f48e
[ "phone" ]
If you have any questions, please reach us at +60 11-028 3981 during our office hours.
If you have any questions, please reach us at plus six zero one one zero two eight three nine eight one during our office hours.
train
en-t-000006
en
English
template
61cc7c0f4b
[ "unit", "int" ]
Your prescription requires a dose of 284GB every 992 hours.
Your prescription requires a dose of two hundred eighty-four gigabytes every nine hundred ninety-two hours.
train
en-t-000007
en
English
template
0f36a9717f
[ "date", "time" ]
Your appointment is scheduled for 24-12-2027 at 1:05 AM.
Your appointment is scheduled for the twenty-fourth of December twenty twenty-seven at one zero five A M.
train
en-t-000008
en
English
template
24c6dcf620
[ "digits", "int" ]
Your verification code is 838847; it will expire in 71 minutes.
Your verification code is eight three eight eight four seven; it will expire in seventy-one minutes.
train
en-t-000009
en
English
template
cfd7e2afd3
[ "decimal" ]
Your delivery driver is approximately 50.7 kilometers away from your location.
Your delivery driver is approximately fifty point seven kilometers away from your location.
train
en-t-000010
en
English
template
7b81afbf45
[ "id", "digits" ]
Your student ID is B2-14 and your temporary password is 61867.
Your student ID is B two fourteen and your temporary password is sixty-one thousand eight hundred sixty-seven.
train
en-t-000011
en
English
template
3c6402310c
[ "money", "date" ]
Tuition fees for this semester are USD 87,588, payable by 21 July.
Tuition fees for this semester are eighty-seven thousand five hundred eighty-eight US dollars, payable by the twenty-first of July.
train
en-t-000012
en
English
template
153d210243
[ "ordinal", "unit" ]
Welcome to your 27th month with us! Enjoy a bonus of 34g.
Welcome to your twenty-seventh month with us! Enjoy a bonus of thirty-four grams.
train
en-t-000013
en
English
template
e1f1cbcea5
[ "range" ]
The delivery will take 10-12 working days.
The delivery will take ten to twelve working days.
train
en-t-000014
en
English
template
24c6dcf620
[ "digits", "int" ]
Your verification code is 458148; it will expire in 511 minutes.
Your verification code is four five eight one four eight; it will expire in five hundred eleven minutes.
train
en-t-000015
en
English
template
5669ad42b9
[ "year" ]
Your registration for the 2019 academic year is now complete.
Your registration for the twenty nineteen academic year is now complete.
train
en-t-000016
en
English
template
8e0a683716
[ "date", "range" ]
Hi! Your delivery is scheduled for November 5, 2027 between 3–8.
Hi! Your delivery is scheduled for November fifth, twenty twenty-seven between three to eight.
train
en-t-000017
en
English
template
75f56d7a78
[ "url" ]
For more information about our services, please visit www.web.de.
For more information about our services, please visit w w w dot web dot de.
train
en-t-000018
en
English
template
2e2e149ff1
[ "year", "big" ]
Since 2017, we have provided connectivity to over 1,404 customers.
Since twenty seventeen, we have provided connectivity to over one thousand four hundred four customers.
train
en-t-000019
en
English
template
14c2d8896f
[ "phone" ]
To update your profile, please provide a valid phone number like 019-289 6730 or an address.
To update your profile, please provide a valid phone number like zero one nine two eight nine six seven three zero or an address.
train
en-t-000020
en
English
template
14c2d8896f
[ "phone" ]
To update your profile, please provide a valid phone number like 018-093 6761 or an address.
To update your profile, please provide a valid phone number like zero one eight zero nine three six seven six one or an address.
train
en-t-000021
en
English
template
6822df5066
[ "id" ]
Your application reference is A12; please keep this for your records.
Your application reference is A twelve; please keep this for your records.
train
en-t-000023
en
English
template
0a62c8b504
[ "id" ]
Your order reference X-12340567 has been processed successfully.
Your order reference X one two three four zero five six seven has been processed successfully.
train
en-t-000024
en
English
template
5a47d88a3f
[ "int" ]
Please confirm your identity by providing the last 4 digits of your social security number.
Please confirm your identity by providing the last four digits of your social security number.
train
en-t-000025
en
English
template
db4681e246
[ "big", "decimal" ]
Your current credit limit is 70,139,491, and you have used 99.13 of it.
Your current credit limit is seventy million one hundred thirty-nine thousand four hundred ninety-one, and you have used ninety-nine point one three of it.
train
en-t-000026
en
English
template
48f6d25564
[ "range" ]
Our support team is available from 8-15 every day of the week.
Our support team is available from eight to fifteen every day of the week.
train
en-t-000027
en
English
template
74f9814fb3
[ "date", "url" ]
Your monthly statement for 17 March is now available at https://sltnet.lk/faq.
Your monthly statement for the seventeenth of March is now available at h t t p s colon slash slash sltnet dot lk slash faq.
train
en-t-000028
en
English
template
74f9814fb3
[ "date", "url" ]
Your monthly statement for 3/11/2020 is now available at https://www.sapo.pt/support.
Your monthly statement for the third of November twenty twenty is now available at h t t p s colon slash slash www dot sapo dot pt slash support.
train
en-t-000029
en
English
template
f7318550cb
[ "id" ]
Please provide the reference number INV0472 when collecting your items.
Please provide the reference number INV zero four seven two when collecting your items.
train
en-t-000030
en
English
template
d5aa122ebc
[ "email" ]
For more information, please contact our support team at fatima12@scicom.com.my.
For more information, please contact our support team at fatima one two at scicom dot com dot my.
train
en-t-000032
en
English
template
e618a9b5f8
[ "int", "year" ]
You have 7 new notifications regarding your transaction history for 2020.
You have seven new notifications regarding your transaction history for twenty twenty.
train
en-t-000033
en
English
template
522228ff36
[ "money", "percent" ]
You have earned USD 39,216 in cashback this month, which is a 60% increase from last month.
You have earned thirty-nine thousand two hundred sixteen US dollars in cashback this month, which is a sixty percent increase from last month.
train
en-t-000034
en
English
template
6822df5066
[ "id" ]
Your application reference is MH370; please keep this for your records.
Your application reference is MH three seven zero; please keep this for your records.
train
en-t-000035
en
English
template
d4a7160f18
[ "money", "date" ]
Your account balance has been topped up by USD 82,141.50 on 5 January.
Your account balance has been topped up by eighty-two thousand one hundred forty-one US dollars fifty cents on the fifth of January.
train
en-t-000036
en
English
template
685e200c7c
[ "unit" ]
Your current data balance is 179GB remaining for this billing cycle.
Your current data balance is one hundred seventy-nine gigabytes remaining for this billing cycle.
train
en-t-000037
en
English
template
f1fdc2f963
[ "range" ]
The water main repair will take 29-36 to complete.
The water main repair will take twenty-nine to thirty-six to complete.
train
en-t-000038
en
English
template
db4681e246
[ "big", "decimal" ]
Your current credit limit is 2340, and you have used 73.83 of it.
Your current credit limit is two thousand three hundred forty, and you have used seventy-three point eight three of it.
train
en-t-000039
en
English
template
3c6402310c
[ "money", "date" ]
Tuition fees for this semester are RM 743, payable by 21 July 2023.
Tuition fees for this semester are seven hundred forty-three ringgit, payable by the twenty-first of July twenty twenty-three.
train
en-t-000041
en
English
template
d4a7160f18
[ "money", "date" ]
Your account balance has been topped up by RM345.50 on 27/3/2022.
Your account balance has been topped up by three hundred forty-five ringgit fifty sen on the twenty-seventh of March twenty twenty-two.
train
en-t-000042
en
English
template
f662e128ff
[ "money" ]
Your total balance for the last visit is USD 22.
Your total balance for the last visit is twenty-two US dollars.
train
en-t-000043
en
English
template
28e7b42cc5
[ "digits", "int" ]
Your verification code is 226732; please enter it within 76 minutes to complete the setup.
Your verification code is two two six seven three two; please enter it within seventy-six minutes to complete the setup.
train
en-t-000044
en
English
template
14c2d8896f
[ "phone" ]
To update your profile, please provide a valid phone number like +60 14-957 9888 or an address.
To update your profile, please provide a valid phone number like plus six zero one four nine five seven nine eight eight eight or an address.
train
en-t-000045
en
English
template
e1f1cbcea5
[ "range" ]
The delivery will take 12–18 working days.
The delivery will take twelve to eighteen working days.
train
en-t-000046
en
English
template
e618a9b5f8
[ "int", "year" ]
You have 63 new notifications regarding your transaction history for 1950.
You have sixty-three new notifications regarding your transaction history for nineteen fifty.
train
en-t-000047
en
English
template
aaf8a14370
[ "range" ]
The clinic is open from 18-20 on weekdays.
The clinic is open from eighteen to twenty on weekdays.
train
en-t-000048
en
English
template
3c6402310c
[ "money", "date" ]
Tuition fees for this semester are $55.95, payable by February 25, 2002.
Tuition fees for this semester are fifty-five dollars ninety-five cents, payable by February twenty-fifth, two thousand and two.
train
en-t-000049
en
English
template
7595250890
[ "range" ]
Please note that the library is open from 5-7 on weekdays.
Please note that the library is open from five to seven on weekdays.
train
en-t-000050
en
English
template
a7f373391c
[ "id" ]
Your patient ID is X-12340567; please have it ready when you check in.
Your patient ID is X one two three four zero five six seven; please have it ready when you check in.
train
en-t-000051
en
English
template
eb654772d4
[ "money", "percent" ]
Your current account balance is $60,653, which is 65% higher than last month.
Your current account balance is sixty thousand six hundred fifty-three dollars, which is sixty-five percent higher than last month.
train
en-t-000052
en
English
template
f662e128ff
[ "money" ]
Your total balance for the last visit is USD 20.
Your total balance for the last visit is twenty US dollars.
train
en-t-000053
en
English
template
61cc7c0f4b
[ "unit", "int" ]
Your prescription requires a dose of 362 g every 139 hours.
Your prescription requires a dose of three hundred sixty-two grams every one hundred thirty-nine hours.
train
en-t-000055
en
English
template
fa6edea131
[ "money", "date" ]
Your payment of RM92.76 was successfully processed on 6 October.
Your payment of ninety-two ringgit seventy-six sen was successfully processed on the sixth of October.
train
en-t-000057
en
English
template
298aad2594
[ "decimal", "unit" ]
Your property is located within 50.1 48.9km of the flood zone.
Your property is located within fifty point one forty-eight point nine kilometers of the flood zone.
train
en-t-000058
en
English
template
a6256c919a
[ "email" ]
To complete your registration, please confirm your email address: fatima89@yahoo.com.
To complete your registration, please confirm your email address: fatima eight nine at yahoo dot com.
train
en-t-000059
en
English
template
44d5f8c6ed
[ "year", "id" ]
For more information on our 1973 fiscal policy, please refer to document INV0472.
For more information on our nineteen seventy-three fiscal policy, please refer to document INV zero four seven two.
train
en-t-000060
en
English
template
a54d81d015
[ "digits" ]
Can you confirm if your current address is still linked to the postcode 2974?
Can you confirm if your current address is still linked to the postcode two nine seven four?
train
en-t-000061
en
English
template
7695dba9b7
[ "id", "percent" ]
Your loan application INV0472 was approved with an interest rate of 64.6%.
Your loan application INV zero four seven two was approved with an interest rate of sixty-four point six percent.
train
en-t-000062
en
English
template
810e6c12ae
[ "big" ]
The scholarship fund has grown to 8,664,416 thanks to our generous alumni.
The scholarship fund has grown to eight million six hundred sixty-four thousand four hundred sixteen thanks to our generous alumni.
train
en-t-000063
en
English
template
2e2e149ff1
[ "year", "big" ]
Since 2003, we have provided connectivity to over 126,919 customers.
Since two thousand and three, we have provided connectivity to over one hundred twenty-six thousand nine hundred nineteen customers.
train
en-t-000064
en
English
template
48f6d25564
[ "range" ]
Our support team is available from 25-29 every day of the week.
Our support team is available from twenty-five to twenty-nine every day of the week.
train
en-t-000065
en
English
template
a2daf5693d
[ "percent" ]
Your lab results show a 87.9% increase in cholesterol levels.
Your lab results show a eighty-seven point nine percent increase in cholesterol levels.
train
en-t-000066
en
English
template
2c26aa86f4
[ "money", "url" ]
Your monthly bill of RM1 is now available at https://yahoo.com.ph/help.
Your monthly bill of one ringgit is now available at h t t p s colon slash slash yahoo dot com dot ph slash help.
train
en-t-000067
en
English
template
0a62c8b504
[ "id" ]
Your order reference B2-14 has been processed successfully.
Your order reference B two fourteen has been processed successfully.
train
en-t-000068
en
English
template
06bcb618bc
[ "date", "ordinal" ]
Please submit your application by 27 June to be considered for the 23rd round of admissions.
Please submit your application by the twenty-seventh of June to be considered for the twenty-third round of admissions.
train
en-t-000069
en
English
template
2c26aa86f4
[ "money", "url" ]
Your monthly bill of RM 200.90 is now available at www.sltnet.lk.
Your monthly bill of two hundred ringgit ninety sen is now available at w w w dot sltnet dot lk.
train
en-t-000073
en
English
template
050aad3a66
[ "digits" ]
Please enter the 768280 verification code sent to your mobile device.
Please enter the seven hundred sixty-eight thousand two hundred eighty verification code sent to your mobile device.
train
en-t-000074
en
English
template
300e3135a2
[ "range" ]
Your package will be delivered within 28 - 31 business days.
Your package will be delivered within twenty-eight to thirty-one business days.
train
en-t-000075
en
English
template
7b81afbf45
[ "id", "digits" ]
Your student ID is TK-88213 and your temporary password is 504979.
Your student ID is TK eight eight two one three and your temporary password is five hundred four thousand nine hundred seventy-nine.
train
en-t-000076
en
English
template
e6b9e9ae0a
[ "money", "range" ]
Your transfer of $583.48 will be processed within 16 - 19 business days.
Your transfer of five hundred eighty-three dollars forty-eight cents will be processed within sixteen to nineteen business days.
train
en-t-000077
en
English
template
70d09abe62
[ "id", "url" ]
Your order QZ8501 has been successfully processed; check the status at https://bank.my.
Your order QZ eight five zero one has been successfully processed; check the status at h t t p s colon slash slash bank dot my.
train
en-t-000078
en
English
template
eb654772d4
[ "money", "percent" ]
Your current account balance is $605, which is 53% higher than last month.
Your current account balance is six hundred five dollars, which is fifty-three percent higher than last month.
train
en-t-000079
en
English
template
9230797b39
[ "phone", "time" ]
Please call us at 1-300-88-1222 before 1p.m..
Please call us at one three zero zero eight eight one two two two before one p m.
train
en-t-000080
en
English
template
61cc7c0f4b
[ "unit", "int" ]
Your prescription requires a dose of 82.2l every 2 hours.
Your prescription requires a dose of eighty-two point two liters every two hours.
train
en-t-000082
en
English
template
8dbd5d1b2d
[ "percent", "year" ]
Sales grew 1% in 1964.
Sales grew one percent in nineteen sixty-four.
train
en-t-000083
en
English
template
db4681e246
[ "big", "decimal" ]
Your current credit limit is 9225, and you have used 24.98 of it.
Your current credit limit is nine thousand two hundred twenty-five, and you have used twenty-four point nine eight of it.
train
en-t-000084
en
English
template
e6b9e9ae0a
[ "money", "range" ]
Your transfer of USD 82,920.56 will be processed within 11 - 12 business days.
Your transfer of eighty-two thousand nine hundred twenty US dollars fifty-six cents will be processed within eleven to twelve business days.
train
en-t-000085
en
English
template
bf9cf4619a
[ "phone" ]
Please call us at 03-1078 5826 if you have any questions about your plan.
Please call us at zero three one zero seven eight five eight two six if you have any questions about your plan.
train
en-t-000086
en
English
template
f1fdc2f963
[ "range" ]
The water main repair will take 2–9 to complete.
The water main repair will take two to nine to complete.
train
en-t-000087
en
English
template
28e7b42cc5
[ "digits", "int" ]
Your verification code is 1751; please enter it within 9 minutes to complete the setup.
Your verification code is one seven five one; please enter it within nine minutes to complete the setup.
train
en-t-000088
en
English
template
7595250890
[ "range" ]
Please note that the library is open from 17-18 on weekdays.
Please note that the library is open from seventeen to eighteen on weekdays.
train
en-t-000089
en
English
template
06bcb618bc
[ "date", "ordinal" ]
Please submit your application by 16 June 2028 to be considered for the 28th round of admissions.
Please submit your application by the sixteenth of June twenty twenty-eight to be considered for the twenty-eighth round of admissions.
train
en-t-000090
en
English
template
40f22457b0
[ "decimal", "percent" ]
Your current GPA is 24.40, which places you in the top 77% of your class.
Your current GPA is twenty-four point four zero, which places you in the top seventy-seven percent of your class.
train
en-t-000091
en
English
template
a54d81d015
[ "digits" ]
Can you confirm if your current address is still linked to the postcode 150038?
Can you confirm if your current address is still linked to the postcode one five zero zero three eight?
train
en-t-000092
en
English
template
14f238aec8
[ "percent" ]
The waiting area is currently at 86% capacity.
The waiting area is currently at eighty-six percent capacity.
train
en-t-000093
en
English
template
210fe6d52e
[ "money", "date" ]
Your promotional discount of $62.90 will be applied on 25 December 2005.
Your promotional discount of sixty-two dollars ninety cents will be applied on the twenty-fifth of December two thousand and five.
train
en-t-000094
en
English
template
a54d81d015
[ "digits" ]
Can you confirm if your current address is still linked to the postcode 5263?
Can you confirm if your current address is still linked to the postcode five two six three?
train
en-t-000095
en
English
template
d5aa122ebc
[ "email" ]
For more information, please contact our support team at maria74@onet.pl.
For more information, please contact our support team at maria seven four at onet dot pl.
train
en-t-000096
en
English
template
810e6c12ae
[ "big" ]
The scholarship fund has grown to 14,442,995 thanks to our generous alumni.
The scholarship fund has grown to fourteen million four hundred forty-two thousand nine hundred ninety-five thanks to our generous alumni.
train
en-t-000097
en
English
template
0f36a9717f
[ "date", "time" ]
Your appointment is scheduled for 06-01-2019 at 11pm.
Your appointment is scheduled for the sixth of January twenty nineteen at eleven p m.
train
en-t-000098
en
English
template
891fc5861b
[ "digits" ]
Please enter the verification code 552818 to access your medical records.
Please enter the verification code five five two eight one eight to access your medical records.
train
en-t-000099
en
English
template
a383951645
[ "int" ]
The doctor will be with you in 8 minutes.
The doctor will be with you in eight minutes.
train
en-t-000100
en
English
template
2d6c614b51
[ "digits" ]
Please enter the verification code 2231 to confirm your identity.
Please enter the verification code two two three one to confirm your identity.
train
en-t-000101
en
English
template
300e3135a2
[ "range" ]
Your package will be delivered within 26-30 business days.
Your package will be delivered within twenty-six to thirty business days.
train
en-t-000102
en
English
template
4678c3fa5b
[ "ordinal" ]
Our office will be closed on the 2nd of next month.
Our office will be closed on the second of next month.
train
en-t-000103
en
English
template
a3edb608b1
[ "digits" ]
Please enter your 932558 digit PIN to access the secure menu.
Please enter your nine hundred thirty-two thousand five hundred fifty-eight digit PIN to access the secure menu.
train
en-t-000104
en
English
template
e618a9b5f8
[ "int", "year" ]
You have 711 new notifications regarding your transaction history for 1987.
You have seven hundred eleven new notifications regarding your transaction history for nineteen eighty-seven.
train
en-t-000105
en
English
template
3c6402310c
[ "money", "date" ]
Tuition fees for this semester are RM375, payable by 7 October 2003.
Tuition fees for this semester are three hundred seventy-five ringgit, payable by the seventh of October two thousand and three.
train
en-t-000106
en
English
template
069bc34569
[ "percent" ]
You have successfully achieved a score of 83% on your final exam.
You have successfully achieved a score of eighty-three percent on your final exam.
train
en-t-000107
en
English
template
c96e3e804c
[ "ordinal", "int" ]
You are 11th in the queue, about 3 minutes to go.
You are eleventh in the queue, about three minutes to go.
train
en-t-000108
en
English
template
a7f373391c
[ "id" ]
Your patient ID is QZ8501; please have it ready when you check in.
Your patient ID is QZ eight five zero one; please have it ready when you check in.
train
en-t-000109
en
English
template
a383951645
[ "int" ]
The doctor will be with you in 73 minutes.
The doctor will be with you in seventy-three minutes.
train
End of preview. Expand in Data Studio

Multilingual TTS text normalizer (written → spoken)

Training pairs for fine-tuning a small LLM as a text-to-speech normalizer: text is a sentence the way people type it (digits, currency symbols, dates, phone numbers, …) and normalized is the exact spoken form, in the same language, with nothing left that a TTS model cannot say.

52,698 rows — 16 monolingual locales and 6 Malaysian code-switched pairs. Every row is digit-free on the spoken side.

from datasets import load_dataset

ds = load_dataset("Scicom-intl/Multilingual-Normalizer")               # text / normalized
sft = load_dataset("Scicom-intl/Multilingual-Normalizer", "sft")       # chat messages, ready to train
{"id": "ms-en-t-000015", "lang": "ms-en", "language": "Malay-English code-switching (Malaysia)",
 "source": "template", "template_id": "7cc461db78", "slots": ["money:ms", "date:ms"],
 "text": "Encik, bil bulan ini RM 66.50 dan due date pada 25-12-2022.",
 "normalized": "Encik, bil bulan ini enam puluh enam ringgit lima puluh sen dan due date pada dua puluh lima Disember dua ribu dua puluh dua.",
 "split": "train"}

Languages

lang language number words from grammar caveat
en English (Malaysian context, RM/USD) app.spoken_normalizer
ms Malay app.spoken_normalizer
id Indonesian num2words
zh Mandarin (Malaysian context) app.spoken_normalizer
ta Tamil (Malaysia, RM) app.spoken_normalizer
ta-LK Tamil (Sri Lanka, Rs/சதம்) app.spoken_normalizer
si Sinhala own tables (verbalize.py) needs native review: -යි and case suffixes; thousands 11–19 and ≥100,000 left to LLM rows
tl Filipino own tables needs native review: linker (-ng/na) applied heuristically; Spanish-derived time/date words only in LLM rows
ar Arabic (MSA) num2words + own counted-noun forms needs native review: gender agreement of bare counts not modelled; dates/times/units only in LLM rows
fr, es, de, it, pt, nl French, Spanish, German, Italian, Portuguese, Dutch num2words + locale conventions dates in the running-text form (am fünfzehnten März, le quinze mars); bare counts avoid 1 (un/une)
pl Polish num2words needs native review: only int/money/percent/decimal/phone/codes deterministic; dates, ordinals, units, years only in LLM rows
ms-en, en-ms, zh-en, zh-ms, ta-en, ta-ms Malaysian code-switching app.spoken_normalizer, one language per number ta-en / ta-ms need native review

Arabic rows use Eastern Arabic digits (٠-٩) in ~30% of the written side.

Code-switching (9,000 rows)

Malaysian speech is not one language per sentence. A sentence carries a matrix language and drops words, phrases and often the number itself into another, and the reading of the digits follows the fragment they sit in, not the sentence:

Encik, bil bulan ini RM250.50 dan due date pada 12/3/2024.
        ↓ Malay clause              ↓ Malay clause
"… dua ratus lima puluh ringgit lima puluh sen … dua belas Mac dua ribu dua puluh empat."

உங்கள் bill RM66, due date 13 March 2027.
        ↓ Tamil clause    ↓ English clause
"உங்கள் bill அறுபத்தாறு ரிங்கிட், due date the thirteenth of March twenty twenty-seven."

That decision is the label. So these rows are not LLM-written: a frame is hand-written with the read-language tagged on every slot ({money:ms}, {date:en}), the value is filled and formatted in that language, and the spoken form comes from the rule verbalizer with the language forced — digit-correct and language-correct by construction. (The normalizer LLM was tried first and is not a usable teacher here: asked for the spoken form of bil anda RM250 it answered "bil anda ringgit malaysia dua ratus lima puluh" — the currency before the amount, which no Malay speaker says.)

Each slot is read together with the carrier words next to it, because the cue is what fixes the reading — 704251 alone is a quantity, nombor rujukan anda 704251 is read digit by digit; 9.50 alone is a decimal, 9.50 மணிக்கு is a time.

pair matrix + embedded rows
ms-en Malay with English (Bahasa rojak) 1,500
en-ms Malaysian English with Malay 1,500
zh-en Mandarin with English 1,500
zh-ms Mandarin with Malay 1,500
ta-en Tamil with English 1,500
ta-ms Tamil with Malay 1,500

The two sources, tagged per row

  • source: "template" (49,000) — a sentence frame with typed slots ({money}, {date}, {phone}, …) filled with random locale-formatted values; the spoken side is produced deterministically. Monolingual frames are 10 hand-written seeds per locale plus LLM-written ones; code-switched frames are all hand-written. Digit-correct by construction; grammar risk only where the caveat column says so, because slots that are not safe in a locale are never filled deterministically there.
  • source: "llm" (3,698) — natural sentences written by an LLM (gemma-4-31b) per category, then normalized by the same LLM with a per-locale prompt and two deterministic few-shot pairs. Kept only if no digit survives, the output is in the locale's script, ≥80% of the non-numeric words are preserved, and the length ratio is sane (the checks field records this). Expect a few percent residual LLM errors. category: "plain" rows are identity pairs (nothing to normalize).

Splits are 90/5/5, by template for template rows (no frame is shared between train and val/test) and by text hash for LLM rows.

Files

  • train.jsonl, val.jsonl, test.jsonlid, lang, language, source, text, normalized, split plus template_id, slots (template rows) or category, checks (LLM rows).
  • *_sft.jsonl — the same rows as {"messages": [system, user, assistant]}, ready for chat fine-tuning. The system message is the normalizer prompt for that locale; for a code-switched pair it says the sentence is mixed and that each number is read in the language of the words around it.
  • raw/ — the intermediate caches the release was built from: template_pairs.jsonl (all filled frames), templates_llm.jsonl (LLM-written monolingual frames), llm_sentences.jsonl and llm_pairs.jsonl (the LLM rows with their check results, including the ones that were dropped).

Known limits

  • Template rows repeat sentence frames; the LLM rows are there for lexical diversity. Do not train on template rows alone.
  • The code-switched rows are all template rows: ~30 hand-written frames per pair. They teach the number-reading decision across languages, not open-domain rojak vocabulary.
  • Deterministic Sinhala, Filipino, Arabic, Polish and the Tamil code-switched output has not been checked by native speakers.
  • Malaysian-context bias throughout: RM amounts, Malaysian phone and IC formats, local service domains (telco, e-wallet, clinic, parcel, ride-hailing).

Provenance

Generated with the synthetic-normalizer pipeline of the Scicom TTS API repo (synthetic_normalizer.{templates_llm,generate,llm_pairs,build}); the deterministic verbalizer for English, Malay, Mandarin and Tamil is that repo's rule normalizer (app.spoken_normalizer). Rebuild or scale:

set -a; source .env; set +a                                   # OPENAI_* for the LLM stages only
uv run --with num2words --with aiohttp python -m synthetic_normalizer.templates_llm --per-locale 60
uv run --with num2words python -m synthetic_normalizer.generate --per-locale 2500 --cs-per-locale 1500
uv run --with num2words --with aiohttp python -m synthetic_normalizer.llm_pairs --per-category 12
uv run --with num2words python -m synthetic_normalizer.build --sft

generate is free (no LLM) and the LLM stages are cached and incremental. Adding a code-switched pair means adding frames to codeswitch.py; adding a locale means extending verbalize.py (number words, currencies, months, units, safe slots) and locales.py (formats, seeds).

Downloads last month
53