Template:IPAc-ja/doc: Difference between revisions
m (→top: dab: IPA → International Phonetic Alphabet using AWB) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 04:32, 23 July 2019
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory
This template is used to produce a phonetic representation (using the IPA system) of Japanese words, using natural spelling to avoid the need to search for the correct phonetic symbols. The result is wikilinked to Help:IPA for Japanese. Optionally, an audio file can be specified.
Usage
The number of parameters is limited to 33. Usage is analogous to {{IPAc-pl}}, but pipes separate moras.
Examples:
- {{IPAc-ja|ku|ro|si|o}} → [[Help:IPA/Japanese|[[[:Template:C-ja]]Template:C-jaTemplate:C-jaTemplate:C-ja]]] (IPA and allophones)
- {{IPAc-ja|sa|i|goo|-|no|-|tu|bo|ne}} → [[Help:IPA/Japanese|[[[:Template:C-ja]]Template:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-ja]]] (spacing, long vowels, and diphthongs; oo and tu accepted for ō and tsu)
- {{IPAc-ja|ni|ho|'|n}} → [[Help:IPA/Japanese|[[[:Template:C-ja]]Template:C-jaTemplate:C-jaTemplate:C-ja]]] (accent/downstep)
- {{IPAc-ja|hu|n|ō}} → [[Help:IPA/Japanese|[[[:Template:C-ja]]Template:C-jaTemplate:C-ja]]] (nasal coda)
- {{IPAc-ja|ke|s|si|n|ba}} → [[Help:IPA/Japanese|[[[:Template:C-ja]]Template:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-ja]]] (geminate consonants need to be specified as 'k', 't', 'p', or 's', but coda nasal can just be 'n')
- {{IPAc-ja|su|*|ki|ya|ki|*}} → [[Help:IPA/Japanese|[[[:Template:C-ja]]Template:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-jaTemplate:C-ja]]] (voiceless vowels need to be added manually)
Various romanizations are accepted ('ti' or 'chi', 'ō' or 'oo', etc.), but kana is only partially supported. Long vowels are accepted with a consonant (gō or goo above), but diphthongs require a second cell. For geminate consonants, a value 'p', 't', 's', 'k' needs to be specified. Enter an apostrophe in its own cell for downstep (change in pitch) – do not use an apostrophe to separate a coda nasal, just use a pipe. Use a hyphen to separate words. Syllable breaks (".") are not supported.
The conversion system is coded in Template:c-ja.
See also