https://blog.waleson.com/2021/07/text-to-speech-models-have-accents-too.html Skip to main content Search This Blog [ ] [Search] Programming Thoughts and experiments in programming by a startup CTO in Amsterdam. AI Text-to-Speech models have accents too * Get link * Facebook * Twitter * Pinterest * Email * Other Apps - July 10, 2021 While playing around with the Web Speech API I discovered something interesting: if you let the Dutch voice speak English text, it sounds remarkably like the typical "Dungrish" accent (Dutch person speaking English). I didn't expect this. Obviously the AI was not trained on reproducing foreign accents, but it still does! Very interesting to see what happens if you let the voice speak a language it was not trained on You can play around with it here if your browser supports it, or try the examples below: Select the voice, this might be empty if your browser doesn't support text to speech [] Enter the text you want spoken [Hello good sir, can you please tell me what twenty times ten is? ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [Speak] Or try these ready made examples: * English text spoken by Dutch voice * English text spoken by Hindi voice * English text spoken by Italian voice * English text spoken by French voice * English text spoken by German voice * English text spoken by Japanese voice * Dutch text spoken by English voice * Dutch text spoken by German voice * German text spoken by Dutch voice * German text spoken by English voice Once you're done playing around, discuss this on HN * Get link * Facebook * Twitter * Pinterest * Email * Other Apps Popular posts from this blog Parsing 10TB of Metadata, 26M Domain Names and 1.4M SSL Certs for $10 on AWS - January 17, 2016 Last May I was working on hobby project similar to this: https:// github.com/zakjan/cert-chain-resolver/ . As I found the cert-chain-resolver project a couple of days later I did nothing with the results, but I got some nice comments on how I used 1 VM to download & process 10TB in a couple of hours on this HN thread recently so I decided to do a write up on the process and publish the data. See the parts below: Part 1: downloading 10TB of metadata in 4 hours Part 2: fetching a ****load of certificates Part 3: playing with the data Total costs My approach was somewhat different from the github project above, instead of using the AIA extension I wanted to brute-force the solution by finding all known intermediate and root certificates in advance. Based on the checksum of the issuer/subject fields I could look up which certificates "claimed" to be the signer of the certificate and then using the signature I could filter out which ones actually were. You can us Read more S3 boto3 'StreamingBody' object has no attribute 'tell' - January 14, 2018 I was recently trying to work with the python package warcio and feeding an s3 object from the common crawl bucket directly into it. r = s3.get_object(Key='crawl-data/file....', Bucket='commoncrawl') for record in ArchiveIterator(r['Body']): pass However, this fails with the error: self.offset = self.fh.tell() AttributeError: 'StreamingBody' object has no attribute 'tell' The reason is that boto3 s3 objects don't support tell . It's easily fixable by creating a tiny class: class S3ObjectWithTell: def __init__(self, s3object): self.s3object = s3object self.offset = 0 def read(self, amount=None): result = self.s3object.read (amount) self.offset += len(result) return result def close(self): self.s3object.close() def tell(self): return self.offset You can now use this class and change for record in ArchiveItera Read more UUIDs in MySQL are really not random - February 05, 2019 Universally Unique Identifiers (UUIDs) are great. I love how you can tell the progress of a batch job just by looking at the current UUID. If it starts with 0... , the task is less than 1/16th done. If it starts with 7d.. , we're almost halfway there. At ff... we are nearing the end. The fact that you can tell this rests on two principles: 1) you sort your jobs by their uuid and 2) UUIDs are random, as in, distributed uniformly . However, last week, I noticed a strange thing: a clearly visible pattern in the uuid column of a database table. It should be impossible, but there it was. It looked like this: > SELECT uuid FROM example ORDER BY id; 4f95de28-0fd1-48db-ad2e-34ecd169c483 4331cb9e-1d91-11e9-be2c-45923c63e8a2 4331cc4c-1d91-11e9-be2c-45923c63e8a2 4331ccec-1d91-11e9-be2c-45923c63e8a2 4331cd7e-1d91-11e9-be2c-45923c63e8a2 c7e2f124-f6ba-4434-843f-89958a7436ec 4331ce10-1d91-11e9-be2c-45923c63e8a2 4331ce9e-1d91-11e9-be2c-45923c63e8a2 4331cf28-1d91-11e9-be2c-45923c Read more Powered by Blogger Theme images by Michael Elkan Archive * July 20211 * October 20201 * June 20193 * May 20191 * February 20192 * January 20191 * October 20183 * January 20181 * January 20161 * June 20151 * May 20141 * August 20131 * April 20131 * January 20131 * December 20121 * October 20124 * September 20121 * August 20121 * April 20124 * December 201111 * March 20112 * February 20111 * January 20119 Show more Show less Labels * api * app engine * css * documentation * drupal * facebook * foundational * google code jam * html * idea time * javascript * jquery * language acquisition * mac * NS * pagination * pnd * qualification round * rate limit * SnelTrein * social graph analysis * supermarket * ticket dispenser * tours * twitter * twitter api * university * virtual machine * web workers * wikipedia * wine * yahoo pipes Show more Show less Report Abuse