Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

$ echo "Porting an historic Python2 module into Python3" > test_file

$ ./anorack test_file

$ out:1: an historic -> a historic /hIst'0rIk/

Interesting. What if...

$ ...hacks phonetics.py to use "en-us" voice...

$ ./anorack test_file

$ out:1: an historic -> a historic /hIst'0rIk/

Hum... same result. What about:

$ ...hacks phonetics.py to use "en-wm" voice...

$ ./anorack test_file

$

Ah, finally someone gets it right :)

(just having a bit of fun, this is a cool work!)

Edit: formatting...



Sorry for my ignorance, what is en-wm ?


English as spoken in West Midlands

No need to feel ignorant; it's a nonstandard, eSpeak-specific notation.


Is there a list of these? Would be fun to know what the Geordie and Scouse ones are


  $ espeak --voices | grep ' en-'
   2  en-gb          M  english              en            (en-uk 2)(en 2)
   5  en-sc          M  en-scottish          other/en-sc   (en 4)
   5  en-uk-north    M  english-north        other/en-n    (en-uk 3)(en 5)
   5  en-uk-rp       M  english_rp           other/en-rp   (en-uk 4)(en 5)
   5  en-uk-wmids    M  english_wmids        other/en-wm   (en-uk 9)(en 9)
   2  en-us          M  english-us           en-us         (en-r 5)(en 3)
   5  en-wi          M  en-westindies        other/en-wi   (en-uk 4)(en 10)


Oh, that's kinda disappointing :(




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: