Template:ja-pron
(Redirected from Template:ja-IPA)
- The following documentation is located at Template:ja-pron/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox (diff)
Uses Lua:
Japanese pronunciation template, relying on Module:ja-pron.
Parameters
No compulsory parameter for hiragana/katakana-titled entries. Kanji-containing titles will need a kana parameter 1, written with spaces as in the headword templates. Without any other parameters, this would give the IPA only.
Optional parameters:
|acc=
,|accent=
- Pitch accent pattern. This refers to the position of the accented mora (not syllable or kana, not counting spaces), and is consistent with the accent number in Japanese dictionaries. There are four types of pitch accent patterns, heiban (0 or h), atamadaka (1 or a), odaka (o) or nakadaka (specify number). The accent type is determined in two steps:
- if the parameter string contains any of '0', '1', 'a', 'o', 'h', then accent type is 'h', 'a', 'a', 'o', 'h', respectively.
- if not, remove all 'o', 'n' from the string. If the string, as a number, is equal to the number of morae in the text, then accent type is 'o', otherwise, it is 'n' with accented mora specified by the parameter value.
- Default is Tokyo pitch accent. To specify a different location or dialect, use
|acc_loc=
or|accent_loc=
. - There is an optional reference at the end. By default it is empty. You can specify the value using abbreviations of reference names, e.g.
|acc_ref=
or|accent_ref=
NHK,SMK5,DJR. You can also do it the conventional way,|acc_ref=
<ref name="NHK">{{R:NHK Hatsuon}}</ref>. - There is also an optional note section following the reference.
|acc_note=
, or|accent_note=
- Pitch accent pattern. This refers to the position of the accented mora (not syllable or kana, not counting spaces), and is consistent with the accent number in Japanese dictionaries. There are four types of pitch accent patterns, heiban (0 or h), atamadaka (1 or a), odaka (o) or nakadaka (specify number). The accent type is determined in two steps:
|acc2=
,|accent2=
- Second pitch accent pattern. Associated parameters:
|acc2_loc=
,|accent2_loc=
,|acc2_ref=
,|accent2_ref=
,|acc2_note=
,|accent2_note=
. If a second reading is present in parameter 2, then it uses that reading. Otherwise, it uses reading in parameter 1 or pagename if parameter 1 is empty.
- Second pitch accent pattern. Associated parameters:
|acc3=
,|accent3=
,|acc4=
,|accent4=
,|acc5=
,|accent5=
- As above, more patterns.
|dev=
- Position of mora with devoiced vowel in the input kana string (not counting spaces). Will be applied to IPA, and any accent lines using the reading. See below for examples.
|a=
,|audio=
- Audio filename with extension.
Empty template
{{ja-pron|PHONETIC|acc=}}
Examples
{{ja-pron|せいしん ぶんれつ びょう|acc=h}}
{{ja-pron|とうごう しっちょう しょう|acc=0}}
{{ja-pron|acc=h}}
{{ja-pron|はねつき|acc=o|acc2=2}}
- (Tokyo) はねつき [hànétsúkíꜜ] (Odaka – [4])
- (Tokyo) はねつき [hànéꜜtsùkì] (Nakadaka – [2])
- IPA(key): [ha̠ne̞t͡sɨkʲi]
{{ja-pron|きんぎんか|acc=3}}
{{ja-pron|acc=4}}
{{ja-pron|ひばくしゃ|acc=2|acc2=3|dev=3|acc_ref=NHK,SMK5|acc2_ref=NHK,SMK5}}
- (Tokyo) ひばくしゃ [hìbáꜜk
ùshà] (Nakadaka – [2])[1][2] - (Tokyo) ひばくしゃ [hìbák
úꜜshà] (Nakadaka – [3])[1][2] - IPA(key): [çiba̠kɯ̟̊ɕa̠]
{{ja-pron|acc=a|acc_ref=NHK|acc2=h|acc2_ref=NHK|acc2_note=limited to the ''tape deck'' sense}}
- (Tokyo) デッキ [déꜜkkì] (Atamadaka – [1])[1]
- (Tokyo) デッキ [dèkkí] (Heiban – [0])[1] limited to the tape deck sense
- IPA(key): [de̞k̚ʲkʲi]
{{ja-pron|こげつく|acc=h|acc2=3|dev=3|acc_ref=NHK|acc2_ref=NHK}}
- (Tokyo) こげつく [kògéts
úkú] (Heiban – [0])[1] - (Tokyo) こげつく [kògéts
úꜜkù] (Nakadaka – [3])[1] - IPA(key): [ko̞ɡe̞t͡sɨ̥kɯ̟]
{{ja-pron|つくよみ|つきよみ|acc=h|acc2=h|dev=1|acc2_ref=NHK}}
- (Tokyo) つくよみ [ts
ùkúyómí] (Heiban – [0]) - (Tokyo) つきよみ [ts
ùkíyómí] (Heiban – [0])[1] - IPA(key): [t͡sɨ̥kɯ̟jo̞mʲi]
- IPA(key): [t͡sɨ̥kʲijo̞mʲi]
{{ja-pron|ひゃくしょう|acc=3|acc_ref=NHK|dev=2}}
{{ja-pron|だいこん やくしゃ|acc=5|acc_ref=DJR,NHK|dev=6}}
{{ja-pron|ローマじ|acc=h|acc2=3|a=Romaji.ogg}}
- (Tokyo) ローマじ [ròómájí] (Heiban – [0])
- (Tokyo) ローマじ [ròómáꜜjì] (Nakadaka – [3])
- IPA(key): [ɾo̞ːma̠ʑi]
Audio: (file)
{{ja-pron|スペ.イン|acc=2|dev=1}}
{{ja-pron|ひとつき|acc=2|dev=1,3}}
References
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 NHK Broadcasting Culture Research Institute, editor (1998), NHK日本語発音アクセント辞典 [NHK Japanese Pronunciation Accent Dictionary] (in Japanese), Tokyo: NHK Publishing, Inc., →ISBN
- ↑ 2.0 2.1 Kindaichi, Kyōsuke et al., editors (1997), 新明解国語辞典 [Shin Meikai Kokugo Jiten] (in Japanese), Fifth edition, Tokyo: Sanseidō, →ISBN
- ^ Matsumura, Akira, editor (2006), 大辞林 [Daijirin] (in Japanese), Third edition, Tokyo: Sanseidō, →ISBN