Jump to content

Template:ja-pron/documentation

From Wiktionary, the free dictionary
Documentation for Template:ja-pron. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Japanese pronunciation template, relying on Module:ja-pron.

Parameters

[edit]

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

[edit]
{{ja-pron|PHONETIC|acc=}}

Examples

[edit]
{{ja-pron|せいしん ぶんれつ びょう|acc=h}}
  • (Tokyo) ーしんぶんれつびょー [sèéshíń búńrétsú byóó] (Heiban – [0])
  • IPA(key): [se̞ːɕim bɯ̟̃n̺ɾe̞t͡sɨ bʲo̞ː]
{{ja-pron|とうごう しっちょう しょう|acc=0}}
  • (Tokyo) ーごーしっちょーしょー [tòógóó shítchóó shóó] (Heiban – [0])
  • IPA(key): [to̞ːɡo̞ː ɕit̚t͡ɕo̞ː ɕo̞ː]
{{ja-pron|acc=h}}
  • (Tokyo) じょんがら [jòńgárá] (Heiban – [0])
  • IPA(key): [d͡ʑõ̞ŋɡa̠ɾa̠]
{{ja-pron|はねつき|acc=o|acc2=2}}
{{ja-pron|きんぎんか|acc=3}}
{{ja-pron|acc=4}}
  • (Tokyo) リフラワー [kàrífúráꜜwàà] (Nakadaka – [4])
  • IPA(key): [ka̠ɾʲiɸɯ̟ɾa̠β̞a̠ː]
{{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}}
  • (Tokyo) いこんやしゃ [dàíkóń yáꜜkùshà] (Nakadaka – [5])[3][1]
  • IPA(key): [da̠iko̞ɰ̃ ja̠kɯ̟̊ɕa̠]
{{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

[edit]
  1. 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. 2.0 2.1 Kindaichi, Kyōsuke et al., editors (1997), 新明解国語辞典 [Shin Meikai Kokugo Jiten] (in Japanese), Fifth edition, Tokyo: Sanseidō, →ISBN
  3. ^ Matsumura, Akira, editor (2006), 大辞林 [Daijirin] (in Japanese), Third edition, Tokyo: Sanseidō, →ISBN