@chaffjs/lang-ja 0.20.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lexicons/amount-multiplier.yaml +10 -0
- package/lexicons/currency-notation.yaml +24 -0
- package/lexicons/heading-end-word.yaml +18 -0
- package/lexicons/nonstandard-word.yaml +16 -0
- package/lexicons/note-mark.yaml +7 -0
- package/lexicons/ordinal-suffix.yaml +13 -0
- package/lexicons/range-notation.yaml +12 -0
- package/lexicons/share-whole-link.yaml +8 -0
- package/lexicons/share-whole.yaml +20 -0
- package/lexicons/step-word.yaml +9 -0
- package/lexicons/toc-heading.yaml +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# 金額の通貨の書き方。group はどの通貨か、position は金額のどちら側に書くか(¥1,000 は前、1,000円 は後ろ)。
|
|
2
|
+
# 同じ通貨をいくつもの書き方で書けるので、一つの文書の中で混ざっていないかを currency-notation-consistency が見る。字面どおりに照らす。
|
|
3
|
+
id: currency-notation
|
|
4
|
+
language: ja
|
|
5
|
+
entries:
|
|
6
|
+
- { pattern: "¥", position: before, group: JPY }
|
|
7
|
+
- { pattern: "¥", position: before, group: JPY }
|
|
8
|
+
- { pattern: "円", position: after, group: JPY }
|
|
9
|
+
- { pattern: "JPY", position: before, group: JPY }
|
|
10
|
+
- { pattern: "JPY", position: after, group: JPY }
|
|
11
|
+
- { pattern: "$", position: before, group: USD }
|
|
12
|
+
- { pattern: "US$", position: before, group: USD }
|
|
13
|
+
- { pattern: "USD", position: before, group: USD }
|
|
14
|
+
- { pattern: "USD", position: after, group: USD }
|
|
15
|
+
- { pattern: "ドル", position: after, group: USD }
|
|
16
|
+
- { pattern: "米ドル", position: after, group: USD }
|
|
17
|
+
- { pattern: "€", position: before, group: EUR }
|
|
18
|
+
- { pattern: "EUR", position: before, group: EUR }
|
|
19
|
+
- { pattern: "EUR", position: after, group: EUR }
|
|
20
|
+
- { pattern: "ユーロ", position: after, group: EUR }
|
|
21
|
+
- { pattern: "£", position: before, group: GBP }
|
|
22
|
+
- { pattern: "GBP", position: before, group: GBP }
|
|
23
|
+
- { pattern: "GBP", position: after, group: GBP }
|
|
24
|
+
- { pattern: "ポンド", position: after, group: GBP }
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# 点で終わる略語。見出しがこれで終わるなら、その点は言葉のうちで、終わりの記号ではない。heading-end-punctuation-mix は
|
|
2
|
+
# その見出しを比べない。見出しの最後の語として、書いたとおりの大文字小文字で照らす。
|
|
3
|
+
id: heading-end-word
|
|
4
|
+
language: ja
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: etc.
|
|
7
|
+
- pattern: Inc.
|
|
8
|
+
- pattern: Ltd.
|
|
9
|
+
- pattern: Co.
|
|
10
|
+
- pattern: Corp.
|
|
11
|
+
- pattern: vs.
|
|
12
|
+
- pattern: e.g.
|
|
13
|
+
- pattern: i.e.
|
|
14
|
+
- pattern: No.
|
|
15
|
+
- pattern: U.S.
|
|
16
|
+
- pattern: U.K.
|
|
17
|
+
- pattern: a.m.
|
|
18
|
+
- pattern: p.m.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# 書き言葉では標準的でないとされる形と、標準の形(instead_of)。nonstandard-word が読む。
|
|
2
|
+
# 話し言葉では広く使われるが、文書では誤りと読まれる形だけを載せる。書き誤りは known-misspelling、ら抜きは ra-nuki が扱う。
|
|
3
|
+
# 自作。公開された一覧から写したものではない。
|
|
4
|
+
id: nonstandard-word
|
|
5
|
+
language: ja
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: 違かった
|
|
8
|
+
instead_of: 違った
|
|
9
|
+
- pattern: 違くて
|
|
10
|
+
instead_of: 違って
|
|
11
|
+
- pattern: 違くない
|
|
12
|
+
instead_of: 違わない
|
|
13
|
+
- pattern: なにげに
|
|
14
|
+
instead_of: なにげなく
|
|
15
|
+
- pattern: すいません
|
|
16
|
+
instead_of: すみません
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# 英語の序数の数の後ろに書く字(1st、22nd、113th)と、それが付く数の終わり(group)。日本語の文書も英語の序数を書く(3rd party)。
|
|
2
|
+
# 数の終わりのうち最も長く合うものが決める。11・12・13 は 1・2・3 で終わっても th、group が空のものはそれ以外の数。
|
|
3
|
+
# 法律の引用の「2d」「3d」は序数として読まない。
|
|
4
|
+
id: ordinal-suffix
|
|
5
|
+
language: ja
|
|
6
|
+
entries:
|
|
7
|
+
- { pattern: "st", group: "1" }
|
|
8
|
+
- { pattern: "nd", group: "2" }
|
|
9
|
+
- { pattern: "rd", group: "3" }
|
|
10
|
+
- { pattern: "th", group: "11" }
|
|
11
|
+
- { pattern: "th", group: "12" }
|
|
12
|
+
- { pattern: "th", group: "13" }
|
|
13
|
+
- { pattern: "th", group: "" }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# 二つの数のあいだに置いて範囲を言う記号(10〜20、10-20)。一つの文書でいくつもの記号が混ざっていないかを
|
|
2
|
+
# range-notation-consistency が見る。「から」は文の中の言い方で記号と使い分けるので入れない。ハイフン(group: ambiguous)は番号(2-3、NSF 13-542)にも使うので、
|
|
3
|
+
# すぐ後ろに単位や語(6-12 歳、10-20%)が続くときだけ範囲と読む。字面どおりに照らす。
|
|
4
|
+
id: range-notation
|
|
5
|
+
language: ja
|
|
6
|
+
entries:
|
|
7
|
+
- pattern: 〜
|
|
8
|
+
- pattern: ~
|
|
9
|
+
- pattern: "~"
|
|
10
|
+
- { pattern: "-", group: ambiguous }
|
|
11
|
+
- { pattern: "-", group: ambiguous }
|
|
12
|
+
- pattern: –
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 百分率がその一部の割合を言う、人や物の集まり(回答者の62%)。この集まりの一部の割合は 100% を超えない。
|
|
2
|
+
# 伸びや比べる元にもなる語(前年の、予算の)は入れない。
|
|
3
|
+
id: share-whole
|
|
4
|
+
language: ja
|
|
5
|
+
entries:
|
|
6
|
+
- pattern: 回答者
|
|
7
|
+
- pattern: 参加者
|
|
8
|
+
- pattern: 社員
|
|
9
|
+
- pattern: 従業員
|
|
10
|
+
- pattern: 職員
|
|
11
|
+
- pattern: 利用者
|
|
12
|
+
- pattern: 顧客
|
|
13
|
+
- pattern: 学生
|
|
14
|
+
- pattern: 生徒
|
|
15
|
+
- pattern: 世帯
|
|
16
|
+
- pattern: 有権者
|
|
17
|
+
- pattern: 会員
|
|
18
|
+
- pattern: 患者
|
|
19
|
+
- pattern: 応募者
|
|
20
|
+
- pattern: 全員
|