From b41954039e17490ba509fedc20d40b0425572935 Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Thu, 6 Aug 2020 16:04:10 +0800 Subject: [PATCH 1/3] Added 'adversarial' etc. Added 'adversarial', 'C#', 'repository', 'repr', 'router', 'verbose' --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f5983a1..f9fddad 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ | access [🔊](http://dict.youdao.com/dictvoice?audio=access&type=1) | ✅ ['ækses] | ❌ [ək'ses] | | Adobe [🔊](http://dict.youdao.com/dictvoice?audio=Adobe&type=2) | ✅ [ə'dəʊbi]| ❌ [əˈdub] | | admin [🔊](http://dict.youdao.com/dictvoice?audio=admin&type=2) | ✅ ['ædmɪn] | ❌ [ɜ:d'mɪn] | +| adversarial [🔊](http://dict.youdao.com/dictvoice?audio=adversarial&type=2) | ✅ [ˌædvəˈseəriəl] | ❌ [ədˈvɜːrsəriəl] | | agile [🔊](http://dict.youdao.com/dictvoice?audio=agile&type=1) | ✅ ['ædʒaɪl] | ❌ [ə'dʒaɪl] | | amazon [🔊](http://dict.youdao.com/dictvoice?audio=amazon&type=1) | ✅ ['æməzən] | ❌ ['əmeizən; ə'meizən] | | analogy [🔊](http://dict.youdao.com/dictvoice?audio=analogy&type=1) | ✅ [əˈnælədʒi] | ❌ [ænə'lɒdʒi] | @@ -23,6 +24,7 @@ | bind [🔊](http://dict.youdao.com/dictvoice?audio=bind&type=1) | ✅ [baɪnd] | ❌ [bɪnd] | | cache [🔊](http://dict.youdao.com/dictvoice?audio=cache&type=1) | ✅ [kæʃ] | ❌ [kætʃ] | | clang [🔊](http://dict.youdao.com/dictvoice?audio=clang&type=2) | ✅ [klæŋ] | ❌ [sɪlæŋ] | +| C# | ✅ C sharp ['si: ʃɑːp] | | | Daemon [🔊](http://dict.youdao.com/dictvoice?audio=Daemon&type=1) | ✅ ['diːmən] | ❌ [[dæmən]] | | deny [🔊](http://dict.youdao.com/dictvoice?audio=deny&type=1) | ✅ [dɪ'naɪ] | ❌ ['dæni] | | deque [🔊](http://dict.youdao.com/dictvoice?audio=deque&type=1) | ✅ ['dek] | ❌ [di'kju] | @@ -67,10 +69,13 @@ | query [🔊](http://dict.youdao.com/dictvoice?audio=query&type=1) | ✅ ['kwɪəri] | ❌ ['kwaɪri] | | Qt [🔊](http://dict.youdao.com/dictvoice?audio=cute&type=1) | ✅ [kjuːt] | | | Realm [🔊](http://dict.youdao.com/dictvoice?audio=realm&type=1) | ✅ [relm] | ❌ [riəlm] | +| repository [🔊](http://dict.youdao.com/dictvoice?audio=repository&type=2) | ✅ [rɪˈpɒzətri] | | ❌ [rɪˈpaʊzətri] | +| repr [🔊](https://dict.youdao.com/dictvoice?audio=repper&type=2) | ✅ [ˈrepə(r)] | ❌ ['ɑː(r) iː piː ɑː(r)] | | resume [🔊](http://dict.youdao.com/dictvoice?audio=resume&type=1) | ✅ [rɪ'zju:m] | ❌ [rɪ'sju:m] | | resolved [🔊](http://dict.youdao.com/dictvoice?audio=resolved&type=1) | ✅ [rɪ'zɒlvd] | ❌ [rɪ'səʊvd] | | resort [🔊](http://dict.youdao.com/dictvoice?audio=resort&type=1) | ✅ [rɪˈzɔ:t] | ❌ [rɪˈsɔ:t] | | retina [🔊](http://dict.youdao.com/dictvoice?audio=retina&type=1) | ✅ ['retɪnə] | ❌ [ri'tina] | +| router [🔊](http://dict.youdao.com/dictvoice?audio=router&type=2) | ✅ ['ruːtə(r)] | ❌ ['roʊtə(r)] | san jose [🔊](http://dict.youdao.com/dictvoice?audio=san%20jose&type=1) | ✅ [sænhəu'zei] | ❌ [sæn'ju:s] | | safari [🔊](http://dict.youdao.com/dictvoice?audio=safari&type=1) | ✅ [sə'fɑːrɪ] | ❌ [sæfərɪ] | | scheme [🔊](http://dict.youdao.com/dictvoice?audio=scheme&type=1) | ✅ [skiːm] | ❌ [s'kæmə] | @@ -81,6 +86,7 @@ | typical [🔊](http://dict.youdao.com/dictvoice?audio=typical&type=1) | ✅ ['tɪpɪkl] | ❌ ['taɪpɪkəl] | | Ubuntu [🔊](http://upload.wikimedia.org/wikipedia/commons/b/b5/En-Ubuntu_pronunciation.oga) | ✅ [ʊ'bʊntʊ] | ❌ [juː'bʊntʊ] | | variable [🔊](http://dict.youdao.com/dictvoice?audio=variable&type=1) | ✅ ['veəriəbl] | ❌ [və'raiəbl] | +| verbose [🔊](http://dict.youdao.com/dictvoice?audio=verbose&type=2) | ✅ [vɜːˈbəʊs] | ❌ ['vɜːrboʊs] | | vue [🔊](http://dict.youdao.com/dictvoice?audio=vue&type=1) | ✅ [v'ju:] | ❌ [v'ju:i] | | width [🔊](http://dict.youdao.com/dictvoice?audio=width&type=1) | ✅ [wɪdθ] | ❌ [waɪdθ] | | YouTube [🔊](http://dict.youdao.com/dictvoice?audio=youtube&type=1) | ✅ ['juː'tjuːb] | ❌ ['juː'tʊbɪ] | From 282a3b457638e39bf1436b2c0cd9af85d564c8bb Mon Sep 17 00:00:00 2001 From: Yuan Chen Date: Sat, 29 Aug 2020 11:49:43 -0700 Subject: [PATCH 2/3] Change to type=1 and remove router --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f9fddad..956d638 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ | access [🔊](http://dict.youdao.com/dictvoice?audio=access&type=1) | ✅ ['ækses] | ❌ [ək'ses] | | Adobe [🔊](http://dict.youdao.com/dictvoice?audio=Adobe&type=2) | ✅ [ə'dəʊbi]| ❌ [əˈdub] | | admin [🔊](http://dict.youdao.com/dictvoice?audio=admin&type=2) | ✅ ['ædmɪn] | ❌ [ɜ:d'mɪn] | -| adversarial [🔊](http://dict.youdao.com/dictvoice?audio=adversarial&type=2) | ✅ [ˌædvəˈseəriəl] | ❌ [ədˈvɜːrsəriəl] | +| adversarial [🔊](http://dict.youdao.com/dictvoice?audio=adversarial&type=1) | ✅ [ˌædvəˈseəriəl] | ❌ [ədˈvɜːrsəriəl] | | agile [🔊](http://dict.youdao.com/dictvoice?audio=agile&type=1) | ✅ ['ædʒaɪl] | ❌ [ə'dʒaɪl] | | amazon [🔊](http://dict.youdao.com/dictvoice?audio=amazon&type=1) | ✅ ['æməzən] | ❌ ['əmeizən; ə'meizən] | | analogy [🔊](http://dict.youdao.com/dictvoice?audio=analogy&type=1) | ✅ [əˈnælədʒi] | ❌ [ænə'lɒdʒi] | @@ -69,14 +69,12 @@ | query [🔊](http://dict.youdao.com/dictvoice?audio=query&type=1) | ✅ ['kwɪəri] | ❌ ['kwaɪri] | | Qt [🔊](http://dict.youdao.com/dictvoice?audio=cute&type=1) | ✅ [kjuːt] | | | Realm [🔊](http://dict.youdao.com/dictvoice?audio=realm&type=1) | ✅ [relm] | ❌ [riəlm] | -| repository [🔊](http://dict.youdao.com/dictvoice?audio=repository&type=2) | ✅ [rɪˈpɒzətri] | | ❌ [rɪˈpaʊzətri] | +| repository [🔊](http://dict.youdao.com/dictvoice?audio=repository&type=1) | ✅ [rɪˈpɒzətri] | | ❌ [rɪˈpaʊzətri] | | repr [🔊](https://dict.youdao.com/dictvoice?audio=repper&type=2) | ✅ [ˈrepə(r)] | ❌ ['ɑː(r) iː piː ɑː(r)] | | resume [🔊](http://dict.youdao.com/dictvoice?audio=resume&type=1) | ✅ [rɪ'zju:m] | ❌ [rɪ'sju:m] | | resolved [🔊](http://dict.youdao.com/dictvoice?audio=resolved&type=1) | ✅ [rɪ'zɒlvd] | ❌ [rɪ'səʊvd] | | resort [🔊](http://dict.youdao.com/dictvoice?audio=resort&type=1) | ✅ [rɪˈzɔ:t] | ❌ [rɪˈsɔ:t] | | retina [🔊](http://dict.youdao.com/dictvoice?audio=retina&type=1) | ✅ ['retɪnə] | ❌ [ri'tina] | -| router [🔊](http://dict.youdao.com/dictvoice?audio=router&type=2) | ✅ ['ruːtə(r)] | ❌ ['roʊtə(r)] -| san jose [🔊](http://dict.youdao.com/dictvoice?audio=san%20jose&type=1) | ✅ [sænhəu'zei] | ❌ [sæn'ju:s] | | safari [🔊](http://dict.youdao.com/dictvoice?audio=safari&type=1) | ✅ [sə'fɑːrɪ] | ❌ [sæfərɪ] | | scheme [🔊](http://dict.youdao.com/dictvoice?audio=scheme&type=1) | ✅ [skiːm] | ❌ [s'kæmə] | | segue [🔊](http://dict.youdao.com/dictvoice?audio=segue&type=1) | ✅ ['sɛɡwe] | ❌ [se'dʒ] | @@ -86,7 +84,7 @@ | typical [🔊](http://dict.youdao.com/dictvoice?audio=typical&type=1) | ✅ ['tɪpɪkl] | ❌ ['taɪpɪkəl] | | Ubuntu [🔊](http://upload.wikimedia.org/wikipedia/commons/b/b5/En-Ubuntu_pronunciation.oga) | ✅ [ʊ'bʊntʊ] | ❌ [juː'bʊntʊ] | | variable [🔊](http://dict.youdao.com/dictvoice?audio=variable&type=1) | ✅ ['veəriəbl] | ❌ [və'raiəbl] | -| verbose [🔊](http://dict.youdao.com/dictvoice?audio=verbose&type=2) | ✅ [vɜːˈbəʊs] | ❌ ['vɜːrboʊs] | +| verbose [🔊](http://dict.youdao.com/dictvoice?audio=verbose&type=1) | ✅ [vɜːˈbəʊs] | ❌ ['vɜːrboʊs] | | vue [🔊](http://dict.youdao.com/dictvoice?audio=vue&type=1) | ✅ [v'ju:] | ❌ [v'ju:i] | | width [🔊](http://dict.youdao.com/dictvoice?audio=width&type=1) | ✅ [wɪdθ] | ❌ [waɪdθ] | | YouTube [🔊](http://dict.youdao.com/dictvoice?audio=youtube&type=1) | ✅ ['juː'tjuːb] | ❌ ['juː'tʊbɪ] | From d8ab68ff42b2c902e2575c9f3390f8e5fadd2665 Mon Sep 17 00:00:00 2001 From: Yuan Chen Date: Sun, 30 Aug 2020 16:58:20 -0700 Subject: [PATCH 3/3] Add American English pronunciations --- README.md | 188 +++++++++++++++++++++++----------------------- tools/addprons.py | 56 ++++++++++++++ 2 files changed, 150 insertions(+), 94 deletions(-) create mode 100755 tools/addprons.py diff --git a/README.md b/README.md index af845cc..71245f2 100644 --- a/README.md +++ b/README.md @@ -1,100 +1,100 @@ # chinese-programmer-wrong-pronunciation 中国程序员容易发音错误的单词(点击喇叭可收听正确读音) -| 单词 | 正确发音 | 错误发音 | -| ---- | ------- | ------- | -| access [🔊](http://dict.youdao.com/dictvoice?audio=access&type=1) | ✅ ['ækses] | ❌ [ək'ses] | -| adversarial [🔊](http://dict.youdao.com/dictvoice?audio=adversarial&type=1) | ✅ [ˌædvəˈseəriəl] | ❌ [ədˈvɜːrsəriəl] | -| Adobe [🔊](http://dict.youdao.com/dictvoice?audio=Adobe&type=1) | ✅ [ə'dəʊbi]| ❌ [əˈdub] | -| admin [🔊](http://dict.youdao.com/dictvoice?audio=admin&type=1) | ✅ ['ædmɪn] | ❌ [ɜ:d'mɪn] | -| agile [🔊](http://dict.youdao.com/dictvoice?audio=agile&type=1) | ✅ ['ædʒaɪl] | ❌ [ə'dʒaɪl] | -| amazon [🔊](http://dict.youdao.com/dictvoice?audio=amazon&type=1) | ✅ ['æməzən] | ❌ ['əmeizən; ə'meizən] | -| analogy [🔊](http://dict.youdao.com/dictvoice?audio=analogy&type=1) | ✅ [əˈnælədʒi] | ❌ [ænə'lɒdʒi] | -| Angular [🔊](http://dict.youdao.com/dictvoice?audio=Angular&type=1) | ✅ ['æŋgjʊlə] | ❌ ['æŋɡələ; 'æŋdʒʌlə] | -| AJAX [🔊](http://dict.youdao.com/dictvoice?audio=AJAX&type=1) | ✅ ['eidʒæks] | ❌ [ə'dʒʌks] | -| alias [🔊](http://dict.youdao.com/dictvoice?audio=alias&type=1) | ✅ [ˈeɪliəs]| ❌ [ə'lais] | -| Apache [🔊](http://dict.youdao.com/dictvoice?audio=Apache&type=1) | ✅ [ə'pætʃɪ] | ❌ [ʌpʌtʃ] | -| app [🔊](http://dict.youdao.com/dictvoice?audio=app&type=1) | ✅ [æp] | ❌ [eipi'pi]| -| archive [🔊](http://dict.youdao.com/dictvoice?audio=archive&type=1) | ✅ ['ɑːkaɪv] | ❌ ['ətʃɪv] | -| array [🔊](http://dict.youdao.com/dictvoice?audio=array&type=1) | ✅ [ə'rei] | ❌ [æ'rei] | -| ASCII [🔊](http://dict.youdao.com/dictvoice?audio=ascii&type=1) | ✅ ['æski] | ❌ [ɑːsk] | -| aspect [🔊](http://dict.youdao.com/dictvoice?audio=aspect&type=1) | ✅ ['æspekt] | ❌ [ə'spekt] | -| avatar [🔊](http://dict.youdao.com/dictvoice?audio=avatar&type=1) | ✅ ['ævətɑː] | ❌ [ə'vʌtɑ] | -| Azure [🔊](http://dict.youdao.com/dictvoice?audio=azure&type=1)| ✅ ['æʒə] | ❌ [ˈæzʊʒə] | -| bind [🔊](http://dict.youdao.com/dictvoice?audio=bind&type=1) | ✅ [baɪnd] | ❌ [bɪnd] | -| cache [🔊](http://dict.youdao.com/dictvoice?audio=cache&type=1) | ✅ [kæʃ] | ❌ [kætʃ] | -| clang [🔊](http://dict.youdao.com/dictvoice?audio=clang&type=1) | ✅ [klæŋ] | ❌ [sɪlæŋ] | -| daemon [🔊](http://dict.youdao.com/dictvoice?audio=Daemon&type=1) | ✅ ['diːmən] | ❌ [[dæmən]] | -| debt [🔊](http://dict.youdao.com/dictvoice?audio=debt&type=1) | ✅ [det] | ❌ [de'bit] | -| deny [🔊](http://dict.youdao.com/dictvoice?audio=deny&type=1) | ✅ [dɪ'naɪ] | ❌ ['dæni] | -| deque [🔊](http://dict.youdao.com/dictvoice?audio=deque&type=1) | ✅ ['dek] | ❌ [di'kju] | -| digest [🔊](http://dict.youdao.com/dictvoice?audio=digest&type=1) | ✅ n. ['dɑɪdʒɛst] v. [dɑɪ'dʒɛst] | ❌ ['dɪgɛst] | -| Dijkstra [🔊](https://upload.wikimedia.org/wikipedia/commons/8/85/Dijkstra.ogg) | ✅ Dutch:[ˈdɛikstra] English:[ˈdaɪkstrə] | | -| Django [🔊](http://dict.youdao.com/dictvoice?audio=Django&type=1) | ✅ [ˈdʒæŋɡoʊ] | ❌ [diˈdʒæŋɡoʊ] | -| doc [🔊](http://dict.youdao.com/dictvoice?audio=doc&type=1) | ✅ [dɒk]| ❌ [daʊk] | -| event [🔊](http://dict.youdao.com/dictvoice?audio=event&type=1) | ✅ [ɪ'vent]| ❌ ['ɪvənt] | -| epoch [🔊](http://dict.youdao.com/dictvoice?audio=epoch&type=1) | ✅ [ˈiːpɒk]| ❌ ['ɛpətʃ] | -| facade [🔊](http://dict.youdao.com/dictvoice?audio=facade&type=1) | ✅ [fə'sɑːd]| ❌ ['feikeid] | -| fedora [🔊](http://dict.youdao.com/dictvoice?audio=fedora&type=1) | ✅ [fɪ'dɔːrə]| ❌ ['fedərə] | -| format [🔊](http://dict.youdao.com/dictvoice?audio=format&type=1) | ✅ ['fɔːmæt]| ❌ [fɔ'mæt] | -| Git [🔊](http://dict.youdao.com/dictvoice?audio=git&type=1) | ✅ [ɡɪt] | ❌ [dʒɪt] | -| GNU [🔊](https://upload.wikimedia.org/wikipedia/commons/2/24/En-gnu.ogg) | ✅ [gnu:] | | -| GraphQL [🔊](http://dict.youdao.com/dictvoice?audio=GraphQL&type=1) | ✅ [græf kju ɛl] | ❌ [dʒɪgræf kju ɛl] | -| GUI [🔊](http://dict.youdao.com/dictvoice?audio={GUI}&type=1) | ✅ [ˈɡu:i] | | -| Haskell [🔊](http://dict.youdao.com/dictvoice?audio=haskell&type=1) | ✅ [ˈhæskəl] | ❌ [hæˈskəl] | -| height [🔊](http://dict.youdao.com/dictvoice?audio=height&type=1) | ✅ [haɪt] | ❌ [heɪt] | -| hidden [🔊](http://dict.youdao.com/dictvoice?audio=hidden&type=1) | ✅ ['hɪdn] | ❌ ['haɪdn] | -| image [🔊](http://dict.youdao.com/dictvoice?audio=image&type=1) | ✅ ['ɪmɪdʒ] | ❌ [ɪ'meɪdʒ] | -| implement [🔊](http://dict.youdao.com/dictvoice?audio=implement&type=1) | ✅ ['ɪmplɪm(ə)nt] | ❌ [ɪm'plem(ə)nt] | -| integer [🔊](http://dict.youdao.com/dictvoice?audio=integer&type=1) | ✅ ['ɪntɪdʒə] | ❌ [ˈɪntaɪgə] | -| issue [🔊](http://dict.youdao.com/dictvoice?audio=issue&type=1) | ✅ ['ɪʃuː] | ❌ [ˈaɪʃuː] | -| Java [🔊](http://dict.youdao.com/dictvoice?audio=java&type=1) | ✅ ['dʒɑːvə] | ❌ ['dʒɑːvɑː] | -| jpg(jpeg) [🔊](http://dict.youdao.com/dictvoice?audio=JPEG&type=1) | ✅ ['dʒeɪpeɡ] | ❌ [ˈdʒeɪˈpi:ˈdʒiː] | -| key [🔊](http://dict.youdao.com/dictvoice?audio=key&type=1) | ✅ [kiː] | ❌ [kei] | -| lambda [🔊](http://dict.youdao.com/dictvoice?audio=lambda&type=1) | ✅ [ˈlæmdə] | ❌ [ˈlɒŋmdɑ] | -| linear [🔊](http://dict.youdao.com/dictvoice?audio=linear&type=1) | ✅ ['lɪnɪə] | ❌ ['laɪə] | -| Linux [🔊](http://dict.youdao.com/dictvoice?audio=linux&type=1) | ✅ ['lɪnəks] | ❌ [ˈlɪnʌks; ˈlɪnjuːks] | -| locale [🔊](http://dict.youdao.com/dictvoice?audio=locale&type=1) | ✅ [ləʊ'kɑːl] | ❌ [ˈloʊk(ə)l] | -| Lucene [🔊](http://dict.youdao.com/dictvoice?audio=lucene&type=1) | ✅ [lu'siːn] | ❌ ['lu:sən] | -| main [🔊](http://dict.youdao.com/dictvoice?audio=main&type=1) | ✅ [meɪn] | ❌ [mɪn] | -| margin [🔊](http://dict.youdao.com/dictvoice?audio=margin&type=1) | ✅ ['mɑːdʒɪn] | ❌ ['mʌgɪn] | -| matrix [🔊](http://dict.youdao.com/dictvoice?audio=matrix&type=1) | ✅ [ˈmeɪtrɪks] | ❌ [ˈmɑ:trɪks] | -| maven [🔊](http://dict.youdao.com/dictvoice?audio=maven&type=1) | ✅ ['meɪvn] | ❌ ['maːvn] | -| Microsoft [🔊](http://dict.youdao.com/dictvoice?audio=Microsoft&type=1) | ✅ ['maikrəusɔft] | ❌ ['mikrəusɔft] | -| module [🔊](http://dict.youdao.com/dictvoice?audio=module&type=1) | ✅ ['mɒdjuːl] | ❌ ['məʊdl] | -| nginx | ✅ Engine X | | -| null [🔊](http://dict.youdao.com/dictvoice?audio=null&type=1) | ✅ [nʌl] | ❌ [naʊ] | -| OS X | ✅ OS ten | ❌ [ɔs eks] | -| phantom [🔊](http://dict.youdao.com/dictvoice?audio=phantom&type=1) | ✅ ['fæntəm] | ❌ ['pæntəm] | -| parameter [🔊](http://dict.youdao.com/dictvoice?audio=parameter&type=1) | ✅ [pə'ræmɪtə] | ❌ ['pærəmɪtə] | -| privilege [🔊](http://dict.youdao.com/dictvoice?audio=privilege&type=1) | ✅ ['prɪvəlɪdʒ] | ❌ ['prɪvɪlɪdʒ] | -| prometheus [🔊](http://dict.youdao.com/dictvoice?audio=prometheus&type=1) | ✅ [prə-ˈmē-thē-əs] | | -| putty [🔊](http://dict.youdao.com/dictvoice?audio=putty&type=1) | ✅ [ˈpʌti] | ❌ [ˈpuːti] | -| Qt [🔊](http://dict.youdao.com/dictvoice?audio=cute&type=1) | ✅ [kjuːt] | | -| query [🔊](http://dict.youdao.com/dictvoice?audio=query&type=1) | ✅ ['kwɪəri] | ❌ ['kwaɪri] | -| Realm [🔊](http://dict.youdao.com/dictvoice?audio=realm&type=1) | ✅ [relm] | ❌ [riəlm] | -| Redux [🔊](http://dict.youdao.com/dictvoice?audio=redux&type=1) | ✅ [ri'dʌks] | ❌ ['ridju:ks] | -| resume [🔊](http://dict.youdao.com/dictvoice?audio=resume&type=1) | ✅ [rɪ'zju:m] | ❌ [rɪ'sju:m] | -| resolved [🔊](http://dict.youdao.com/dictvoice?audio=resolved&type=1) | ✅ [rɪ'zɒlvd] | ❌ [rɪ'səʊvd] | -| resort [🔊](http://dict.youdao.com/dictvoice?audio=resort&type=1) | ✅ [rɪˈzɔ:t] | ❌ [rɪˈsɔ:t] | -| retina [🔊](http://dict.youdao.com/dictvoice?audio=retina&type=1) | ✅ ['retɪnə] | ❌ [ri'tina] | -| route [🔊](http://dict.youdao.com/dictvoice?audio=route&type=1) | ✅ [ruːt] | ❌ [rəʊt] | -| San Jose [🔊](http://dict.youdao.com/dictvoice?audio=san%20jose&type=1) | ✅ [sænhəu'zei] | ❌ [sæn'ju:s] | -| safari [🔊](http://dict.youdao.com/dictvoice?audio=safari&type=1) | ✅ [sə'fɑːrɪ] | ❌ [sæfərɪ] | -| scheme [🔊](http://dict.youdao.com/dictvoice?audio=scheme&type=1) | ✅ [skiːm] | ❌ [s'kæmə] | -| scala [🔊](http://dict.youdao.com/dictvoice?audio=scala&type=1) | ✅ [ˈskɑːlɑ] | ❌ [ˈskæːlɑ] | -| segue [🔊](http://dict.youdao.com/dictvoice?audio=segue&type=1) | ✅ ['sɛɡwe] | ❌ [se'dʒ] | -| SQL | ✅ [ˈsiːkwəl]/[ˈesˈkjuːˈel] | | -| sudo | ✅ ['suːduː] | | -| suite [🔊](http://dict.youdao.com/dictvoice?audio=suite&type=1) | ✅ [swiːt] | ❌ [sjuːt] | -| thymeleaf [🔊](http://dict.youdao.com/dictvoice?audio=thymeleaf&type=1) | ✅ [ˈtaɪmˌlɪːf] | ❌ [θiːmɪlɪːf]] | -| typical [🔊](http://dict.youdao.com/dictvoice?audio=typical&type=1) | ✅ ['tɪpɪkl] | ❌ ['taɪpɪkəl] | -| Ubuntu [🔊](http://upload.wikimedia.org/wikipedia/commons/b/b5/En-Ubuntu_pronunciation.oga) | ✅ [ʊ'bʊntʊ] | ❌ [juː'bʊntʊ] | -| variable [🔊](http://dict.youdao.com/dictvoice?audio=variable&type=1) | ✅ ['veəriəbl] | ❌ [və'raiəbl] | -| verbose [🔊](http://dict.youdao.com/dictvoice?audio=verbose&type=1) | ✅ [vɜːˈbəʊs] | ❌ ['vɜːrboʊs] | -| vue [🔊](http://dict.youdao.com/dictvoice?audio=vue&type=1) | ✅ [v'ju:] | ❌ [v'ju:i] | -| width [🔊](http://dict.youdao.com/dictvoice?audio=width&type=1) | ✅ [wɪdθ] | ❌ [waɪdθ] | -| YouTube [🔊](http://dict.youdao.com/dictvoice?audio=youtube&type=1) | ✅ ['juː'tjuːb] | ❌ ['juː'tʊbɪ] | +| 单词 | 正确发音(英音)| 正确发音(美音)| 错误发音 | +| ---- | --------------- | ----------------- | ----------- | +| access | [🔊](http://dict.youdao.com/dictvoice?audio=access&type=1) ✅ ['ækses] | [🔊](http://dict.youdao.com/dictvoice?audio=access&type=2) | ❌ [ək'ses] | +| adversarial | [🔊](http://dict.youdao.com/dictvoice?audio=adversarial&type=1) ✅ [ˌædvəˈseəriəl] | [🔊](http://dict.youdao.com/dictvoice?audio=adversarial&type=2) | ❌ [ədˈvɜːrsəriəl] | +| Adobe | [🔊](http://dict.youdao.com/dictvoice?audio=Adobe&type=1) ✅ [ə'dəʊbi]| [🔊](http://dict.youdao.com/dictvoice?audio=Adobe&type=2) | ❌ [əˈdub] | +| admin | [🔊](http://dict.youdao.com/dictvoice?audio=admin&type=1) ✅ ['ædmɪn] | [🔊](http://dict.youdao.com/dictvoice?audio=admin&type=2) | ❌ [ɜ:d'mɪn] | +| agile | [🔊](http://dict.youdao.com/dictvoice?audio=agile&type=1) ✅ ['ædʒaɪl] | [🔊](http://dict.youdao.com/dictvoice?audio=agile&type=2) | ❌ [ə'dʒaɪl] | +| amazon | [🔊](http://dict.youdao.com/dictvoice?audio=amazon&type=1) ✅ ['æməzən] | [🔊](http://dict.youdao.com/dictvoice?audio=amazon&type=2) | ❌ ['əmeizən; ə'meizən] | +| analogy | [🔊](http://dict.youdao.com/dictvoice?audio=analogy&type=1) ✅ [əˈnælədʒi] | [🔊](http://dict.youdao.com/dictvoice?audio=analogy&type=2) | ❌ [ænə'lɒdʒi] | +| Angular | [🔊](http://dict.youdao.com/dictvoice?audio=Angular&type=1) ✅ ['æŋgjʊlə] | [🔊](http://dict.youdao.com/dictvoice?audio=Angular&type=2) | ❌ ['æŋɡələ; 'æŋdʒʌlə] | +| AJAX | [🔊](http://dict.youdao.com/dictvoice?audio=AJAX&type=1) ✅ ['eidʒæks] | [🔊](http://dict.youdao.com/dictvoice?audio=AJAX&type=2) | ❌ [ə'dʒʌks] | +| alias | [🔊](http://dict.youdao.com/dictvoice?audio=alias&type=1) ✅ [ˈeɪliəs]| [🔊](http://dict.youdao.com/dictvoice?audio=alias&type=2) | ❌ [ə'lais] | +| Apache | [🔊](http://dict.youdao.com/dictvoice?audio=Apache&type=1) ✅ [ə'pætʃɪ] | [🔊](http://dict.youdao.com/dictvoice?audio=Apache&type=2) | ❌ [ʌpʌtʃ] | +| app | [🔊](http://dict.youdao.com/dictvoice?audio=app&type=1) ✅ [æp] | [🔊](http://dict.youdao.com/dictvoice?audio=app&type=2) | ❌ [eipi'pi]| +| archive | [🔊](http://dict.youdao.com/dictvoice?audio=archive&type=1) ✅ ['ɑːkaɪv] | [🔊](http://dict.youdao.com/dictvoice?audio=archive&type=2) | ❌ ['ətʃɪv] | +| array | [🔊](http://dict.youdao.com/dictvoice?audio=array&type=1) ✅ [ə'rei] | [🔊](http://dict.youdao.com/dictvoice?audio=array&type=2) | ❌ [æ'rei] | +| ASCII | [🔊](http://dict.youdao.com/dictvoice?audio=ascii&type=1) ✅ ['æski] | [🔊](http://dict.youdao.com/dictvoice?audio=ascii&type=2) | ❌ [ɑːsk] | +| aspect | [🔊](http://dict.youdao.com/dictvoice?audio=aspect&type=1) ✅ ['æspekt] | [🔊](http://dict.youdao.com/dictvoice?audio=aspect&type=2) | ❌ [ə'spekt] | +| avatar | [🔊](http://dict.youdao.com/dictvoice?audio=avatar&type=1) ✅ ['ævətɑː] | [🔊](http://dict.youdao.com/dictvoice?audio=avatar&type=2) | ❌ [ə'vʌtɑ] | +| Azure | [🔊](http://dict.youdao.com/dictvoice?audio=azure&type=1) ✅ ['æʒə] | [🔊](http://dict.youdao.com/dictvoice?audio=azure&type=2) | ❌ [ˈæzʊʒə] | +| bind | [🔊](http://dict.youdao.com/dictvoice?audio=bind&type=1) ✅ [baɪnd] | [🔊](http://dict.youdao.com/dictvoice?audio=bind&type=2) | ❌ [bɪnd] | +| cache | [🔊](http://dict.youdao.com/dictvoice?audio=cache&type=1) ✅ [kæʃ] | [🔊](http://dict.youdao.com/dictvoice?audio=cache&type=2) | ❌ [kætʃ] | +| clang | [🔊](http://dict.youdao.com/dictvoice?audio=clang&type=1) ✅ [klæŋ] | [🔊](http://dict.youdao.com/dictvoice?audio=clang&type=2) | ❌ [sɪlæŋ] | +| daemon | [🔊](http://dict.youdao.com/dictvoice?audio=Daemon&type=1) ✅ ['diːmən] | [🔊](http://dict.youdao.com/dictvoice?audio=Daemon&type=2) | ❌ [[dæmən]] | +| debt | [🔊](http://dict.youdao.com/dictvoice?audio=debt&type=1) ✅ [det] | [🔊](http://dict.youdao.com/dictvoice?audio=debt&type=2) | ❌ [de'bit] | +| deny | [🔊](http://dict.youdao.com/dictvoice?audio=deny&type=1) ✅ [dɪ'naɪ] | [🔊](http://dict.youdao.com/dictvoice?audio=deny&type=2) | ❌ ['dæni] | +| deque | [🔊](http://dict.youdao.com/dictvoice?audio=deque&type=1) ✅ ['dek] | [🔊](http://dict.youdao.com/dictvoice?audio=deque&type=2) | ❌ [di'kju] | +| digest | [🔊](http://dict.youdao.com/dictvoice?audio=digest&type=1) ✅ n. ['dɑɪdʒɛst] v. [dɑɪ'dʒɛst] | [🔊](http://dict.youdao.com/dictvoice?audio=digest&type=2) | ❌ ['dɪgɛst] | +| Dijkstra | [🔊](https://upload.wikimedia.org/wikipedia/commons/8/85/Dijkstra.ogg) ✅ Dutch:[ˈdɛikstra] English:[ˈdaɪkstrə] | [🔊](https://upload.wikimedia.org/wikipedia/commons/8/85/Dijkstra.ogg) | | +| Django | [🔊](http://dict.youdao.com/dictvoice?audio=Django&type=1) ✅ [ˈdʒæŋɡoʊ] | [🔊](http://dict.youdao.com/dictvoice?audio=Django&type=2) | ❌ [diˈdʒæŋɡoʊ] | +| doc | [🔊](http://dict.youdao.com/dictvoice?audio=doc&type=1) ✅ [dɒk]| [🔊](http://dict.youdao.com/dictvoice?audio=doc&type=2) | ❌ [daʊk] | +| event | [🔊](http://dict.youdao.com/dictvoice?audio=event&type=1) ✅ [ɪ'vent]| [🔊](http://dict.youdao.com/dictvoice?audio=event&type=2) | ❌ ['ɪvənt] | +| epoch | [🔊](http://dict.youdao.com/dictvoice?audio=epoch&type=1) ✅ [ˈiːpɒk]| [🔊](http://dict.youdao.com/dictvoice?audio=epoch&type=2) | ❌ ['ɛpətʃ] | +| facade | [🔊](http://dict.youdao.com/dictvoice?audio=facade&type=1) ✅ [fə'sɑːd]| [🔊](http://dict.youdao.com/dictvoice?audio=facade&type=2) | ❌ ['feikeid] | +| fedora | [🔊](http://dict.youdao.com/dictvoice?audio=fedora&type=1) ✅ [fɪ'dɔːrə]| [🔊](http://dict.youdao.com/dictvoice?audio=fedora&type=2) | ❌ ['fedərə] | +| format | [🔊](http://dict.youdao.com/dictvoice?audio=format&type=1) ✅ ['fɔːmæt]| [🔊](http://dict.youdao.com/dictvoice?audio=format&type=2) | ❌ [fɔ'mæt] | +| Git | [🔊](http://dict.youdao.com/dictvoice?audio=git&type=1) ✅ [ɡɪt] | [🔊](http://dict.youdao.com/dictvoice?audio=git&type=2) | ❌ [dʒɪt] | +| GNU | [🔊](https://upload.wikimedia.org/wikipedia/commons/2/24/En-gnu.ogg) ✅ [gnu:] | [🔊](https://upload.wikimedia.org/wikipedia/commons/2/24/En-gnu.ogg) | | +| GraphQL | [🔊](http://dict.youdao.com/dictvoice?audio=GraphQL&type=1) ✅ [græf kju ɛl] | [🔊](http://dict.youdao.com/dictvoice?audio=GraphQL&type=2) | ❌ [dʒɪgræf kju ɛl] | +| GUI | [🔊](http://dict.youdao.com/dictvoice?audio={GUI}&type=1) ✅ [ˈɡu:i] | [🔊](http://dict.youdao.com/dictvoice?audio={GUI}&type=2) | | +| Haskell | [🔊](http://dict.youdao.com/dictvoice?audio=haskell&type=1) ✅ [ˈhæskəl] | [🔊](http://dict.youdao.com/dictvoice?audio=haskell&type=2) | ❌ [hæˈskəl] | +| height | [🔊](http://dict.youdao.com/dictvoice?audio=height&type=1) ✅ [haɪt] | [🔊](http://dict.youdao.com/dictvoice?audio=height&type=2) | ❌ [heɪt] | +| hidden | [🔊](http://dict.youdao.com/dictvoice?audio=hidden&type=1) ✅ ['hɪdn] | [🔊](http://dict.youdao.com/dictvoice?audio=hidden&type=2) | ❌ ['haɪdn] | +| image | [🔊](http://dict.youdao.com/dictvoice?audio=image&type=1) ✅ ['ɪmɪdʒ] | [🔊](http://dict.youdao.com/dictvoice?audio=image&type=2) | ❌ [ɪ'meɪdʒ] | +| implement | [🔊](http://dict.youdao.com/dictvoice?audio=implement&type=1) ✅ ['ɪmplɪm(ə)nt] | [🔊](http://dict.youdao.com/dictvoice?audio=implement&type=2) | ❌ [ɪm'plem(ə)nt] | +| integer | [🔊](http://dict.youdao.com/dictvoice?audio=integer&type=1) ✅ ['ɪntɪdʒə] | [🔊](http://dict.youdao.com/dictvoice?audio=integer&type=2) | ❌ [ˈɪntaɪgə] | +| issue | [🔊](http://dict.youdao.com/dictvoice?audio=issue&type=1) ✅ ['ɪʃuː] | [🔊](http://dict.youdao.com/dictvoice?audio=issue&type=2) | ❌ [ˈaɪʃuː] | +| Java | [🔊](http://dict.youdao.com/dictvoice?audio=java&type=1) ✅ ['dʒɑːvə] | [🔊](http://dict.youdao.com/dictvoice?audio=java&type=2) | ❌ ['dʒɑːvɑː] | +| jpg| [🔊](http://dict.youdao.com/dictvoice?audio=JPEG&type=1) ✅ ['dʒeɪpeɡ] | [🔊](http://dict.youdao.com/dictvoice?audio=JPEG&type=2) | ❌ [ˈdʒeɪˈpi:ˈdʒiː] | +| key | [🔊](http://dict.youdao.com/dictvoice?audio=key&type=1) ✅ [kiː] | [🔊](http://dict.youdao.com/dictvoice?audio=key&type=2) | ❌ [kei] | +| lambda | [🔊](http://dict.youdao.com/dictvoice?audio=lambda&type=1) ✅ [ˈlæmdə] | [🔊](http://dict.youdao.com/dictvoice?audio=lambda&type=2) | ❌ [ˈlɒŋmdɑ] | +| linear | [🔊](http://dict.youdao.com/dictvoice?audio=linear&type=1) ✅ ['lɪnɪə] | [🔊](http://dict.youdao.com/dictvoice?audio=linear&type=2) | ❌ ['laɪə] | +| Linux | [🔊](http://dict.youdao.com/dictvoice?audio=linux&type=1) ✅ ['lɪnəks] | [🔊](http://dict.youdao.com/dictvoice?audio=linux&type=2) | ❌ [ˈlɪnʌks; ˈlɪnjuːks] | +| locale | [🔊](http://dict.youdao.com/dictvoice?audio=locale&type=1) ✅ [ləʊ'kɑːl] | [🔊](http://dict.youdao.com/dictvoice?audio=locale&type=2) | ❌ [ˈloʊk(ə)l] | +| Lucene | [🔊](http://dict.youdao.com/dictvoice?audio=lucene&type=1) ✅ [lu'siːn] | [🔊](http://dict.youdao.com/dictvoice?audio=lucene&type=2) | ❌ ['lu:sən] | +| main | [🔊](http://dict.youdao.com/dictvoice?audio=main&type=1) ✅ [meɪn] | [🔊](http://dict.youdao.com/dictvoice?audio=main&type=2) | ❌ [mɪn] | +| margin | [🔊](http://dict.youdao.com/dictvoice?audio=margin&type=1) ✅ ['mɑːdʒɪn] | [🔊](http://dict.youdao.com/dictvoice?audio=margin&type=2) | ❌ ['mʌgɪn] | +| matrix | [🔊](http://dict.youdao.com/dictvoice?audio=matrix&type=1) ✅ [ˈmeɪtrɪks] | [🔊](http://dict.youdao.com/dictvoice?audio=matrix&type=2) | ❌ [ˈmɑ:trɪks] | +| maven | [🔊](http://dict.youdao.com/dictvoice?audio=maven&type=1) ✅ ['meɪvn] | [🔊](http://dict.youdao.com/dictvoice?audio=maven&type=2) | ❌ ['maːvn] | +| Microsoft | [🔊](http://dict.youdao.com/dictvoice?audio=Microsoft&type=1) ✅ ['maikrəusɔft] | [🔊](http://dict.youdao.com/dictvoice?audio=Microsoft&type=2) | ❌ ['mikrəusɔft] | +| module | [🔊](http://dict.youdao.com/dictvoice?audio=module&type=1) ✅ ['mɒdjuːl] | [🔊](http://dict.youdao.com/dictvoice?audio=module&type=2) | ❌ ['məʊdl] | +| nginx | ✅ Engine X | | | +| null | [🔊](http://dict.youdao.com/dictvoice?audio=null&type=1) ✅ [nʌl] | [🔊](http://dict.youdao.com/dictvoice?audio=null&type=2) | ❌ [naʊ] | +| OS X | ✅ OS ten | | ❌ [ɔs eks] | +| phantom | [🔊](http://dict.youdao.com/dictvoice?audio=phantom&type=1) ✅ ['fæntəm] | [🔊](http://dict.youdao.com/dictvoice?audio=phantom&type=2) | ❌ ['pæntəm] | +| parameter | [🔊](http://dict.youdao.com/dictvoice?audio=parameter&type=1) ✅ [pə'ræmɪtə] | [🔊](http://dict.youdao.com/dictvoice?audio=parameter&type=2) | ❌ ['pærəmɪtə] | +| privilege | [🔊](http://dict.youdao.com/dictvoice?audio=privilege&type=1) ✅ ['prɪvəlɪdʒ] | [🔊](http://dict.youdao.com/dictvoice?audio=privilege&type=2) | ❌ ['prɪvɪlɪdʒ] | +| prometheus | [🔊](http://dict.youdao.com/dictvoice?audio=prometheus&type=1) ✅ [prə-ˈmē-thē-əs] | [🔊](http://dict.youdao.com/dictvoice?audio=prometheus&type=2) | | +| putty | [🔊](http://dict.youdao.com/dictvoice?audio=putty&type=1) ✅ [ˈpʌti] | [🔊](http://dict.youdao.com/dictvoice?audio=putty&type=2) | ❌ [ˈpuːti] | +| Qt | [🔊](http://dict.youdao.com/dictvoice?audio=cute&type=1) ✅ [kjuːt] | [🔊](http://dict.youdao.com/dictvoice?audio=cute&type=2) | | +| query | [🔊](http://dict.youdao.com/dictvoice?audio=query&type=1) ✅ ['kwɪəri] | [🔊](http://dict.youdao.com/dictvoice?audio=query&type=2) | ❌ ['kwaɪri] | +| Realm | [🔊](http://dict.youdao.com/dictvoice?audio=realm&type=1) ✅ [relm] | [🔊](http://dict.youdao.com/dictvoice?audio=realm&type=2) | ❌ [riəlm] | +| Redux | [🔊](http://dict.youdao.com/dictvoice?audio=redux&type=1) ✅ [ri'dʌks] | [🔊](http://dict.youdao.com/dictvoice?audio=redux&type=2) | ❌ ['ridju:ks] | +| resume | [🔊](http://dict.youdao.com/dictvoice?audio=resume&type=1) ✅ [rɪ'zju:m] | [🔊](http://dict.youdao.com/dictvoice?audio=resume&type=2) | ❌ [rɪ'sju:m] | +| resolved | [🔊](http://dict.youdao.com/dictvoice?audio=resolved&type=1) ✅ [rɪ'zɒlvd] | [🔊](http://dict.youdao.com/dictvoice?audio=resolved&type=2) | ❌ [rɪ'səʊvd] | +| resort | [🔊](http://dict.youdao.com/dictvoice?audio=resort&type=1) ✅ [rɪˈzɔ:t] | [🔊](http://dict.youdao.com/dictvoice?audio=resort&type=2) | ❌ [rɪˈsɔ:t] | +| retina | [🔊](http://dict.youdao.com/dictvoice?audio=retina&type=1) ✅ ['retɪnə] | [🔊](http://dict.youdao.com/dictvoice?audio=retina&type=2) | ❌ [ri'tina] | +| route | [🔊](http://dict.youdao.com/dictvoice?audio=route&type=1) ✅ [ruːt] | [🔊](http://dict.youdao.com/dictvoice?audio=route&type=2) | ❌ [rəʊt] | +| San Jose | [🔊](http://dict.youdao.com/dictvoice?audio=san%20jose&type=1) ✅ [sænhəu'zei] | [🔊](http://dict.youdao.com/dictvoice?audio=san%20jose&type=2) | ❌ [sæn'ju:s] | +| safari | [🔊](http://dict.youdao.com/dictvoice?audio=safari&type=1) ✅ [sə'fɑːrɪ] | [🔊](http://dict.youdao.com/dictvoice?audio=safari&type=2) | ❌ [sæfərɪ] | +| scheme | [🔊](http://dict.youdao.com/dictvoice?audio=scheme&type=1) ✅ [skiːm] | [🔊](http://dict.youdao.com/dictvoice?audio=scheme&type=2) | ❌ [s'kæmə] | +| scala | [🔊](http://dict.youdao.com/dictvoice?audio=scala&type=1) ✅ [ˈskɑːlɑ] | [🔊](http://dict.youdao.com/dictvoice?audio=scala&type=2) | ❌ [ˈskæːlɑ] | +| segue | [🔊](http://dict.youdao.com/dictvoice?audio=segue&type=1) ✅ ['sɛɡwe] | [🔊](http://dict.youdao.com/dictvoice?audio=segue&type=2) | ❌ [se'dʒ] | +| SQL | ✅ [ˈsiːkwəl]/[ˈesˈkjuːˈel] | | | +| sudo | ✅ ['suːduː] | | | +| suite | [🔊](http://dict.youdao.com/dictvoice?audio=suite&type=1) ✅ [swiːt] | [🔊](http://dict.youdao.com/dictvoice?audio=suite&type=2) | ❌ [sjuːt] | +| thymeleaf | [🔊](http://dict.youdao.com/dictvoice?audio=thymeleaf&type=1) ✅ [ˈtaɪmˌlɪːf] | [🔊](http://dict.youdao.com/dictvoice?audio=thymeleaf&type=2) | ❌ [θiːmɪlɪːf]] | +| typical | [🔊](http://dict.youdao.com/dictvoice?audio=typical&type=1) ✅ ['tɪpɪkl] | [🔊](http://dict.youdao.com/dictvoice?audio=typical&type=2) | ❌ ['taɪpɪkəl] | +| Ubuntu | [🔊](http://upload.wikimedia.org/wikipedia/commons/b/b5/En-Ubuntu_pronunciation.oga) ✅ [ʊ'bʊntʊ] | [🔊](http://upload.wikimedia.org/wikipedia/commons/b/b5/En-Ubuntu_pronunciation.oga) | ❌ [juː'bʊntʊ] | +| variable | [🔊](http://dict.youdao.com/dictvoice?audio=variable&type=1) ✅ ['veəriəbl] | [🔊](http://dict.youdao.com/dictvoice?audio=variable&type=2) | ❌ [və'raiəbl] | +| verbose | [🔊](http://dict.youdao.com/dictvoice?audio=verbose&type=1) ✅ [vɜːˈbəʊs] | [🔊](http://dict.youdao.com/dictvoice?audio=verbose&type=2) | ❌ ['vɜːrboʊs] | +| vue | [🔊](http://dict.youdao.com/dictvoice?audio=vue&type=1) ✅ [v'ju:] | [🔊](http://dict.youdao.com/dictvoice?audio=vue&type=2) | ❌ [v'ju:i] | +| width | [🔊](http://dict.youdao.com/dictvoice?audio=width&type=1) ✅ [wɪdθ] | [🔊](http://dict.youdao.com/dictvoice?audio=width&type=2) | ❌ [waɪdθ] | +| YouTube | [🔊](http://dict.youdao.com/dictvoice?audio=youtube&type=1) ✅ ['juː'tjuːb] | [🔊](http://dict.youdao.com/dictvoice?audio=youtube&type=2) | ❌ ['juː'tʊbɪ] | > 本着简单的原则, 又为了避免程序猿们出现选择困难症, '正确音标'采用了最接近有道词典音频的英式 DJ 音标, 不代表其唯一性 diff --git a/tools/addprons.py b/tools/addprons.py new file mode 100755 index 0000000..2d3f21a --- /dev/null +++ b/tools/addprons.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python3 +# -*- coding: UTF-8 -*- +""" +Add American English pronunciations and reformat the word list +Usage: addprons.py +""" +import sys +import os +import re + +def main(): + if len(sys.argv) != 3: + print(__doc__) + sys.exit(1) + input_file = sys.argv[1] + output_file = sys.argv[2] + + if not os.path.isfile(input_file): + print("error: {} does not exist".format(input_file)) + sys.exit(1) + + if os.path.isfile(output_file): + print("{} exists. Override (y/n)?".format(output_file)) + reply = input().strip().lower() + if reply[0] != 'y': + sys.exit(1) + + # Add American Pronounciations to the word list one by one + with open(input_file, 'r') as in_fp, open(output_file, 'w') as out_fp: + for line in in_fp: + line = line.rstrip() + if re.search(r"\| 单词", line): + line = "| 单词 | 正确发音(英音)| 正确发音(美音)| 错误发音 |" + elif re.search(r"\| ----", line): + line = "| ---- | --------------- | ----------------- | ----------- | " + elif re.search(r'✅', line): + word = " " + britsh = " " + american = " " + fields = re.split(r'\|', line) + match = re.findall(r'[\w\-\s]+', fields[1]) + if match: + word = match[0] + pron = re.findall(r'\[🔊\]\(http.*\)', fields[1]) + if pron: + britsh = pron[0] + american = britsh.replace("type=1", "type=2") + britsh = britsh + fields[2] + line = '|' + word + '| ' + britsh + '| ' + american + ' | ' +fields[3] + '|' + out_fp.write(line + '\n') + print(line) + in_fp.close() + out_fp.close() + +if __name__ == '__main__': + main()