跳去內容

:ja-pron

來自維基辭典

模:documentation subpage 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:
    1. if the parameter string contains any of '0', '1', 'a', 'o', 'h', then accent type is 'h', 'a', 'a', 'o', 'h', respectively.
    2. 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=
  • |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.
  • |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}}
  • 東京 ーしんぶんれつびょー [sèéshíń búńrétsú byóó] (平板型 – [0])
  • 國際音標 ()[se̞ːɕĩm bɯ̟̃ᵝnɾe̞t͡sɨᵝ bʲo̞ː]
{{ja-pron|とうごう しっちょう しょう|acc=0}}
  • 東京 ーごーしっちょーしょー [tòógóó shítchóó shóó] (平板型 – [0])
  • 國際音標 ()[to̞ːɡo̞ː ɕit̚t͡ɕo̞ː ɕo̞ː]
{{ja-pron|acc=h}}
{{ja-pron|はねつき|acc=o|acc2=2}}
{{ja-pron|きんぎんか|acc=3}}
{{ja-pron|acc=4}}
{{ja-pron|ひばくしゃ|acc=2|acc2=3|dev=3|acc_ref=NHK,SMK5|acc2_ref=NHK,SMK5}}
{{ja-pron|acc=a|acc_ref=NHK|acc2=h|acc2_ref=NHK|acc2_note=limited to the ''tape deck'' sense}}
{{ja-pron|こげつく|acc=h|acc2=3|dev=3|acc_ref=NHK|acc2_ref=NHK}}
{{ja-pron|つくよみ|つきよみ|acc=h|acc2=h|dev=1|acc2_ref=NHK}}
{{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}}
{{ja-pron|スペ.イン|acc=2|dev=1}}
{{ja-pron|ひとつき|acc=2|dev=1,3}}

References

[編輯]
  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1998, NHK日本語発音アクセント辞典 (NHK日本語發音重音辭典) (日文), 東京: NHK, →ISBN
  2. 2.0 2.1 1997, 新明解国語辞典 (新明解國語辭典), 第五版 (日文), 東京: 三省堂, →ISBN
  3. 2006, 大辞林 (大辭林), 第三版 (日文), 東京: 三省堂, →ISBN