0%

1. B b

/b/ 通常情况下发/b/**,如bike, bus, bag.
**/ / 在有些bt字母组合的单词,b不发音
,如debt, doubt, subtle。但也有例外,如obtain, obtrude.

2. C c

/s/

在字母e, i, y前,如certain, receive, since, scarce, absence; city, circumstance, civility, society, civil; fancy, intimacy, secrecy, decency, legacy(据我所知,cy都在结尾).
注:字母组合sc在e, i, y前,c不发音,如scene, science, scythe. 有一个例外soccer(/’sɒkə/, 足球)。

**/k/ **

在字母a, o, u前,如can, carriage, occasion, capable; course, consider, account, common; particular, excuse, occur, secure, accuse, cure. 但c+ae,c发/s/,如:Caen, Caelum.
以-c结尾的词,如public, domestic, music, emphatic, impolitic, laconic, panegyric, pedantic, philosophic, sarcastic, terrific, topic. 又如suc-cess, ac-cede, ac-cident.
接辅音,如cry, credit, across, uncle, incline, subject, defect, picture. 但字母组合ch发/tʃ/,/k/,/ʃ/,/h/,/ /,详情见后面的字母h。

/ /

字母组合sc在e, i, y前,c不发音,如science, scene, condescend, conscience, ascend, ascertain, conscious, discern, susceptibility, scythe.
字母组合ck, cq,c不发音,如back, struck, acknowledge, lucky, shock; acquaintance, acquire, acquit.

注:在cion, cien发/ʃ/,如suspicion(/sə’spɪʃən/), insufficient, deficient, sufficient(/sə’fɪʃnt/).

3. D d

几乎都发/d/**,**但在字母组合dg, dj中,d不发音,如judge, knowledge, edge, lodge, pledge, fidget; adjust, adjourn(/ə’dʒɝn/, 推迟).

4. F f

总是发/f/, 如feel, father, family, often, few, left, friend, half, off, affection, perfect, offer, fortune.

5. G g

/dʒ/,在字母e,I,y之前。

在字母e之前,如general, marriage, gentlemen, carriage, advantage, change(以-ge结尾都是). 但也有例外,如get, together, eager, anger, longer, youngest.
在字母i之前,如imagine, regiment, eligible, imagine, agitate, apologise, original, lodging, intelligible, irreligious, obliging, prodigious. 但也有例外,如give, girl, begin, giddiness(/’gɪdɪnɪs/, 轻率的); hanging, changing(不以-ge结尾的动词ing形式).
在字母y之前,如apology, clergyman, energy, panegyric.

/g/

在字母a, o, u之前,如again, regard, elegant, gallery; good, ago, gown, agony, vigorous; guard, distinguish, figure, disgust, guess, language, vogue.
以-g结尾的词,如beg, hug, shrug. 但大多数情况不发音,如-ing(/ɪŋ/),nothing, morning; –ong, long, strong, among; -ang, hang, pang, rang, sang; young.
接辅音字母(gh比较复杂,详情见5.1),如great, agreeable, glad, degree, gratitude, agree, neglect, gratify, single. 但也有例外,如length, design.

/ /

以gn开头或者结尾的词,g不发音,如gnu(/nu/), gnome(/nəʊm/);design, sign, consign, resign(/rɪ’zaɪn/, 辞职).
字母组合gh有时不发音,如night, caught, sigh. 详情见5.1 gh.

5.1 gh[6]

/g/

以gh-开始的词,如ɡhost(/ɡost/, 幽灵). 电影恶灵骑士就叫Ghost Rider.

/f/

以-ough结尾的词,如enough, cough, rough, tough, laugh. 但也有例外,如though(/ðo/), thorough(/’θɜro/, 彻底的).

/ /

在i+gh中,gh不发音,如might, high, right, delight, night, slight, neighbour, fortnight, sight. eight, light.
在ought字母组合中,gh不发音,如thought, brought, ought, sought, bought.
以-ough结尾的词,有些发/f/,有些不发音,如though(/ðo/), thorough(/’θɜro/, 彻底的).

注:当gh不是字母组合,分属前后两音节,不适合上述规则,如dininghall/’daɪnɪŋhɔːl/.

6. H h

/h/

**字母h通常情况下发/h/**,如her, he, heart, happy, comprehend, habit, hair.

/ /

wh+a/i/e/u的词(wh+o, w不发音,如who),h不发音,如white, which, while, whilst, whip, whim, whimsical, whisper, whither; what, whatever; when, where, whether, whenever, wherever, whence, nowhere; whup.
以h+e/o开始的少数词,h不发音,如heir(/ɛr/,[法]继承人); honour, hour.
以exh-开始的词,h不发音,如exhaust(/ɪɡ’zɔst/), exhilarate, exhibit. 但有例外,如exhale(/ɛks’hel/,呼气).
以rh-开始的词,h不发音,如rheumatism(/’rumətɪzəm/, 风湿病), rhinoceros, rhyme.


6.1 ph

/f/,如photo, telephone, sphere, nephew, triumph, phaeton, philosophy, emphatic.

6.2 gh

gh发/g/, /f/, / /,详情见5.1。

6.3 sh

**/ʃ/**,如fresh, she, should, shall, wish, short, astonishment, ladyship, ashamed,share.

6.4 th[3]

/ð/

在代词、冠词、介词、连词或副词中
如within/wi’ðin/,without/wi’ðaut/,these/ði:z/,therefore/’ðeәfɔ:/,although/ɔ:lðәu/,those/ðәuz/,the/ðә/,thus/ðas/.但也有例外:through/θru:/,throughout/θru:’aut/.
以-er结尾的词
如altogether/ɔ:ltә’geðә/,farther/’faðә/, feather/’fe ðә/,whether/’we ðә/,either/’aiðә/,gather/’gæðә/.

/θ/

在数词(包括基数词和序数词)中
**如three/θri:/,thirty/’θә:ti/,thirteen/’θә:’ti:n/,
third/ θә:d/,fourth/fɔ:θ/,fiftieth/’fiftiiθ/,thousand/’θauzәnd/,hundredth/’handrәdθ/.
**以-th结尾的单词

如truth/tru:θ/,worth/wә:θ/,breath/breθ/,both/bәuθ/,cloth/klɔθ/,path/pa:θ/,wealth/welθ/,length/leŋθ/,strength/streŋθ/. 但也有特殊,如smooth/smu:ð/.
除上述单词外,一般位于词首的th读/θ/
如theatre/’θiәtә/,thick/θik/,thin/θin/,throat/θrәut/,theory/’θiәri/,thrust/θrast/,thread/θred/,thorough/’θarә/,Thursday/’θә:zdi/.

其他无规则可循的词分列如下:

maths/mæθs/,arithmetic/ә’riθmәtik/,clothing/klәuðiŋ/,clothes/klәuðz/,southern/’saðәn/,northern/’nɔ:ðәn/,worthy/’wә:ði/,author/’ɔ:θә/,sympathy/’simpәθi/.

注:复合词中,th的读音与在原词中的读音相同。如something/’samθiŋ/,anything/’eniθiŋ/,nothing/’naθiŋ/,within,without等。

6.5 ch[5]

/tʃ/

**最常见的就是发/tʃ/**,如China, which, such, each, reach, church, speech, teach, fetch, approach, vouch, cheese, peach, chicken, lunch, kitchen, chair, chimney, watch, cheese, peach, chicken, lunch, kitchen, chair, chimney, watch,arch(据我了解,以-ch结尾的词都发/tʃ/)
注:字母组合tch中t不发音,如:match, watch, wretch, catch, fetch, stretch, bewitch, sketch, pitch, hotchpotch, Scotch.

/k/

来源于希腊表示艺术、文学、神话、音乐、医学、宗教、科学领域的词可以理解成h不发音,如school, technology, stomach(复数为stomachs) ache, chemistry, scheme, Christian, Christmas, chrysanthemum(菊花), echo, chaos, chorus, choir, orchestra, psychiatrist.

/ʃ/

来自法语的词,如chef, moustache, champagne, chandelier, parachute, brochure, machine, crochet, Chicago, Michigan.

/h/

来自希伯来语Hebrew,challah(/’hɑːlə/, 白面包), chutzpah(/’hʊtspə/, 肆无忌惮), Chanukah(/’hɑ:nəkə/, 光明节).

/ /

不发音,只有一个词,yacht(/jɑt/, 游艇)。

7. J j

/dʒ/,** **如just, subject, object, enjoy, prejudice, rejoice, injure, jealousy.

8. L l[11][12]

音标是一样的,但发音有两种,即light l(清晰的l,舌侧音)和dark l(模糊的l,舌尖音)。

light l

以l-开始的词,如light, lamb, lake, let, lever, life, live, love.
以l+元音的词,如alive, selling, elephant, lollipop.

dark l

以-l结尾的词,如girl, ball, full, sell, spill,  all, pull, ill, bicycle, sale(结尾e不发音).
以l+辅音的词, 如world, old,could, would, should, felt, told, himself.

/ /

在al+辅音的词,l少数情况不发音,如talk, walk, calm, balm, fall(可视为第一个l不发音,第二个发音).

注:还有一个词这两种情况都含有的,如illegal, lull(light + dark).

9. K k

/k/ 通常情况下发/k/**,如think, make, speak, struck, remark.
**/ / 以kn-开头的词,k不发音
,如know, knight, knowledge, knees, unknown. 

10. M m

/m/ 通常情况下发/m/**,如my, man, marry, determine, amiable, handsome.
**/ / 以mn-开头的词,m不发音
,如mnemonic(记忆力的).
    以-mn结尾的词,n不发音,如solemn(庄严的), condemn(谴责).

11. N n[7]

/n/

通常情况下发/n/,以下情况也发/n/:
**n属于前缀一部分时,即使n在/k/,/g/前,也不发/ŋ/,而是发/n/**,如:unkind,uncommon, uncountable,unclean,unclear,uncover,uncomfortable,unconditional,income,incomplete.
**n在ge前,若g不发/g/而发/dʒ/,则n不发/ŋ/而是/n/**,如change,orange,arrange,anger,dangerous, strange.

/ŋ/

在音素/k/,/g/前,如think,thank,English,language,ankle,uncle,anxious, handkerchief, conquer. 但前缀除外,如inquire(/ɪn’kwaɪr/).
以-ng结尾
,如-ing(/ɪŋ/),nothing, morning, bring, ring; -ong, long, strong, among; -ang, hang, pang, rang, sang; young.

/ /

以-mn结尾的词,n不发音,如autumn,column, solemn(/’sɑləm/, 庄严的), condemn(/kən’dɛm/, 谴责)

12. P p

/p/ 通常情况下发/p/**,如speak, spite, appearance, pride, particular, surprise.
**/ / 以pn-开头的词,p不发音
,如pneumonia(肺炎), pneumothorax(气胸).
    以ps-开头的词,p不发音,如psychology, psychiatrist, psalm(诗篇).

13. Q q

/k/, 如Iraq, inquire, quest, quite, quarrel, acquaint.(**词几乎以qu出现,读/kw/**)

14. R r[13]

r发两个音,元音字母前发辅音/r/,元音字母后发元音/ɝ,ɚ/。/ɝ/与/ɚ/区别,见维基百科《元音的儿化现象》,摘抄部分如下:

重音元音/ɝ/:assert, mirth, work, turkey, myrtle.
弱化元音/ɚ/:apparatus, dinner, editor, measure.

/r/

**元音字母前发/r/**,如speak, spite, appearance, pride, surprise.
**双写rr,发/r/**,r与前面的元音字母(不可能是辅音字母)不能构成r音节,如error(/’ɛrɚ/), arrange, arrear, arrest, arrive, borrow, carry, hurry, correct, correspond. 注:动词过去式双写rr不算,如deferred.
**重读元音+r+非重读元音(理解成不属于同一音节,不同于re音节),r发/r/**,如direct(/daɪˈrɛkt/), apparent, ceremony, different, interference, parent, zero, during, story, inspiring.

14.1 元音字母+re[16]

元音字母+re,即are,ere,ire,ore,ure,也称re音节。re音节很少出现在非重读音节,ure在非重读音节中发/jɚ/,/ɚ/.

re音节在重读音节读音

are,发/ɛr=ɛɚ/**,如aware, bare, care, compare, dare, declare, fare, prepare, share, spare, stare, threadbare, welfare. 但are(/ɑr/)例外。
**ere,发/ɪr=ɪɚ/**,如here, adhere, mere, sphere, severe, sincere.
     **发/ɛr=ɛɚ/**,如ere, there, were, where. 特例were(/wɚ/).
**ire,发/aɪɚ/**,如admire, desire, entire, fair, fire, hire, inquire, inspire, tire, transpire.
**ore,发/ɔr=ɔɚ/**,如more, before, bore, explore, forego, foresee, score, sore, store, wore.
**ure,发/jʊr=jʊɚ/**,如pure, cure, inure, procure.
     **发/ʊr=ʊɚ/
, 如sure(/ʃʊr/), allure(/əˈlʊr/,诱惑), endure.

注:ure在非重读音节中发/ɚ/,如picture, pleasure, injure(/’ɪndʒɚ/). 还发/jɚ/,如failure(/’feljɚ/), figure(/’fɪɡjɚ/),verdure(/’vɝdjɚ/, 碧绿).

14.2 元音字母+r[14]

元音字母+r,即ar, er, ir, or, ur,属于r音节(还包括元音字母组合+r,即air, ear, eer, eir, oar, oor, our)。发音时,先判断重读还是非重读音节,关于重读与非重读音节,可参考之前博文《英语中开/闭音节和重/非重读》。**r音节在非重读音节通常读/ɚ/**。

(1)ar

非重读音节,发/ɚ/**,如forward(/’fɔrwɚd/), afterward, backward, dollar.
**重读音节,音[w]+ar,发/ɔː/,/ɔr=ɔɚ/**,如warm, worker, worse, ward. 
**重读音节,通常发/ɑr=ɑɚ/**,如are, tar, heart, car, farm, dark, sharpener.
**oar,发/ɔː/,/ɔr=ɔɚ/,
如roar, board, coarseness.

ear发音比较复杂,可发/ɪr=ɪɚ/,/ɛr=ɛɚ/,/ɝ/

**以-ear结尾的词,发/ɪr=ɪɚ/**,如dear, hear, near, appear, fear, year, clear, arrear, overhear, reappear. 但也有例外,如bear(/bɛr/), wear(/wɛr/), tear(/tɛr/).
**以-ear结尾的词,发/ɛr=ɛɚ/**,如bear, wear, pear, tear, swear.
**发/ɝ/**,如heard, early, earnest, heartily, learn, earl, earthly, search.

注:heart(/hɑrt/)比较特殊。

(2)or

非重读音节,发/ɚ/**,如forget(/fɚ’ɡɛt/), .
**重读音节,音[w]+or,发/ɝ/**,如world, word, work, worth, worse, worst. 但有例外,如worn(/wɔrn/).
**重读音节,通常发/ɔr=ɔɚ/**,如forty(/’fɔrti/), morning, short, worn.
**oor,发/ɔː/,/ɔr=ɔɚ/,
如door, floor. 但有例外,如poor(/pʊr/).

(3)er,ir,ur

**重读音节,读/ɝ/**,如herself, certain, perfect; girl, dirt, first, stir, shirt, circumstance; hurt, turn, return, curtain, fur, further, Thursday, occur.
**非重读音节,读/ɚ/**,如her, sister, manner; surprise.

但也有例外,如iron(/’aɪɚn/, 熨斗)。

元音+er,ir,ur

**air,发/ɛr=ɛɚ/**,如air, hair, chair, pair, repair, stair, fair, affair.
**eer,发/ɪə,ɪr/**,如pioneer, deer, beer, cheer.
**eir,发/ɛr=ɛɚ/**,如their(/ðɛr/), heir(/ɛr/,[法]继承人).
our发音比较复杂,可发/aʊə=aʊɚ/,/ɔr=ɔɚ/,/ɝ/,搜了很久,都没找到有信服的our读音规则
**/aʊə=aʊɚ/**,如our,ourself, hour(h不发音).
**/ɔː,ɔr/**,如your, four, pour, course, intercourse, court, source.
**/ɝ/**,如journey(/’dʒɝni/), journal, courteous, nourish, courage.
**/ɚ/**,honour, behaviour, endeavour,favour, humour, neighbour, humour, colour, candour, parlour, labour, harbour.(以-our结尾的?)

15. S s

15.1 变复数发音/s/与/z/

名词变复数,s的读音为/s/或/z/,百度文库《字母s的发音规则》真是讲到本质上了,摘抄如下:

为了顺口,s发/s/和/z/两个音(弱/强,无声/有声,清/浊辅音,不响亮/响亮)。为了追求发音的顺口和协调,让清辅音与清辅音连在一起(即不响亮与不响亮,如/ps/, /ts/, /ks/, /fs/),让响亮音与响亮音在一起(即元音和浊辅音,如/bz/, /dz/, /mz/, /nz/, /rz/, /az/)。

以/s/, /z/, sh, ch结尾的词(如bus, fox, dish, watch),这些词的结尾音与/s/发音一样或者特别接近,如果在这些词后面再加s表达复数的话,那么单词结尾的发音将很困难。为了解决这难题,在两个s音塞个e(如buses, foxes, dishes, watches),并且让e发/i/的音。既然-es的e发元音/i/,响音,很自然s发/z/的音。综述,有如下规则:

s在清辅音(不响亮音)后发/s/
s在浊辅音或元音(响亮音)后发/z/

15.2 sh

/ʃ/ 如fresh, she, should, shall, wish, short, astonishment, ladyship, ashamed,share.

15.3 -sion

**以元音+sion结尾的词,发/ʒ(ə)n/**,如occasion, conclusion, persuasion, allusion, confusion, exclusion, intrusion.
**以辅音+sion结尾的词,发/ʃən/**,如expression, apprehension, compassion, possession, commission, impression, confession, permission, admission.

15.4 -sure

**以元音+sure结尾的词,发/ʒɚ/**,如pleasure(/ˈplɛʒɚ/), leisure, composure, measure, closure, treasure, discomposure, displeasure.
**以辅音+sure结尾的词,发/ʃʊr/**,如sure, assure(/ə’ʃʊr/), assured, censure, ensure.

16. T t

/t/

通常情况下发/t/,**以-ture结尾的词,发/tʃɚ/**,如nature, future, creature, rapture, venture, mixture, picture, conjecture, departure.

/ /

字母组合tch中t不发音,如:match(/mætʃ/), watch, wretch, catch, fetch, stretch, bewitch, sketch, pitch, hotchpotch, Scotch. 详情见6.5 ch.
字母组合st中,t有时不发音,如listen, whistle, bristle.

17. V v

/v/ 如have, love, believe, endeavour, perceive, provoke, grieve(悲痛).

18. W w

w是半元音,当与元音组合(aw, ew, ow)时,尤为复杂。

/w/

除了以下情况(wh+o, wr-, 元音字母+w),**几乎都发/w/**。如will, bewail, between, away, woman, forward, aware, twelve.

/ /

字母组合wh在o前,w不发音,如who, whom, whole, whose, wholly.
以wr-开始的词,w不发音,如write, wrote, wretch, wrong, wraith, wreath, wrap.
其他,answer(/’ænsɚ/), two(/tu/)

18.1 aw,ew,ow

据我了解,不存在包含iw, uw的词,这样子就好理解了,元音字母+w,不发/w/。

(1)aw

**字母组合aw,发/ɔː/**,如saw, awkward, draw, awe, awful, law. 但有例外(理解成不是一在同一音节或者合成词),如await, away, aware, awake, awoke.

(2)ew

/uː/

**在j,l,r,s+ew词中,发/uː/**,如jewel(/’dʒuːəl/); flew(fly过去式); drew, threw, grew, withdrew, shrewish(/’ʃruːɪʃ/); sewage, sewer. 但有例外,如sew(/so/, 缝合).

/juː/

**其他情况,发/juː/**,如few, knew, new, view, renewal, nephew, steward. 少有的例外,如shew(/ʃəʊ/, 展出,同show).

注:合成词不符合上述规则,如likewise, rewarded, farewell, somewhat.

(3)ow[8]

字母组合ow,发/əʊ/,/aʊ/,/ɒ/,在网上找了很久,都没找到有信服的规则。如果您有,希望您能与我分享,谢谢!

/əʊ/

发字母O的音,如arrow, below, blow, borrow, bow(for shooting arrows), bowl, crow, elbow, fellow, flow, follow, grow, grown, growth, know, low, narrow, owe, own, row(line), shadow, show, slow, snow, throw, tomorrow, tow, window, yellow.

/aʊ/

allow, bow(inclination), brow, brown, browse, clown, cow, coward, crowd, crown, down, drown, eyebrow, flower, frown, how, now, owl, powder, power, row(quarrel), shower, towel, tower, town, vowel.

/ɒ/

**极少情况发/ɒ/**,如knowledge(/ˈnɒlɪdʒ/), knowledgeable(/ˈnɒlɪdʒəbəl/).

注:合成词不符合上述规则,如toward.

19. X x[4] 

/ks/

在词尾,如six, fix, sex, tax, mix, vex. 但有例外:beaux(/boz/花花公子,法语词,beau的复数)
x+辅音,如mixture,excuse,export,exclude,explain, explore
x+元音,并且在非重读音节,如exercise, experience, exit, exhibition.

/gz/

x+元音,并且在重读音节,如executive(/ɪg’zɛkjətɪv/), exact, exist, exam, exaggerate.

/z/

以x-开头的词,这类词很少。如xylitol(/’zaɪlɪtɒl/, 木糖醇), xylophone(木琴),xanadu(/’zænədju:/,世外桃园), xanthous(黄色人种的), xebec(小型三桅船).

注:还有这样的发音,complexion(/kəm’plɛkʃən/,肤色).

20. Y y

/j/

以j-开始的词,如you, young, yet, year, yesterday, beyond, youth, yield, yard, yawn.

/aɪ/

动词后缀-ify(转为turn into, 变为make/become)**,如justify, gratify, mortify, signify, testify, beautify, diversify, simplify.
**以-y结尾的单音节单词
,如my, cry, try, why, by, fly, buy, shy, sly.
除此之外,还有dying, eye, dye, occupy, style, reply, supply, apply, comply, gratify, testify, defy.

/i/

字母组合ey发/i/**,如monkey, curtsey, money, journey, attorney, hackney. 见下方。
**名词后缀-(i)ty(表示性质、状态、程度),
如party, opportunity, civility, pretty, beauty, vanity, curiosity.
副词后缀ly,如only, really, certainly, hardly, scarcely, immediately, perfectly, likely, exactly, merely, highly, particularly, wholly.
除此之外,还有anything, everything, marry, fancy, syllable, symptom, carry, clergyman, everyone, hurry, study, accompany, family, stuffy.

20.1 ay,ey,oy

据我了解,不存在包含iy的词,包含uy的词,只有buy(/baɪ/)。这样子就好理解了,元音字母+w,就剩下ay, ey, oy.

(1)ay

**字母组合ay只发/eɪ/**,如pray, betray, delay, pay, day, betray, delay, play, allay.

(2)ey

/eɪ/

如they, convey, survey, obey, prey.

/i/

monkey, curtsey, money, journey, attorney, hackney.

注:有例外,如eye(/aɪ/),属于单音节。

(3)oy

字母组合oy只发/ɔɪ/, 如employ, joy, boy, destroy, employ, unalloyed.

21. Z z

/z/ 如amaze, puzzle, seize, authorize, moralize, size, dozen, glaze.

 

附:英语字母发音表和英语国际音标表[9]

英语字母发音表

A a [ei]         B b [bi:]         C c [si:]          D d [di:]
E e [i:]         F f [ef]          G g [d3i:]         H h [eit∫]
I i [ai]         J j [dʒeɪ]         K k [kei]          L l [el]
M m [em]         N n [en]          O o [əu]           P p [pi:]
Q q [kju:]       R r [a:]          S s [es]           T t [ti:]
U u [ju:]        V v [vi:]         W w [‘dʌblju:]     X x [eks]
Y y [wai]        Z z [zi:][zed]

单元音

前元音  [i:]  [i]   [e]   [æ]
中元音  [ə:]  [ə]
后元音  [u:]  [u]   [כ]  [כ:]   [a:]  [۸] 
双元音  [ei]  [ai]  [כi]  [əu]  [au]  [iə]  [εə]  [uə]

辅音

爆破音 [p]   [b]   [t]   [d]   [k]   [g]
鼻  音 [m]   [n]  [ŋ]
摩擦音 [f]  [v]   [θ]  [ð]   [s]   [z]   [∫]   [з]   [r]   [h]
爆破音 [t∫] [dз] [ts]  [dz]  [tr]  [dr]
半元音 [w]  [j]
舌元音 [l]

 

参考资料:
[1]博文:<英语字母发音规律详解>:附赠音节划分口诀
[2]百度文库《英语单词拼读规则
[3]字母组合th的读音规则总结
[4]博文《辅音字母X的发音: /ks/,/gz/或/z/
[5]Youtube视频《written ch = /t͡ʃ, k, ʃ, h, silent/
[6]百度文库《gh和ph的发音
[7]百度文库《n发音规则
[8]Pronunciation exercises: “ow”
[9]英语字母发音表和国际音标表
[10]天涯博文《-ty,-ity:体与一体
[11]音标L的发音规则
[12]视频Perfect Your Pronunciation – Light /l/ & Dark /l/
[13]视频Lesson 5a – R – English Pronunciation
[14]百度文库《r音节
[15]百度文库《英式和美式英语从书写系统到习惯、发音比较详述的对比资料
[16]百度百科:re音节

1. 基本发音规则

1.1 元音字母在重读音节

通常情况下,元音字母在重读开音节发字母的音,即a(/eɪ/),e(/iː/),i(/aɪ/),o(/əʊ/),u(/ju:/).元音字母在重读开/闭音节读音如下[1]

vowel pronunciation
图1 元音字母在重读音节的发音

注:在开音节中,j/l/r/s+u,u发/u:/,如Jane, blue, ruler, super.

1.2 元音字母在非重读音节

A a

/ə/, 如China, another, woman, breakfast.
**/ɪ/**,如orange, village, cabbage(/ˈkæbɪdʒ/).

E e

/ə/, 如hundred, student, open, weekend, children.
**/ɪ/**,如chicken, pocket, begin.

I i

/ə/, 如holiday, beautiful, family.
/aɪ/, 如exercise, satellite.

O o

/ə/, 如second, tonight, somebody(/’sʌmbədi/), welcome.
/əʊ/, 如also, zero, photo.

U u

/ə/, 如autumn(/’ɔːtəm/), difficult.
/jʊ/, 如popular, January.

可见,元音字母aeiou在非重读音节都有一读音/ə/。而名词、形容词、副词后缀通常不会是重读音节,后缀-ous,-ent,-ant中的元音字母皆读/ə/,详情见1.3。

1.3 -ant, -ent, -ous后缀[7]

**-ous(/əs/),-ent(/ənt/),-ant(/ənt/)**后缀中的元音字母皆读/ə/。后缀-ous,-ent,-ant,均可以直接加在动词或名词后面构成形容词,一般来说,动词加-ous,-ent,-ant后缀所构成的形容词表示主动意义。后缀-ant,-ent也表示名词后缀,表示人或构件,如applicant(申请人),assistant(助手),occupant(居住者,占有人),component(部件,成分),defendant(被告), dependant(依赖他人者).

(1)-ant

abundant(/ə’bʌndənt/), attendant, complaisant(/彬彬有礼的/), constant, distant, elegant, extravagant(/ɪk’strævəgənt/, 奢侈的), exuberant(/ɪg’z(j)uːb(ə)r(ə)nt/, 繁茂的), gallant(英勇的), ignorant(无知的), important, incessant(连续的), indignant(愤愤不平的), instant, pleasant, reluctant(不情愿的), repugnant(讨厌的), servant, significant, triumphant(/traɪ’ʌmfənt/, 成功的), vacant(空虚的), warrant.

(2)-ent

-ment名词后缀,表示行为,状态,过程,手段及其结果

treatment, movement, judgment, punishment, argument, abatement(/ə’beɪtm(ə)nt/, 减少), accomplishment, acknowledgment, advancement, agreement, amazement, amusement, retirement, sentiment, statement, treatment, development, , , apartment, argument, arrangement, astonishment, atonement, attachment, augment, commencement, compliment, confinement, contentment, entertainment, disagreement, disappointment, discernment, elopement, embarrassment, employment, encouragement, engagement, enjoyment. 还有以-ment结尾,但ment不属于名词后缀,如torment(/’tɔrmɛnt/, 折磨), lament(/lə’mɛnt/, 哀悼).

-ent后缀

abhorrent, accent, accident, apparent, benevolent, cogent, confident, consent, consequent(/’kɑnsəkwənt/), consistent, convenient, decent, deficient, dependent, descent, impatient, sufficient, talent, urgent, violent, evident, impertinent. 还有以-ent结尾,但ent不属于后缀,如bent(/bɛnt/, 弯曲的), event(/ɪ’vɛnt/), went(/wɛnt/).

(3)-ous后缀

见本文3.4节ou.

2. 两个相同的元音字母相邻

两个相同的元音字母,所我所知,不存在含有aa,ii,uu的词,所以只需了解ee和oo了。

2.1 ee,eer

ee,只发/iː/,并且在双音节中,重音均在ee的音节上,如tree, street, been, greedy, esteem, cheerful, screen, succeed.
eer,只发/ɪə,ɪr/,并且以-eer结尾的单词,重音在词尾,如beer, cheer, deer, peer, sneer, career, pioneer, volunteer.

2.2 oo,oor

(1)oo

大部分是发长音/uː/,记住发短音/ʊ/的词,其他的几乎都是发长音/uː/了。

/ʊ/

字母组合ook,如book, cook, look, shook, took.
字母组合ood,如wood, falsehood, good, stood. 但有两个很特殊,blood(/blʌd/), flood(/flʌd/).
其他,wool, foot.

/uː/

**除了上述情况外,几乎都发长音/uː/**,如fool, school; shoot, root; too, zoo; roof, proof; boom, room; noon, moon; troop, loop; choose, loose; tooth, smooth; groove.

(2)oor

oor发/ɔː/,/ɔr=ɔɚ/,如door, floor. 但有例外,如poor(/pʊr/), moor(荒野,停泊).

3. 两个不同的元音字母相邻

3.1 元音字母+i/y

元音字母+i/y,据我所知,不含有ii/iy的词,只找到一个含uy的词,即buy(/baɪ/).

(1)oi/oy只发/ɔɪ/

oi,如appoint, avoid, coin, boisterous, choice, coincide, devoid, join, noise, point, voice, void, (doing, going例外).
oy,如boy, destroy, employ, enjoy, joy, overjoy, unalloy(/,ʌnə’lɔɪd/, 纯粹的).

(2)ai/ay只发/ei/

ai,如fraid, avail, wait, chaise, claim, curtail, daily, detail, vain, brain.
ay,如way, betray, day, nay, pray, way, stay, play, gay, yesterday(都以ay结尾).

注:air,发/ɛr=ɛɚ/,如air, hair, chair, pair, repair, stair, fair, affair.

(3)ei/ey

ei/ey都有发/eɪ/,ei发/iː/, ey发/ɪ/(理解成含ey的词,大多以-ey为结尾)。**eir,发/ɛr=ɛɚ/**,如their(/ðɛr/), heir(/ɛr/,[法]继承人).

/eɪ/

ei, 如eight, neighbour, rein, weight, deign(/deɪn/,屈尊,赐予). 但有一个很特殊height(/haɪt/).
ey,如obey, prey, survey, they, convey. 但有一个很特殊eye(/aɪ/).

/iː/, /ɪ/

**ei发/iː/**,如conceit, conceive, deceitful, deceive, perceive, receipt, receive, seize, either(/’aɪðə; ‘iː-/), forfeit(/’fɔːfɪt/,/’fɔrfət/,罚金), heinous(/’heɪnəs; ‘hiːnəs/,可憎的), leisure(/’leʒə/,/’liʒɚ/).
**ey发/ɪ/**,如attorney, hackney, journey, money, curtsey(/’kə:tsi/,屈膝礼). 但eye(/aɪ/), beyond(/bɪ’jɒnd/)例外。

(4)ui,uy

含uy的单词,我只找到一个,buy(/baɪ/)。含ui的词,有挺多是含qui,qu发/kw/,i的发音大体上可以根据重读开音节发/aɪ/,重读闭音节/ɪ/,非重读音节发/ə/来记忆。其他的,挺没规则的,好在不多。

①qui

/aɪ/重读开音节

acquire(/ə’kwaɪr/), require, inquire, quiet, quite.

/ɪ/重读闭音节

quick(/kwɪk/), quit, acquit(/ə’kwɪt, equivalent(/ɪ’kwɪvələnt/), obsequious(/əb’sikwɪəs/,谄媚的). **有些发重读音节也发/ɪ/**,如 relinquish(/rɪ’lɪŋkwɪʃ/,放弃), tranquilly(/’træŋkwili/,平静的), acquisition(/,ækwɪ’zɪʃən/).

/ə/ 非重读音节

equipage(/’ɛkwəpɪdʒ/,装备), requisite(/’rɛkwəzɪt/,必须的), tranquil(/ˈtræŋkwəl/, 安静的), iniquitous(/ɪ’nɪkwətəs/, 邪恶的).

②j/l/r/s+ui

**/juːɪ/**,如fluid(/’fluːɪd/,流动的), suicide(/’s(j)uːɪsaɪd/), pursuit(/pə’sjuːt/, 追求), tuition(/tjuː’ɪʃ(ə)n/).
**/uː/**,如juice(/dʒuːs/), fruit(/fruːt/), ruin(/’ruːɪn/,毁灭), suit(/suːt/).

③其他发音

**/aɪ/**,如guide, disguise(/dɪs’ɡaɪz/,掩饰).
**/wɪ/**,如anguish(/’æŋɡwɪʃ/,痛苦), distinguish, extinguish(/ɪk’stɪŋɡwɪʃ/,熄灭), sanguine(/’sæŋgwɪn/,乐观的).
**/ɪ/**,如guilty(/’ɡɪlti/,内疚的), build(/bɪld/).
其他,如ingenuity(/,ɪndʒɪ’njuːɪtɪ/,/,ɪndʒə’nuəti/,心灵手巧), genuine(/’dʒɛnjʊɪn/,真实的),

3.2 au

/ɔː/

**au几乎发/ɔː/**,如audience, aught, augment, authorise, cause, caught, caution, incautiously, daughter, default, exhaust, fault, gaudy, haughty, haunt, laudable, pause, saucy, taught, because(/bɪ’kɔz/), laurel(/’lɔrəl/,授予荣誉).

特殊发音

/ɑː/**,如aunt(/ɑːnt/), laugh(/lɑːf/,/læf/), draught(/drɑːft/).
**eau
,这类词极少,如beauty(/’bjuːtɪ/), beaux(/boz/).

3.3 oa

/əʊ/

**oa几乎发/əʊ/**,如approach, boast, coach, coachman, coat, coats, coax, encroach, oak, petticoat, reproach, road, roast, throat.

/ɔː/

oa极少数发/ɔː/,如abroad, board, sideboard, coarseness(/’kɔrsnɪs/,粗糙). oar发/ɔr/.

3.3 ea

ear发/ɪr=ɪɚ/,/ɛr=ɛɚ/,/ɝ/**,详情见博文《英语发音规则(整理版):辅音字母及其组合》中的r音节。eau**,这类词并不多。据我所知,不存在含有ea[aeioy]的词。

(1)eau

**以-eau结尾的词,发/əʊ/**,如bureau(/’bjʊrəʊ/, 局),plateau(/plæ’təʊ/,高原),portmanteau(/pɔːt’mæntəʊ/, 旅行皮箱), beau(/bo/, 花花公子,美的).
**其他发/juː/**,如beauty(/’bjuːtɪ/), beautiful, beauteous(/’bjuːtɪəs/).

(2)ea

/iː/

约半数发这个音[6]如sea, meat, agree, beat, beach, teacher, season, please. 值得注意的是,ee只发/iː/,存在多组读音一样,含义不同的词,如meet/meat,beet/beat, zee/zeal. 但有不少例外,见下面。

/ɛ/

如weather, heavy, meant, sweater, breath, meadow,  breast, breakfast. 值得注意的是,ee(/iː/)与ea对应的词,读音不同,如sweet/sweat,  deed/dead, three/threat, leech/leather.

/ei/

如break, great.

/ɪə/

如idea(/aɪ’diə/),real, theatre, really(/ˈriəˌli, ˈrili/), realize(/’riːəlaɪz, ‘rɪrlaɪz/).

3.4 ou

our发音比较复杂,可发/aʊə=aʊɚ/,/ɔr=ɔɚ/,/ɝ/,详情见博文《英语发音规则(整理版):辅音字母及其组合》。

(1)形容词后缀-ous(名词或动词后加ous,表示”有…的”),都发/əs/.

①-ious

/ʃəs/, cautious(/’kɔːʃəs/), licentious, expeditious, vexatious; spacious(/’speɪʃəs/,宽敞的), conscious(/’kɒnʃəs/), delicious, malicious, gracious, ungracious, officious, vicious, suspicious; anxious(/’æŋkʃəs/).
/ɪəs/, ceremonious(/serɪ’məʊnɪəs/), ingenious; curious(/’kjʊrɪəs/), serious, various, industrious, injurious, illustrious(/ɪ’lʌstrɪəs/,著名的); odious(/’əʊdɪəs/,讨厌的), tedious, fastidious; irreligious(/,ɪrɪ’lɪdʒəs/,无宗教的), prodigious; previous, obsequious(/əb’sikwɪəs/,谄媚的), supercilious(/,supɚ’sɪlɪəs/,傲慢的).

②-uous

continuous(/kən’tɪnjʊəs/, 连续的), assiduous(/ə’sɪdjʊəs/, 刻苦的), strenuous(/’strɛnjuəs/, 紧张的).

③-eous

courageous(/kə’reɪdʒəs/), advantageous(/ædvən’teɪdʒəs/), beauteous(/’bjuːtɪəs/).

④其他

nervous, numerous, pompous, prosperous, querulous(/’kwɛrələs/, 易怒的), rapturous, ridiculous, scandalous, ungenerous, vigorous, barbarous(/’bɑrbərəs/, 野蛮的), boisterous(/’bɔɪstərəs/, 喧闹的), clamorous(/’klæmərəs/, 吵闹的), dangerous, desirous(/dɪ’zaɪərəs/, 渴望的), frivolous(/’frɪvələs/, 无聊的), generous(/’dʒɛnərəs/), grievous(/’ɡrivəs/, 痛苦的), heinous(/’henəs/), incredulous(/ɪn’krɛdʒələs/, 怀疑的), infamous(/’ɪnfəməs/), iniquitous(/ɪ’nɪkwətəs/, 邪恶的), jealous(/’dʒɛləs/, 嫉妒的), miraculous(/mɪ’rækjələs/, 不可思议的), monotonous(/mə’nɑtənəs/, 单调的).

(2)ough

ought,ou发/ɔː/,且gh不发音,如bought(/bɔːt/, buy), brought(/brɔːt/, bring), sought(seek), thought(think), ought.
**少数含ough的词,ou发/ɒ/,/ʌ/,/əʊ/,/uː/**,如cough(kɒf); enough(/ɪ’nʌf/), rough; though(/ðəʊ/), thorough(/’θɜro/, 彻底的), through(/θruː/).

(3)其他ou发音

①/aʊ/

**多数情况下发/aʊ/**,如arouse(/ə’raʊz/), house, abound, about, aloud, around, account, amount, announce(/ə’naʊns/), boundary(/’baʊndri/), bounty(慷慨), county, countenance, encounter, counteract, counterbalance, doubt, foul(犯规的), found, foundation, ground, groundwork, hereabouts, mount, mouth, out, outdo(超过), outlived, outrun, outstrip, outstripped, pound, pronounce, proud, resound(/rɪ’zaʊnd/, 回响), round, route, sound, surmount(克服), surround, trout, vouch(担保), without(/wɪ’θaʊt/).

②/ʌ/

young(/jʌŋ/), country(/’kʌntri/), couple(/’kʌpl/), double(/’dʌbl/), touch(/tʌtʃ/), trouble(/’trʌbl/), enough(/ɪ’nʌf/), rough, trouble, cousin(/’kʌzn/).

③/uː/

you(/juː/), youth(/juːθ/),group, soup(/suːp/), wound(/wuːnd/).

④/ʊ/

情态动词,could(/kʊd/), should(/ʃʊd/), would(/wʊd/).

⑤/əʊ/

poultry(/’pəʊltrɪ/, 家禽), soul(/səʊl/).

3.5 eu

**含eu的词很少,主要发/juː/**,如neutral(/’njuːtr(ə)l/), deuce(/djuːs/,平局), feudal(/’fjuːd(ə)l/,封建的), adieu(/ə’djuː/,告别), lieu(/ljuː; luː/,替代,场所). 但也有例外,如euro(/’jʊro/), manoeuvre(/mə’nuːvə/,调动), grandeur(/’ɡrændʒɚ/,壮丽,庄严).

3.6 ui

含ui的词,很大一部分是qui,qui的qu发/kw/,其发音规则见3.1。除此之外,其他发音如下:

/ɪ/**,如distinguish(/dɪ’stɪŋgwɪʃ/), anguish, extinguish; built(/bɪld/), build, guilt, sanguine(/’sæŋgwɪn/).
**/aɪ/,
如disguise(/dɪs’gaɪz/), guide(/gaɪd/).
其他,pursuit(/pə’sjuːt/), suit(/suːt/), fruit, ruin(/’ruːɪn/), genuine(/’dʒenjʊɪn/).

注:l/r/j+u的词,u发/uː/(如suit, fruit, juice)或/uːɪ/(如fluid, ruin). 但有例外,如pursuit(/pə’sjuːt/), genuine(/’dʒenjʊɪn/), suite(/swiːt/, 家具,套房).

4. 元音各个字母读音

4.1 A a

(1)/eɪ/

重读开音节

如late, private, grade, bake, grape, nation, station, page, plane, radio, wake, paper. 但have(/hæv/)例外。

含ange的词

如change, danger, strange, angel, arrange, range, arrange. 但anger(/’æŋgə/)例外。

含ate的词

**含ate的词几乎只发/eɪ/,ate也是名词/动词后缀。
**名词后缀-ate,表示“具有…职责的人”,如candidate, graduate.
动词后缀-ate,表示“成为…,处理,作用”, 如operate, indicate, hesitate, celebrate, calculate. 但有例外,如separate(/’sɛprət/).
其他,如late, hate, delicate, relate. 但也有例外,如climate(/’klaɪmət/).

(2)/æ/

重读闭音节,如active, hand, bank, fan, glad, flag.

(3)/ə/

非重读音节,如China, another, woman, breakfast, accept, about, formative, machine, cinema.
-ant名词/形容词后缀,如abundant(/ə’bʌndənt/), attendant, complaisant(/彬彬有礼的/), constant, distant.

(4)/ɑː/

如fast, last, glass, class, past. 英音/ɑ:/与美音/ɑ/的对应只是个形式上的对应,不是应用上的对应,美语中所有该发/ɑ:/音的全都改发成了/æ/或/ɑr/了。除了father(‘fɑðɚ).

a+f/ph/n/sk/sh/ss/st/th,重读音节发/ɑː/

按照美音,这些字母组合发音可以视为a在重读闭音节的发音/æ/。

af,如after(/’ɑːftə/), afterward, hereafter, staff. 但afraid(/ə’fred/), affair(/ə’fɛr/)按a在非重读音节的读音/ə/,safe(/sef/)则是按a在重读开音节读音/e/.
aph,ph发/f/**,如graph, aphorism(/’æfərɪzəm/,格言).
**ask
,如ask, flask(长颈瓶).
ash,sh发/ʃ/**,如ash, bash, fashion. 但ashamed(/ə’ʃemd/)a在非重读音节的读音/ə/.
**ass
,如ass, glass, class, surpass(/sə’pæs/). 但compass(‘kʌmpəs), assist按a在非重读音节的读音/ə/.
ast,如fast, haste, master, nasty, past. 但waste(/west/), taste按a在重读开音节读音/e/.
ath,如gather, path, rather. 但sympathy(/’sɪmpəθi/)按a在非重读音节的读音/ə/.
alm, 如calm, palm(手掌), balm(香油).
alf, 如half, calf(小牛).
a[mn]+辅音,如chance, advance, France, dance. 但有例外,如grand(/grænd/), abundant(/ə’bʌndənt/).

(5)/ɒ/

[w]+a,发/ɒ/**,如want, what, watch, wash, wander, quality, water(/’wɔːtə/). 但有例外,如acquaint(/ə’kwent/), wave(/weɪv/), wake(/weɪk/), whale(/weɪl/).
**其他
,如wash(/wɒʃ/), what, watch, want.

(6)/ɔː/

al,如chalk(/tʃɔːk/), talk, always(/’ɔːlweɪz/), tall, walk. 但有例外,如shall(/ʃæl;ʃ(ə)l/), valley(/’vælɪ/), shallow(/’vælɪ/, 浅的), wallet(/’wɒlɪt/), rival(/’raɪvl/, 对手).

4.2 E e

(1)/iː/

重读开音节,如she, secret, these, Chinese(/,tʃai’ni:z/), extreme(/ɪk’strim/), appreciate(/ə’priʃɪet/), secret(/’siːkrɪt/), previous. 但也有例外,如zero(/’zɪro/), hero(/’hɪro/), serious(/’sɪrɪəs/).

(2)/ɛ/

重读闭音节,如set, bed, ten, pen, desk, yes, egg, left.
其他,如enemy(/’ɛnəmi/), eleven(/ɪ’lɛvn/), message(/’mɛsɪdʒ/), letter, generate(/’dʒɛnəret/), pebble(/’pɛbl/, 卵石).

(3)/ə/

名词或形容词后缀-ent,如abhorrent, accent, accident, apparent, benevolent, cogent, confident, consent, consequent(/’kɑnsəkwənt/).
非重读音节,如hundred, student, open, weekend, children, problem, prosperous.

(4)/ɪ/

非重读音节,如decide, result, chicken, pocket, restore(/rɪ’stɔr/, excuse(/ɪk’skjʊs/).
其他,如pretty(/’prɪti/), begin(/bɪ’ɡɪn/).

(5)/ /

词末不发音,如active, table, late, wife, store.

4.3 I i

(1)/aɪ/

重读开音节

如bicycle, Friday, private, drive, ice, line, wife, library.(以-辅音+le结尾的双音节词,前面的i所在音节是绝对开音节,发/aɪ/,如idle, title, bible, rifle.)

i+nd/ld/gh/gn,发/aɪ/

ind, 如behind(bɪ’haɪnd), blind, find, kind, mind. 但有例外,如vindicate(/’vɪndɪket/), wind, window.
ild, 如child, mild, wild. 但有例外,发bewilder(/bɪ’wɪldɚ/, 使迷惑), build(/bɪld/), children(/’tʃɪldrən/).
i+gh,gh不发音,如right, bright, light, fight, sign. 值得注意的是,weight(/wet/, ei发/e/), neighbour.
**i+gn(以gn开头或者结尾的词,g不发音)**,如design, sign, consign, resign(/rɪ’zaɪn/, 辞职).

以-ile/-ite/-ise/-ize/-wise结尾的词,i发/ai/

-ile, 如while, smile, reconcile, crocodile(鳄鱼).
-ite,如excite, finite, satellite(/’sætəlaɪt/), appetite, expedite, invite, polite, quite, spite, unite, white, write. 但有例外,如infinite(/’ɪnfɪnət/), opposite(/’ɒpəzət/), requisite(/’rɛkwəzɪt/), favourite(/’fevərɪt/).
-ise,如exercise(/’ɛksɚsaɪz/), advise, apologise, arise, authorise, characterise, despise, disguise(/dɪs’ɡaɪz/), exercise, wise, likewise, surmise, surprise, sympathise. 但有例外,如promise(/‘prɑmɪs/), praise(/prez/), noise(/nɔɪz/).
-ize,如seize, size, moralize.

(2)/ɪ/

重读闭音节,如big, city, dish, kid, skip, rich, pick, fist, history. 还有animal(/’ænɪml/).

(3)/iː/

以-ique结尾的词,如antique, technique, unique, comique, Belgique(/bel’ʒi:k/, 比利时). 

(4)/ə/

holiday, beautiful, family, infinite(/’ɪnfɪnət/), opposite(/’ɒpəzət/).

4.4 O o

(1)/əʊ/

重读开音节

如go, no, home, lode, host, cold, note, okay, old, progress, moment, notice, ocean. 但也有例外,如office(/’ɒfɪs/), honest(/’ɒnɪst/).

o+st/ld,发/əʊ=o/

ost,如most, cost, post, utmost. 但accost(/ə’kɒst/,勾引), prognostics(/prɒg’nɒstɪk/, 预兆)按o在重读闭音节的读音/ɒ/.
old,如old(/əʊld/), told, cold, soldier, hold, fold, manifold, scold(责骂), bold.
oll,如wholly(/’həʊllɪ/), stroll(/strəʊl/, 散步). 但有例外,如collect(/kə‘lekt/), pollution(/pə’luʃən/); follow(/’fɒləʊ/), folly(/’fɒlɪ/).

以-o结尾的词

如no, ago, forego, also, photo, echo, embargo, piano. 但-o结尾的词的还发/uː/,如to, do, hitherto, too, two, undo, who.

(2)/ɒ/

重读闭音节,如lost, hot, mock, soft, clock, box, shop, sock.
其他,如office(/’ɒfɪs/), honest(/’ɒnɪst/),

(3)/ə/

非重读音节,如second, tonight, somebody(/’sʌmbədi/), welcome, today, tomorrow, together, control, collect.

(4)/uː/

以-o结尾的词有时发/uː/**,如to, do, hitherto, too, two, undo, who.
**其他
,lose(/luːz/), whose, move, prove.

(5)/ʌ/

含o+m/n/v/th重读音节的词,如:
om, 如come, some, company, accompany, comfort. 但有例外,如common(/’kɒmən/).
on, 如honey, monkey, among, month, money, none, once. 但有例外,如only(/’əʊnlɪ/).
ov, 如love, cover, government, discovery. 但有例外,如improve(/ɪm’pruːv/).
oth,如other, another, nothing, mother, brother. 但也有例外,如cloth(/klɒθ/, 布).

4.5 U u

(1)/juː/

重读开音节,如university, refuse, unique, universe, huge.
以-ute/-ude结尾的词,发/juː/
-ute,动词后缀,如attribute(/ə’trɪbjuːt/), institute. 但有例外,如minute(/’mɪnɪt/).
-ude,名词后缀-tude,表示性质、状态、程度,如latitude, longitude, altitude, attitude.

(2)/ʌ/

重读闭音节,如but, struck(/strʌk/), trust, run, brush, bucket, duck, bubble, luck.

(3)/ʊ/

重读闭音节,如put, push, pull, full, bull.

(4)/ə/

非重读音节,如support, suggest, autumn(/’ɔːtəm/), difficult.

(5)/uː/

l/r/j+u的开音节,u发/uː/

lu, 如blue, include, resolute(/’rezəluːt/, 坚决的), seclude(使隔离), ablution(洗礼), conclude.
ru,如rule, true, rude, scruple(/’skruːp(ə)l/, 有顾忌), prudent(/’pruːd(ə)nt/, 谨慎的), intruder(/ɪn’truːdə/).
ju, 如June. 很少含ju开音节的词。

(6)/jʊ/

如popular, January(/’dʒænjʊ’ɛri/).

5. 其他规则

5.1 元音字母+l/m/n

字母l,m,n能够使左邻的元音字母发其“名称音”,举例如下:

元音+l, 如roll, child, wild, hold, sold, volt, folk, roll.
元音+m, 如climb, chamber, comb.
元音+n, 如danger, change, arrange, kind, pint, ninth, only.

**
参考资料:**
[1]百度文库《英语读音密码 讲义
[2]百度文库《英语单词拼读规则
[3]百度文库《英语音标发音规则
[4]博文《英语中“oo”的发音规则
[5]博文《元音字母a,e,i,o,u的发音规则
[6]博文《英语单词数码(全部)发音规则 ea
[7]百科词条:英语后缀

英语中开/闭音节和重/非重读

1. 开音节与闭音节

1.1 什么是音节

音节(syllable)是语音中最自然和最小的语音结构单位(通俗地说,音节是读音的基本单位[2]),由音节首(onset)、音节核(nucleus)、音节尾(coda)组成(后两者组成韵基rhyme)。例如cat(/kæt/),音节首是c,音节核(即可以单独发出响亮声音的部分)是a,音节尾是t,韵基是at,这样的音节结构可以抽象为“辅音–元音–辅音”(consonant-vowel-consonant, CVC)[1]

1.2 音节划分

任何单词的读音都是由一个个音节朗读组成的。通常情况,元音发音响亮可以构成音节,辅音发音不响亮,不能单独构成音节([m],[n],[ŋ],[l]除外,如bottle,bottom,button),单个元音可构成一个音节,一个元音与一个或多个辅音结合也可以构成一个音节[2][3]。划分音节方法:元音是构成音节的主体,辅音是音节的分界线。

**(1)两辅音之间不管有多少个元音,一般都是一个音节
**如:bed床,bet打赌,seat坐位,beat毒打,beaut极好的,beau-ty美。

**(2)两元音字母之间只有一个辅音字母,辅音字母归后一音节
**如:stu-dent 学生,la-bour劳动。但[3]划分得更细,在两个音节的相邻处只有一个辅字组时,如果前面音节里的元音是长音则辅字组属于后面一个音节,如果前面一个音节里的元音是短音,则辅字组属于前面一个音节。
例如:长音 pa-per stu-dent fa-ther ze-ro mo-tor far-ther
   短音 sev-en stud-y moth-er ver-y mod-le weath-er

(3)两个音节的相邻处有两个辅音时,一个属于前面的音节,一个属于后面的音节
如:let-ter,mem-ber,chil-dren,daugh-ter。

(4)两个音节的相邻处有3个或以上辅音时,第一个靠前,最后一个靠后,中间随意(?)
如:in-stead,suc-cess-ful,tran-sport,in-clude,im-prove,con-gress。

(5)辅音组合算一个
常用组合如pr,pl,fr.cl.sp,st,sk,scr,gr。如re-try,o-ther,con-tract,tech-no-lo-gy。关于辅音组合,可以参考博文《英语口语之辅音连缀-词首辅音群》、《英语口语之辅音连缀-音群》。

1.2 开音节

绝对开音节

是指一个元音字母后面没有辅音字母而构成的音节,例如:we, hi,ba-by,stu-dent,se-cret。

相对开音节

是指一个元音字母后面有一个辅音字母(除r)之外,再加一个不发音的e构成的音节,如:take, make,name these bike home ex-cuse

1.3 闭音节

闭音节是指含有一个元音字母,并以辅音字母(r, w,y除外)结尾的音节为闭音节。如map,desk,it,not,cup,leg, cross。

2. 重读与非重读音节

重读音节是承担重音发音突出的音节。重音有通过增加音强来表示的力重音和通过音高的变化来表示的乐调重音[4]。重读音节是指在双音节或多音节词中那个发音特别响亮的音节。一些简单规则如下[5]

①单音节词几乎都按重读音节对待。
②双音节名词60%以上是第一个音节重读;双音节动词有90%以上是第二个音节重读;
③三个或三个以上音节的单词中有比较大的一部分是倒数第三个音节重读
④能辨清词头、词干和词尾的,一般都是词干重读;
⑤含有-tion,-sion,-ssion等字母组合的,肯定是该字母组合前紧挨着那个的音节重读;
⑥一个词有多个重音,叫等重音,出现在合成词,如grandfather.

看到一篇博文《英语单词重音研究》,总结很多重读规律(好复杂,如您有更简单的,求分享),摘抄整理(修改了一些拼写错误)如下:

2.1 单音节词

单音节词都按重读音节对待。

2.2 双音节词

90%的动词倾向于在第二音节重读,动词以外的有60%倾向在第一音节重读。

(1)名词、形容词、副词的后缀,大都是非重读的

名词后缀:-er,-or,-ess,-ism,-sion,-ship,-hood,-age,-ure,-dom,-ey,-ance,-our,-ent,-ace,-ic…
形容词后缀:-less,-ish,-ive,-ous,-able,-ic,-some,-like,-en,-ed,-al,-ant,-ful,-ing,-ty.-ly…
副词后缀:-ly,-ward,-wise…

(2)带以下前缀,重音在后面音节上

a, ab-,ac-, ad-, al-, be-, con-, de-, dis- em en, im, in, ,for pre, pro, to, trans, mis-, re-, tans-, un-

例如:a’bout, ab’duce, ac’cede, ad’mire, be’long, con’sult, de’tect, dis’like, asleep, beside, compare, consider, decide, discount, employ, enforce, escape, except, forbid, forget, imagine, include, mistake, persuade, pretent, propose, repair, respect, translate, about, achieve, address, akimbo, believe, decide, report, condemn, respect, compare, inform, discuss, impress, mistake, enforce, prepare, employ, permit, escape, produce, exclaim, translate

(3)带以下后缀,重音通常在第二音节上

aim, ain, cur, eem, duce, ere , firm, gn ,oin ,oke, ose, pt, rce, self, ume.例如:contain, occur, sincere, design, confirm.

(4)名词的重音多在第一音节上,形容词、动词的重音多在第二个音节上

特别是以**de-,in-,re-,con-,pre-**等前缀开头的词,这类词的区别很明显。如:

alloy合金(名词) alloy使…成合金(动词)
project计划(名词) project计划(动词)
desert沙漠(名词) desert抛弃(动词)
record唱片(名词) record录音(动词)
present礼物(名词) present赠送(动词)
desert沙漠(名词) desert 抛弃(动词)
insult侮辱(名词) insult 侮辱(动词)
conduct行为(名词) conduct指挥(动词)
content内容(名词) content使满足(动词)
essay散文(名词) essay企图(动词)
concrete混凝土(名词) concrete使凝固(动词)
convoy护航(名词) convoy为…护航(动词)
exploit功勋(名词) exploit利用(动词)
survey调查(名词) survey勘测(动词)
abstract 摘要,抽取物(名词) abstract摘录,使抽象(动词)
progress 前进,进步(名词) progress 前进,进步(动词)

2.3 三音节词及多音节词

如果不受词缀影响,重音一般落在倒数第三个音节上,但是有了后缀后,要受到后缀的影响,只要把不在倒数第三个音节的词挑出来,就可以了,因为除了上述的,都在倒数第三音节上。但是,有一点要注意,规律不是万能的,总有例外,只能靠记忆了。下面分析词缀变化与重音的关系,看哪些词缀影响重音的变化,一些规律如下:

(1)重音位置与原词重音位置一样的词缀

-al, -acy(与ate结尾的形容词对应的名词后缀inadequacy), -age, -er, -or,-ful, -ism, -ist, -ive, -ize, -ise, -less, -ly, -ness, -ship, -ing, -able, ry, ty. 有一些就在第一个音节上。

如educator的重音不是在a上,而是在e上。再比如:original, intrinsical,personal, residual, adjectival, customary, scientist, slavery, advertise, messager, interrogator. 注意ism,很容易把重音读错,如nationalism, socialism, democratism,factionalism. 注意重音都在与原词重音一样。

(2)重音落到最后的词缀(即最后音节,词缀本身)

-ade, -ette, -ee, -ese, -que, aar, eer, zee, roo, 这些词一般都是从法语中借来的词,双音节词也是同样的规律。

例如:referee, Chinese,lemonade,blockade,engineer,pioneer,domineer,officialese, arabesque,entrepreneur, reservoir,espionage, entourage.

(3)重音后移现象

这些词缀因为改变了原词性,所以需要稍微加重一点读出来,那么,怎么加重呢,它就通过把重音向后拉一个音节,即把本来在倒第三音节的重音拉到词缀的前面,即在倒第二个音节上,也就在词缀的前一个音节上,词缀为双音节的则在词缀的前一个音节上,主要有以下情况:

**①形容词后缀-ic(如atic, -etic, -fic)
**如democratic, pacific, scientific, athletic, terrific, elastic, energetic, economic, republic, mechanical, Titanic, phonetic, alcoholic, alphabetical, Antarctica, Asiatic, astronomically, atomic, biological, botanical, economically, electric, electronic, emphatic, empirical,geologically, historic, hysterical, ionic, magnetic, mathematics, mechanic, numerical, pacific, periodic, political, republic, scientific, specific, alcoholic, alphabetical, Antarctica, Asiatic, astronomically, athletic, atomic, biological, botanical , economically, electric, electronic, emphatic, empirical, geologically, historic, hysterical, ionic, magnetic, mathematics, mechanic, numerical, pacific, periodic, political, republic, scientific, specific, geographic, climatic, sympathetic.
但也有例外:例外:catholic, lunatic, heretic, arithmetic, television, rhetoric.

**②名词后缀-ion(如-ation, faction, -fication, -ition, -sion, –tion)
**如invitation, satisfaction, competition.

**③后缀-ana,-escence,-escent,-i(表示国籍和语言),-ics(学科),-itis(炎症),-sis(病理)
**如Israeli, Pastrami, victoriana, convalescence, adolescence, fluorescent, evanescent, bronchitis, arthritis, hepatitis, fibrosis,tuberculosis.

**④后缀id
**如intrepid, insipid.

(4)隐藏的倒第三音节

有的词缀实际上由两个音节组成,那也自然就知道他们的重音也符合倒三音节的规律了,就在这个音节之前。如果再往前就不对了。比如:词缀al,-ial, -ical, -ia,-ium,-(*)ous(包括-acious, -aneous, -eous, -ious),-ian(包括-arian, -ician), -ity(如acity, iety,eity, bility, ility, uity), 以上词缀中e,i都算一个音节。al其实也算两个音节,l是要当成一个音节来读的。

al,ial,ical: Imperial, managerial, offi-cial, musical, experiential
ia: **militia,disequilibria,euthanasia,hypothermia,intelligentsia,realia
**ium:
delirium,
ity: capability, ingenuity, capacity possibility humanity possibility opportunity sagacity, spontaneity, futility, ingenuity, sobriety, propriety, dependaBIlity, duality, university
cian: logician, mathematician, politician, musi-cian
arian: egalitarian, utilitarian, Presbyterian, Trinitarian, Unitarian, humanitarian
*()ous:** sagacious, spontaneous, delicious, mysterious, perspicuous, surreptitious, spontaneous, promiscuous, efficacious, notorious, lugubrious

不属于上述情况的ous: infamous, gluttonous, ludicrous, ridiculous,phosphorous,monotonous, mischievous中的ous算一个音节,重音就在倒三音节上。

(5)ment作为词缀时,重音往往在倒三音节上,但如果其后再加词缀,重音就落在ment上

如Moment, governmental, advertisement, monumental,但-ity的决定力大于-ment,所以sentimentality的重音仍遵循-ity的规则。

(6)在倒数第三音节前重读的单词,就是倒数第四音节,主要是因为后面有弱读的后缀

ible,able,ary,ery,ory, 比如:negligible, ordinary, contemporary, adversary, monastery, conservatory, promontory。尤其需要注意的是,-able(-ible)加在一个以重读音节结尾的单词上,重音要前移一个音节,如compare/comparable(重音在首音节上), admire/admirable.

(7)英语大部分词汇来源于拉丁语,也继承了拉丁语的一个主要重音规则

即如果penult(倒数第二音节)的元音后面是双辅音(爆破音b、p、k、g、t、d在前,l或r在后,这样组成的双辅音除外),单词重音便落在penult上。此规则的效力大于后缀的效力。例如:

①按照后缀规则,important的重音位置应该是在首音节上,但由于penult的辅音是rt,符合上述规则,因此重音落在penult上。conference和concurrence, momentum, narcissi, paparazzi, postmortem, remittent. 重音位置的差别也可如此解释。
②虽然penult是双辅音,但属于爆破音+l/r的情况,这种情况,该规则不适用,仍遵循后缀规则。如ludicrous(可笑的), celebrity(名人)。

(8)合成词与派生词的读音规则

对于为名词的合成词,在第一组成部分重读。如:BLACKbird, GREENhouse
对于为形容词的合成词,在第二组成部分重读。如:bad-TEMpered, old-FASHioned
对于为动词的合成词,在第二组成部分重读。如:underSTAND, overFLOW

英语中派生词的重音和词根重音一致。派生词就是一些有同样词根的词,比如:act, active, actively, com’pare,com’parison.

**附录:容易发错音的单词(大写是重读音节)
**Juvenile, Puerile, inSipid, inTrepid, eThenal, Maintenance, inTegrity和Integrate, roBust, avaTar, Ancestor, Recipe, reCeipt, masSage, enDow, Synthesis, paRamter, peRimeter, testiMonial, exeGesis, allegoResis, miMesis, coPernican, Sabotage, Perpetrate, Testimony, exegesis,allegoresis,mimesis, Desecrate, Recompense, Treatise, experTise(i), igNite, Erudite(ai), Ominous, Estimate Complete, Process, Hideous, Industrial, terRain, Exit, Refuge, inTerstice, adMonish, whereAs, hiBitual, Illustrate, inFormal, eDition, exTraneous, Image, corRal, Advertise, Flagrent, Deluge, deMise, reBel, Asterisk, auTocracy, interlocutor, asSiduious, assiDuity, theAtrically, deCrial, auThorial, euRasian,aCescence acquiescence, deliquescence, convalescence, evanescence, obso-lescence, reminiscence, renascence, decrescent, marcescent, pubescent, quiescent, resipiscent, suffrutescent, anTithesis, Synthesis, Capitalism, Socialism, Rhetoric, mediEval, priMeval, transcenDental, apotheOsis, Finite, Erudite, inTerrogate, proVocative, moNopoly, transCendence, Immanence, Diligence, Impudent, eMergence, beNevolence, malevolence Object, obJection, obJective. executive, enDow, Synthesis, paRamter, peRimeter, testiMonial, exeGesis, allegoResis, mimesis, Juvenile, Puerile, inSipid, inTrepid, eThenal, Maintenance, inTegrity, Integrate, roBust, avaTar, Ancestor, Recipe, receipt.

**参考资料:
[1]维基百科词条《音节
[2]新浪问答《英语中 开音节 闭音节 单音节 是什么意思?》
[3]百度文库《英语单词拼读规则
[4]百度词条《重读音节》《重读闭音节
[5]百度文库《什么是重读开音节闭音节

拖曳

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
var box = document.querySelector('.box')
var container = document.querySelector('.container')

// 整个拖拽都会执行
box.addEventListener('drag', function(e) {
console.log('drag')
})

// 拖拽的点离开当前盒子
box.addEventListener('dragleave', function() {
console.log('dragleave')
})

// 拖拽开始
box.addEventListener('dragstart', function() {
this.style.backgroundColor = 'red'
console.log('dragstart')
})

// 拖拽结束
box.addEventListener('dragend', function(ev) {
this.style.backgroundColor = ''
console.log('dragend')
})
//在目标元素上移动
container.addEventListener('dragover', function(e) {
this.style.backgroundColor = 'yellow'
console.log('目标dragover')
e.preventDefault()
})
//在目标元素松开
container.addEventListener('drop', function(e) {
this.style.backgroundColor = 'black'
console.log('目标drop')
e.preventDefault()
})
//在目标元素离开
container.addEventListener('dragleave', function(e) {
this.style.backgroundColor = ''
console.log('目标dragleave')
e.preventDefault()
})

文件读取

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*获取到了文件表单元素*/
var file = document.querySelector('.file')
/*选择文件后触发*/
file.onchange = function() {
/*初始化了一个文件读取对象*/
var reader = new FileReader()
/*读取文件数据 this.files[0] 文件表单元素选择的第一个文件 */
reader.readAsDataURL(this.files[0])
/*读取的过程就相当于 加载过程 */
/*读取完毕 预览 */
reader.onload = function() {
/*读取完毕 base64位数据 表示图片*/
console.log(this.result)
document.querySelector('#img').src = this.result
}
}

网络状态

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 通过window.navigator.onLine可以返回当前的网络状态
alert(window.navigator.onLine)

window.addEventListener('online', function() {
//alert('online')
$('.tips')
.text('网络已连接')
.fadeIn(500)
.delay(1000)
.fadeOut()
})

window.addEventListener('offline', function() {
//alert('offline')
$('.tips')
.text('网络已断开')
.fadeIn(500)
.delay(1000)
.fadeOut()
})

geolocation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if (navigator.geolocation) {
/*getCurrentPosition 获取当前定位信息*/
navigator.geolocation.getCurrentPosition(
function(position) {
/*获取定位信息成功*/
/*position 定位信息对象*/
/*position 属性 coords 坐标对象*/
/*coords 有 经纬度 海拔 ... */
/* latitude 维度 longitude 经度 */
},
function(PositionError) {
/*获取定位信息失败*/
/*PositionError 失败信息*/
}
)
}

storage

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
$(function() {
/*1.使用json数据存储搜索历史记录*/
/*2.预设一个key historyList */
/*3.数据格式列表 存的是json格式的数组*/
/*4. [电脑,手机,。。。。]*/

/*1.默认根据历史记录渲染历史列表*/
var historyListJson = localStorage.getItem('historyList') || '[]'
var historyListArr = JSON.parse(historyListJson)
/*获取到了数组格式的数据*/
var render = function() {
/*$.each(function(i,item){}) for() for in */
/* forEach 遍历函数 只能数组调用 回到函数(所有对应的值,索引)*/
var html = ''
historyListArr.forEach(function(item, i) {
html +=
'<li><span>' +
item +
'</span><a data-index="' +
i +
'" href="javascript:">删除</a></li>'
})
html = html || '<li>没有搜索记录</li>'
$('ul').html(html)
}
render()

/*2.点击搜索的时候更新历史记录渲染列表*/
$('[type="button"]').on('click', function() {
var key = $.trim($('[type=search]').val())
if (!key) {
alert('请输入搜索关键字')
return false
}
/*追加一条历史*/
historyListArr.push(key)
/*保存*/
localStorage.setItem('historyList', JSON.stringify(historyListArr))
/*渲染一次*/
render()
$('[type=search]').val('')
})

/*3.点击删除的时候删除对应的历史记录渲染列表*/
$('ul').on('click', 'a', function() {
var index = $(this).data('index')
/*删除*/
historyListArr.splice(index, 1)
/*保存*/
localStorage.setItem('historyList', JSON.stringify(historyListArr))
/*渲染一次*/
render()
})
/*4.点击清空的时候清空历史记录渲染列表*/
$('div a').on('click', function() {
/*清空*/
historyListArr = []
/*慎用 清空网上的所有本地存储*/
//localStorage.clear()
//localStorage.removeItem('historyList')
localStorage.setItem('historyList', '')
render()
})
})

history

1
2
3
4
5
6
7
8
9
10
11
12
13
// window.history.length
// history
// history.back() 去上一条历史
// history.forward() 去下一条历史
// history.go() 相对当前 跳多少条记录 正 前走 负 后退
// history.pushState();
// history.replaceState();
// window.onpopstate = function(){}
/*1.存数据 null*/
/*2.存标题 null*/
/*3.追叫的历史记录的地址*/
history.pushState(null,null,'test.html')
history.replaceState(null,null,'test.html')

https 通信

当我们谈论加密的时候,我们在谈论什么?

  1. symmetric/secret key encryption
  • 对称秘钥加密:通信的双方都使用同一个秘钥进行加解密
  • 需要用对称加密算法,如DES、AES等
  • 通信就好像互相发送密码保险箱一样,双方都有钥匙才能进行加密和解密。
  1. asymmetric/public key encryption
  • 私钥 + 公锁(钥)= 密钥对
  • 私钥加密,公锁解密(签名 signature 和 验证 verify)
  • 公锁加密,私钥解密(加密encryption 和解密 decryption)
  • 通信时, 甲发送公锁给乙,乙用甲的公锁加密数据返回给甲,甲收到后用私钥解密
  1. Trusted Third Party || Certificate Authority
  • CA,证书权威提供。即由CA提供证书
  • 为了防止中间人伪造,证书包括基本信息和公钥
  • 通信时, 甲向CA(提供个人信息和公锁)申请证书,甲发送证书给乙,乙对照证书用证书公锁加密数据返回给甲,甲收到后用私钥解密
  1. digital signature
  • 乙要确保证书是来自CA的
  • CA 将公钥和个人信息用一个Hash算法生成一个消息摘要(md5, sha256等)
  • CA 然后用它的private key sign its name, 这个消息摘要的签名和消息摘要本身合起来就叫数字证书
  • 当 乙接受到甲发过来的证书, 乙用同样的Hash算法,生成一个消息摘要
  • 此时,乙 用它拥有的CA public key 对 甲证书的签名 进行 verify验证,得到签名对应的创建的消息摘要
  • 两者对比,即可知道 证书是否被修改过
  1. Key Encapsulation Mechanism
  • 非对称加密所造成的速度慢,需要通信之前双方会先把自己的公钥都先发给对方
  • 先生成一个对称加密算法的密钥,用RSA的方式先安全的发给对方
  • 随后就不再用RSA了,只用这个对称加密的密钥来互相通信
    1
    2
    3
    4
    5
    6
    7
    -> 客户端向服务端发送请求 
    -> 服务端返回数字证书
    -> 客户端用自己的CA[内置浏览器]公钥去解密证书,如果证书有问题会提示风险
    -> 如果证书没问题客户端会生成一个对称加密的随机秘钥
    -> 然后再和刚刚解密的服务器端的公钥对数据进行加密,然后发送给服务器端
    -> 服务器端收到以后会用自己的私钥对客户端发来的对称秘钥进行解密
    -> 之后双方就拿着这个对称加密秘钥来进行正常的通信

    ssh 登录

  1. ssh 不同于 https,在于没有CA。
  2. 口令登录,公钥指纹,回答yes/no,意味着接受远程主机公钥,密码通过公钥加密,远程主机通过私钥解密。
  3. 公钥登录, 用户将自己的公钥储存在远程主机上。 登录时,远程主机向用户发送随机字符串,用户用自己私钥加密, 发送给远程服务器,远程主机用储存的公钥解密,两者一直,登录成功。

Linux 命令

Image text

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
系统配置
程序安装
PATH
命令
参数
权限
用户
用户组


常用操作

pwd
print working dir
显示现在所处的目录

ls
不带参数就显示当前目录下的所有文件
程序可以加参数
-l 显示详细信息
-h 人性化显示文件尺寸
-a 显示所有文件, 以 . 开头的文件是隐藏文件
还可以带一个目录当参数,这样就会显示这个目录
下面两个是等价的
ls -l -h
ls -lh

cd
cd Desktop
改变当前目录
. 代表当前目录
.. 代表上级目录
cd 不带参数就回到默认的家目录
每个用户都有一个家目录,默认在 /home/用户名
root 用户的家目录是 /root
cp
复制出一个文件,用法如下
cp a.txt b.txt
复制 a.txt 并把新文件取名为 b.txt
复制目录要加上 -r 参数
cp -r a b
mkdir
创建一个目录
-p 可以一次性创建多层目录
mkdir -p a/b/c
rmdir
只能用来删除一个空目录
rm
这个命令直接删除东西,很危险,一般不要用
删除文件或者目录
-f 强制删除
-r 用来删除目录
mv
移动文件或者文件夹
也可以用来改名
mv a.txt b.txt
mv b.txt ../
mv b.txt ../gua.txt
可以用 mv xx /tmp 的方式来将文件放入临时文件夹
(/tmp是操作系统提供的临时文件夹,重启会删除里面的所有文件)
cat
显示文件内容
tac
反过来显示文件内容
nl
显示内容并附带行号
more less head tail
more 可以分屏分批看文件内容
less 比 more 更高级,可以前后退看文件
head 可以显示文件的前 10 行
tail 可以显示文件的后 10 行
head 和 tail 有一个 -n 参数
head -n 20 a.gua
touch
touch a.gua
如果 a.gua 存在就更新修改时间
如果 a.gua 不存在就创建文件


目录分布


权限操作
sudo
用管理员帐户执行程序
比如安装程序或者修改一些系统配置都需要管理员权限
su
switch user, 切换用户
su gua
su root

文件权限 文件类型 用户 用户组 文件大小 修改日期 文件名
-rw-rw-r-- 1 gua gua 10 11/09 20:28 b.gua
drwxrwxr-x 2 gua gua 4096 11/09 20:28 tmp
文件类型 是否可读 是否可写 是否可执行
d r w x
- r w x
三组 rwx 分表代表 所属用户|同组用户|其他用户
rwx 可以用数字表示为 421
于是乎
r-- 就是 4
rw- 就是 6
rwx 就是 7
r-x 就是 5

chown
改变文件的用户
chown gua c.gua
chown gua:gua c.gua
chmod
改变文件权限
chmod 666 root.gua
chmod +x root.gua
chmod -x tmp


信息查找
file
显示文件的类型(不是百分之百准确)
uname
显示操作系统的名字或者其他信息
uname -r
uname -a
which
which pwd
显示 pwd 的具体路径
whereis
whereis ls
显示更全面的信息
whoami
find . -name ""

奇怪符号
~ 家目录快捷方式
> 覆盖式重定向
>> 追加重定向
| 管道, 很麻烦 以后说
`` 获取命令执行的结果
& 后台执行
python3 server.py &
可以用 fg 命令把一个在后台的程序拉到前台来
可以用 Ctrl-z 来把一个前台的程序放到后台去挂起
() 开新的子进程shell执行(不用掌握这一条, 因为几乎没人用)
命令配置符
\# 代表超级用户
$ 代表普通用户

history
查看历史命令
grep
查找
这两个一般配合使用
history | grep touch

ps
查看进程, 一般用下面的用法
ps ax
ps ax | grep python
查看带 python 字符串的进程

kill 和 killall 杀进程
用 ps ax 找到进程id (pid)
kill [pid]
kill -9 [pid]
kill -15 [pid]
killall 是用进程名字来杀进程

后台前台
fg
jobs

查看端口
netstat -ap | grep 6301

快捷键
C-z 挂起到后台
C-c 中断程序

service application restart/stop/start
服务 重启、停止, 权限大

reboot
重启
shutdown
关机
可以用参数指定时间
halt
关机
passwd username
修改密码

Ubuntu主机设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# ===
# 生成 ssh-key
# ===

# Mac 用户直接打开终端输入命令
# Win 用户安装 Github Desktop 离线包后, 打开桌面的 git shell 程序, 在里面输入下面的命令
#
# 1. 在本机生成 ssh key 公钥私钥
# 注意 下面的 mykey 随便换一个你喜欢的名字, 这是一个标注, 方便你看的
ssh-keygen -C mykey
# 会提示你生成的文件的地址, 并且让你输入密码, 你不要输入密码, 直接回车
#
# 这样你就得到了一对 ssh-key, 这是用于登录服务器用的
# 默认你会得到两个文件
# id_rsa 是私钥 自己保存 不要给别人看
# id_rsa.pub 是公钥, 是要到处使用的


# ===
# 重建服务器并且配置 ssh-key
# ===
#
# 去 vultr 的管理界面
# 先删除(Destory)现有的服务器
# 新建服务器的时候, 把刚才才生成的 id_rsa.pub 文件(用 atom/pycharm 可以打开)里面的内容加入到 ssh-key 步骤中
# 这样你就可以不用密码, 自动登录服务器了(windows 用户请看「windows上用bitvise软件使用sshkey登录.pdf」这个文件)


# 如果你不想重建服务器, 配置 ssh-key 的方法如下
# 在服务器把本机生成的 public key 添加到 /root/.ssh/authorized_keys 文件中
# 1 用 root 用户登录到服务器, 创建 .ssh 目录
cd /root
mkdir .ssh
# 2 编辑 authorized_keys 文件, 把刚才生成的 id_rsa.pub 文件里面的内容粘贴进去并保存退出
# 注意, 这里可以粘贴多个 key, 一行一个
nano .ssh/authorized_keys


# 在本机上可用git bash尝试
# ssh root@ipaddress||domain
# 注意 Are you sure you want to continue connecting (yes/no)?
# 要回答 yes

# 本机使用Bitvise, 点击Client key manager
# import, 点击all文件,找到id_rsa私钥,导入后关闭
# initial method: publickey 选择刚刚生成的文件
# 登录成功

# ===
# 服务器初始化配置, 复制这些命令粘贴到服务器终端中执行
# ===
#
# 安装 配置 打开 ufw 防火墙
apt-get install ufw
ufw allow 22
ufw allow 80
ufw allow 443
ufw default deny incoming
ufw default allow outgoing
ufw status verbose
ufw enable


# 安装必备软件
apt-get install git python3 python3-pip python3-setuptools supervisor mongodb redis-server zsh
# 安装 oh-my-zsh 配置(方便你使用命令行的配置)
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
# 安装 gunicorn
pip3 install gunicorn pymongo

# ===
# 服务器中文编码问题
# ===
#
# 编辑下面的文件, 不要拼错
nano /etc/environment
# 加入下面的内容, 保存退出
LC_CTYPE="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

===
gunicorn wsgi --bind 0.0.0.0:2000
===

#!/usr/bin/env python3
这是把代码部署到 apache gunicorn nginx 后面的套路

➜ ~ cat /etc/supervisor/conf.d/xx.conf
supervisor监护程序,重启、崩溃后自动重启
[program:todo]
command=/usr/local/bin/gunicorn wsgi --bind 0.0.0.0:2000 --pid /tmp/todo.pid
directory=/root/web13
autostart=true

可以使用
supervisorctl restart todo

CentOS主机设置

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Centos7使用SSH,禁用密码登录方法:
1、
# 若没安装openssh,则yum install openssh-server
# 开启sshd, sudo systemctl enable sshd
# sudo systemctl start sshd 或者 sudo service sshd start
# 开启防火墙的22端口
# sudo firewall-cmd --zone=public --add-port=22/tcp --permanent
# sudo service firewalld restart
2、
# 编辑/etc/ssh/sshd_config
# 将PasswordAuthentication参数值修改为no: PasswordAuthentication no
# 重启ssh服务:systemctl restart sshd.service

CentOS防火墙:
1、firewalld的基本使用
启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld

2、systemctl是CentOS7的服务管理工具中主要的工具,它融合之前service和chkconfig的功能于一体。
启动一个服务:systemctl start firewalld.service
关闭一个服务:systemctl stop firewalld.service
重启一个服务:systemctl restart firewalld.service
显示一个服务的状态:systemctl status firewalld.service
在开机时启用一个服务:systemctl enable firewalld.service
在开机时禁用一个服务:systemctl disable firewalld.service
查看服务是否开机启动:systemctl is-enabled firewalld.service
查看已启动的服务列表:systemctl list-unit-files|grep enabled
查看启动失败的服务列表:systemctl --failed

3、配置firewalld-cmd

查看版本: firewall-cmd --version
查看帮助: firewall-cmd --help
显示状态: firewall-cmd --state
查看所有打开的端口: firewall-cmd --zone=public --list-ports
更新防火墙规则: firewall-cmd --reload
查看区域信息: firewall-cmd --get-active-zones
查看指定接口所属区域: firewall-cmd --get-zone-of-interface=eth0
拒绝所有包:firewall-cmd --panic-on
取消拒绝状态: firewall-cmd --panic-off
查看是否拒绝: firewall-cmd --query-panic

那怎么开启一个端口呢
添加
firewall-cmd --zone=public --add-port=80/tcp --permanent (--permanent永久生效,没有此参数重启后失效)
重新载入
firewall-cmd --reload
查看
firewall-cmd --zone= public --query-port=80/tcp
删除
firewall-cmd --zone= public --remove-port=80/tcp --permanent

node.js 模块工具

前端工具链(轻)

  • gulp
    1. yarn add gulp –dev
    2. create gulpfile.js
    3. gulp.task(‘name’, function() { /todo code/ }; on cmd, gulp name
    4. gulp.task(name[, deps], fn)
    5. gulp.watch(glob[, opts], tasks)

模块打包工具

  • webpack

节奏

  • 拍 beat DJ, drop the beat.
  • 速度 bpm beat per minute
  • 小节 一定数量的拍子组合起来
  • 节拍 大部分是4/4拍,上面的4代表每小节有4拍,下面的4代表以四分音符的长度为1拍
  • 音符时值 全音符,二分音符,四分音符,八分音符,十六分音符

键盘

  • 键盘单位Image text
  • 七个白键, CDEFGAB1234567; 五个黑键,
  • 最后一个是白键C,小字五组C^5;右边第二个白键C到B就是小字4组C^4
  • 以此推到小字一组(右上角),然后是小字组(c 中央c 小写字母), 大字组(大写字母), 大字一组, 大字二组(最低音A下标2,B)
  • 黑键 升C,C#,降D,Db 有两个名字

  • 调规定了音符的稳定
  • 大调式,12全23全34半45全56全67全71半

操作系统

  1. 内存管理
  2. 驱动管理
  3. 进程、线程、协程
  4. 文件系统

内存

  • 32位 2**32 == 4G
  • DOS时代,内存是程序自己控制,不相互隔离(淘汰)
  • Windows,统一的内存空间,(每个程序看到的内存地址都是相同)
  • 存储器山 cache miss
    1. CPU n核心 ALU cpu寄存器(速度最快)
    2. 每个核心有L1,L2
    3. 对整个 CPU 而言的L3缓存,3M
    4. 内存,可以很大 8G
    5. 硬盘
    6. 网络传输
  • 虚拟存储器 统一的内存模型
    1. 一个程序4G, 内存+硬盘
    2. eg:电脑4G,a程序1G数据->内存,页表, b程序1G数据->内存,页表(把4G映射)
      此时有一个c程序3G, 要使用,此时把a存储,把 c 程序 load 进来(换)换入换出
    3. a ->查页 page fault => page load => 正常运行
  • 也有不经过CPU的,DMA

驱动

  • 驱动是对硬件层的抽象
  • 键盘:ps/2, usb, bluetooth
  • linux:统一成文件 接口 read write seek

文件系统

  • original数组,在数组开始存储:[meta元信息 对应的文件位置(偏移量) 对应的文件大小]
  • 格式化: 会把所有信息抹掉,浪费时间
  • 快速格式化: meta清空,剩下的只是一堆无解的二进制
  • 抽象加密:所有的文件,都在一个file里
  • /main/main.py -> file load -> execute

进程、线程、协程

  1. DOS时代,没有Process概念
  2. 进程(操作系统,调度资源的最小单位)有pid:ps aux
  3. 实现原理:时间片;进程通信:pipe, file, socket
  4. 多线程 multithreading,thread 或者 lightweight process,线程是进程中的一个实体
  5. 多个线程共享一个进程资源的全局数据
  • 对于一个进程来说,你持有一个页表
  • 对于同一个进程内的线程,你将共享同一张页表
  1. 多线程同步问题
  • 数组 支持add

  • 把数组size + 1

  • 把add的这个数字放在 data[size]

  • 有2个线程,同时去add

  • A线程 走了1

  • B线程 走了1

  • A 存了数据 data[size] = xxx

  • A 存了数据 data[size] = xxx

  • 核心在于,操作被拆分了

  • 解决:

  1. atomic swap_and_cmp

  2. 加锁,mutex 互斥锁, 信号量, 读写锁, 自选锁。
    同步:
    加锁后,我对这个资源有所有权
    在我的所有操作没有结束前,其它线程要等
    问题: 同步后,可能死锁(哲学家进餐)

    1. 为什么死锁?获取资源的顺序不一样
      对于底下哲学家 先1后2
      对于上面哲学家 先2后1

    所有的哲学家都是先1后2

    1. 调整最后一个人的顺序
    2. 如果我那不到右手,那我左手的也不要
  • 线程安全的交换数据的函数
    swap(a,b)

    获取资源顺序一致,先lock内存大的

    a.lock()
    b.lock()
    exchange(a.data, b.data)
    a.unlock()
    b.unlock()

    swap(a,b) —— swap(b,a) 死锁

  1. 超线程,一个CPU内核跑两个线程,inter技术
    协程: 由程序自身控制,一个线程执行。一个线程里面I/O操作特别多,就用协程。
    协程就是你可以暂停执行的函数,
    Python not use multithread? GIL global interpreter lock
  2. 并发(Concurrency)和并行(Parallelism)
    • 并发,不管多少线程,只有系统能同时处理多个事情,就是并发(时间片内)
    • 并行和多线程,多进程有关系,(精确的同时)
  3. 同步异步(信号触发)
    • 事件发生不发生,是通过自己去检查得到的。
    • 事情的发生,别人通知给你的。
  4. 阻塞与非阻塞
    • 阻塞, 等下去
    • 非阻塞, 不等
  5. 编译和解释
    编译 -> 代码 -> 另一种代码 -> 编译到机器码 , 目标代码就是 机器码
    解释 : c 语言是统一的,用c写了一个虚拟机, 这个虚拟机是可以部署到任何机器的
    Python就是逐步转换成虚拟机指令
    JIT: just in time complier, hybrid混合方案,把最热的代码编译到机器码
  6. 动态静态语言
    • 动态静态: 赋值决定
    • 强类型弱类型: 1 + ‘1’ JS弱;1 + 1 Python强类型
    • 有 GC 无 GC: garbage collection 垃圾回收
      new 和 delete, // malloc free c, c++
      有GC的语言:java golang python ruby scala js
      GC实现
    1. mark & sweep concurrent
    2. ref counting
      Python 主要用ref counting, 解决不了用特殊的mark sweep

Python 数据类型

  • Number, String, List, Tuple, Set, Dictionary
  • Immutable: Number, String, Tuple
  • Mutable: List, Set, Dictionary
  • Number: <class ‘int’> <class ‘float’> <class ‘bool’> <class ‘complex’>
  • String: 变量[头下标:尾下标] r’ds\n’(raw), “””…”””, b’’(byte)
  • None: not is 0
  • List: append(), pop(), retrieve[], o(1); insert(index, obj), pop(index), o(n)
  • Tuple: 不变的List, ()
  • Set: 不重复(a - b)差集, (a | b)并集, (a & b)交集, (a ^ b)不同时存在
  • Dictionary: k-y