|
|
|
|
@ -0,0 +1,63 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
IPA='b buy, cab |
|
|
|
|
d dye, cad, ladder[1] |
|
|
|
|
dj dew[2] |
|
|
|
|
dʒ giant, badge, jam |
|
|
|
|
ð thy, breathe, father |
|
|
|
|
f fan, caff, phi |
|
|
|
|
ɡ guy, bag |
|
|
|
|
h high, ahead |
|
|
|
|
hw why[5] |
|
|
|
|
j yes, hallelujah |
|
|
|
|
k sky, crack |
|
|
|
|
l lie, sly, gal[7] |
|
|
|
|
lj lute[2] |
|
|
|
|
m my, smile, cam |
|
|
|
|
n nigh, snide, can |
|
|
|
|
nj new[2] |
|
|
|
|
ŋ sang, sink, singer |
|
|
|
|
p pie, spy, cap |
|
|
|
|
r rye, try, very |
|
|
|
|
s sigh, mass |
|
|
|
|
sj consume[2] |
|
|
|
|
ʃ shy, cash, emotion |
|
|
|
|
t tie, sty, cat, latter[1] |
|
|
|
|
tj tune[2] |
|
|
|
|
tʃ China, catch |
|
|
|
|
θ thigh, math |
|
|
|
|
θj enthuse[2] |
|
|
|
|
v vie, have |
|
|
|
|
w wye, swine |
|
|
|
|
z zoo, has |
|
|
|
|
zj Zeus[2] |
|
|
|
|
ʒ pleasure, vision, beige[9] |
|
|
|
|
ɑː PALM, bra |
|
|
|
|
ɒ LOT, pod, John, blockade[13] |
|
|
|
|
æ TRAP, pad, tattoo[14] |
|
|
|
|
aɪ PRICE, ride, pie[16] |
|
|
|
|
aʊ MOUTH, loud, down, how[16] |
|
|
|
|
ɛ DRESS, bet, prestige[19] |
|
|
|
|
eɪ FACE, made, fail, vein, pay |
|
|
|
|
ɪ KIT, lid, historic |
|
|
|
|
iː FLEECE, seed, mean, pedigree |
|
|
|
|
oʊ GOAT, code, go, foal, follower[23][24] |
|
|
|
|
ɔː THOUGHT, Maud, dawn, fall, straw[25] |
|
|
|
|
ɔɪ CHOICE, void, boy |
|
|
|
|
ʊ FOOT, good, full, woman |
|
|
|
|
uː GOOSE, food, tissue |
|
|
|
|
ʌ STRUT, bud, untidy, justiciable[28][29] |
|
|
|
|
ʌr hurry, nourish[31] |
|
|
|
|
ə COMMA, ago, quiet, focus |
|
|
|
|
i HAPPY, mediocre (either [i] or [ɪ])[32] |
|
|
|
|
u fruition (either [u] or [ʊ])[24] |
|
|
|
|
x ugh, loch, Chanukah[10] |
|
|
|
|
ʔ uh-oh /ˈʔʌʔoʊ/ |
|
|
|
|
ɒ̃ bon vivant[11] |
|
|
|
|
æ̃ fin de siècle[11]' |
|
|
|
|
|
|
|
|
|
PHRASE="$1" |
|
|
|
|
echo "$PHRASE"; |
|
|
|
|
for (( i=0; i<${#PHRASE}; i++ )); do |
|
|
|
|
grep -E "^(${PHRASE:$i:2}|${PHRASE:$i:1}) " <(echo "$IPA") |
|
|
|
|
done |
|
|
|
|
|