Difference between revisions of "Template:IPAc-en/doc"

From LIMSWiki
Jump to navigationJump to search
m (1 revision)
 
(Updated.)
 
Line 3: Line 3:
|}
|}


This template is used to display [[IPA]] transcriptions.  If the phonemes are broken into individual variables it generates mouseover pronunciation guides. It is also capable of translating phonetic representations into IPA.
This template is used to display IPA transcriptions.  If the phonemes are broken into individual variables it generates mouseover pronunciation guides. It is also capable of translating phonetic representations into IPA.


There are a maximum of 50 variables, including the first three.  
There are a maximum of 50 variables, including the first three.  
Line 13: Line 13:
*<code><nowiki>{{IPAc-en|US|pron|en-us-Alabama.ogg|ˌæləˈbæmə}}</nowiki></code> → {{IPAc-en|US|pron|en-us-Alabama.ogg|ˌæləˈbæmə}}
*<code><nowiki>{{IPAc-en|US|pron|en-us-Alabama.ogg|ˌæləˈbæmə}}</nowiki></code> → {{IPAc-en|US|pron|en-us-Alabama.ogg|ˌæləˈbæmə}}


If broken into individual phonemes the IPA will have mouseovers to indicate pronunciation. All phonemes from [[Wikipedia:IPA_for_English#Key|IPA for English]] are available.
If broken into individual phonemes the IPA will have mouseovers to indicate pronunciation. All phonemes from [http://en.wikipedia.org/wiki/Wikipedia:IPA_for_English#Key IPA for English] are available.


*<code><nowiki>{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
*<code><nowiki>{{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}</nowiki></code> → {{IPAc-en|ˌ|æ|l|ə|ˈ|b|æ|m|ə}}
Line 24: Line 24:


==== Behaviour Changes from Current Templates ====
==== Behaviour Changes from Current Templates ====
{{tl|IPAc-en}} combines the features of {{tl|IPA-en}}, {{tl|pron-en}} and the original {{tl|IPAc-en}}.  It is also intended to replace incidents of {{tl|Audio-IPA}}, {{tl|IPA-audio}}, {{tl|pronEng}}, {{tl|pronounced}}.  To facilitate this a [[Greasemonkey]] [http://userscripts.org/scripts/show/62994 script is available] that will automatically convert any incidents of these templates to {{tl|IPAc-en}} with properly separated phonemes.  
{{tl|IPAc-en}} combines the features of {{tl|IPA-en}}, {{tl|pron-en}} and the original {{tl|IPAc-en}}.  It is also intended to replace incidents of {{tl|Audio-IPA}}, {{tl|IPA-audio}}, {{tl|pronEng}}, {{tl|pronounced}}.  To facilitate this a Greasemonkey [http://userscripts.org/scripts/show/62994 script is available] that will automatically convert any incidents of these templates to {{tl|IPAc-en}} with properly separated phonemes.  


Behavioural differences follow.
Behavioural differences follow.
Line 193: Line 193:
<includeonly>
<includeonly>
[[Category:IPA templates]]
[[Category:IPA templates]]
[[ko:틀:IPAc-en]]
</includeonly>
</includeonly>

Latest revision as of 03:18, 31 May 2013

This template is used to display IPA transcriptions. If the phonemes are broken into individual variables it generates mouseover pronunciation guides. It is also capable of translating phonetic representations into IPA.

There are a maximum of 50 variables, including the first three.

The first three variables can be used to indicate a prescript (eg, English pronunciation:) or link to an audio file.

If broken into individual phonemes the IPA will have mouseovers to indicate pronunciation. All phonemes from IPA for English are available.

Individual phonemes can be translated from SAMPA spelling.

Behaviour Changes from Current Templates

{{IPAc-en}} combines the features of {{IPA-en}}, {{pron-en}} and the original {{IPAc-en}}. It is also intended to replace incidents of {{Audio-IPA}}, {{IPA-audio}}, {{pronEng}}, {{pronounced}}. To facilitate this a Greasemonkey script is available that will automatically convert any incidents of these templates to {{IPAc-en}} with properly separated phonemes.

Behavioural differences follow.

{{IPA-en}}

The default behaviour has changed to no prescript.

It can be simulated using the flags lang & pron.

The audio tag has been simplified & moved.

{{pron-en}}

The default behaviour has changed to no prescript. Audio tag simplified & moved.

A similar effect is achieved using the flag pron.

{{IPAc-en}}

The original template had three flags ( /- , -- and -/ ) that allowed multiple templates to be strung together in case there wasn't enough characters. The maximum character count has increased from 33 to 50 and this feature has been dropped.

Details

Mouseovers

  • b → 'b' in 'buy'
  • d → 'd' in 'die'
  • dj → 'd' in 'dew'
  • ð → 'th' in 'thy'
  • dʒ → 'j' in 'jam'
  • f → 'f' in 'find'
  • ɡ → 'g' in 'guy'
  • h → 'h' in 'high'
  • j → 'y' in 'yes'
  • k → 'k' in 'kind'
  • l → 'l' in 'lie'
  • lj → 'l' in 'lute'
  • m → 'm' in 'my'
  • n → 'n' in 'nigh'
  • nj → 'n' in 'new'
  • ŋ → 'ng' in 'sing'
  • ŋg → 'ng' in 'finger'
  • θ → 'th' in 'thigh'
  • θj → 'th' in 'enthusiasm'
  • p → 'p' in 'pie'
  • r → 'r' in 'rye'
  • s → 's' in 'sigh'
  • sj → 's' in 'suit'
  • ʃ → 'sh' in 'shy'
  • t → 't' in 'tie'
  • tj → 't' in 'tune'
  • tʃ → 'ch' in 'china'
  • v → 'v' in 'vie'
  • w → 'w' in 'wind'
  • hw → 'wh' in 'why'
  • z → 'z' in 'Zion'
  • ʒ → 's' in 'pleasure'
  • x → 'ch' in 'loch'
  • ʔ → the catch in 'uh-oh'
  • ɑː → 'a' in 'father'
  • ɑr → 'ar' in 'bard'
  • ɒ → short 'o' in 'body'
  • ɒr → 'or' in 'moral'
  • æ → short 'a' in 'bad'
  • aɪ → long 'i' in 'bide'
  • aɪər → 'ire' in 'fire'
  • aʊ → 'ou' in 'pout'
  • aʊər → 'our' in 'hour'
  • ɛ → short 'e' in 'bed'
  • ɛr → 'err' in 'merry'
  • eɪ → long 'a' in 'base'
  • ær → 'arr' in 'marry'
  • ɛər → 'are' in 'bare'
  • ɪ → short 'i' in 'bid'
  • ɪr → 'irr' in 'mirror'
  • iː → long 'e' in 'bead'
  • ɪər → 'ear' in 'beard'
  • ɔː → 'au' in 'baud'
  • ɔr → 'or' in 'born'
  • ɔɪ → 'oy' in 'boy'
  • ɔɪər → 'oir' in 'loir' (rare)
  • oʊ → long 'o' in 'bode'
  • ɔər → 'ore' in 'bore'
  • ʊ → short 'oo' in 'foot'
  • ʊr → 'our' in 'courier'
  • uː → long 'oo' in 'food'
  • ʊər → 'oor' in 'moor'
  • juː → long 'u' in 'cute'
  • jʊər → 'ure' in 'cure'
  • ʌ → short 'u' in 'bud'
  • ʌr → 'urr' in 'hurry'
  • ɜr → 'ir' in 'bird'
  • ɝ → 'ir' in 'bird'
  • ə → schwa 'a' in 'about'
  • ər → 'er' in 'finger'
  • ɚ → 'er' in 'finger'
  • <s>ɪ</s> → schwa 'e' in 'roses'
  • ən → 'on' in 'button'
  • ɵ → schwa 'o' in 'omission'
  • əm → 'm' in 'rhythm'
  • <s>ʊ</s> → schwa 'u' in 'beautiful'
  • əl → 'le' in 'bottle'
  • i → 'y' in 'happy'
  • ˈ → primary stress
  • ˌ → secondary stress
  • . → syllable break

Translation table

  • ' → ˈ
  • , → ˌ
  • _ →  
  • D dh → ð
  • J dZ dzh ʤ → dʒ
  • N ng → ŋ
  • g → ɡ
  • T th → θ
  • S sh → ʃ
  • C ch tS → tʃ
  • Z zh → ʒ
  • ? - → ʔ
  • A: ah aa → ɑː
  • ar → ɑr
  • ae & { } → æ
  • aer &r → ær
  • E → ɛ
  • ei eI ay → eɪ
  • eir eIr e@r E@r air → ɛər
  • I → ɪ
  • i: ee → iː
  • ir i:r I@r i@r eer → ɪər
  • O O: aw → ɔː
  • or Or awr → ɔr
  • ou oU @u @U oh oe → oʊ
  • oUr ohr → ɔər
  • Q → ɒ
  • U oo → ʊ
  • u: '''oo''' → uː
  • ur u:r u@r U@r oor → ʊər
  • V → ʌ
  • 3 → ɜ
  • 3r 3:r @:r @: ur urr ir er → ɜr
  • ai aI ye eye → aɪ
  • oi OI oy → ɔɪ
  • au aU ow → aʊ
  • ɨ i- I- → <s>ɪ</s>
  • o- ou- → ɵ
  • u- U- → <s>ʊ</s>
  • @r → ər
  • @l → əl
  • @n → ən
  • @m → əm
  • schwa @ → ə

Prefix flags

  • pron, pronunciation → pronunciation:
  • lang, English → English
  • local → local
  • IPA → IPA
  • US → US
  • UK → UK
  • the icon and noicon parameters have been deprecated