@chaffjs/lang-ja 0.23.0 → 0.24.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.
@@ -0,0 +1,19 @@
1
+ # 二段に重ねた並べ方で、外の段だけをつなぐ語と、内の段をつなぐ語。connective-hierarchy が読む。
2
+ # rewrite のある語が外の段の語で、rewrite は一段の並べ方で使う語。instead_of のある語は、その外の段の語の下に立つ内の段の語。
3
+ # 内の段の語は漢字と仮名の両方を入れる(「並びに」と「および」を組む文もある)。外の段の語は漢字だけ。
4
+ # 仮名の「ならびに」「もしくは」は、普通の文で一段の並べ方にも使われるので入れない。
5
+ id: connective-hierarchy
6
+ language: ja
7
+ entries:
8
+ - pattern: 並びに
9
+ rewrite: 及び
10
+ - pattern: 若しくは
11
+ rewrite: 又は
12
+ - pattern: 及び
13
+ instead_of: 並びに
14
+ - pattern: および
15
+ instead_of: 並びに
16
+ - pattern: 又は
17
+ instead_of: 若しくは
18
+ - pattern: または
19
+ instead_of: 若しくは
@@ -0,0 +1,9 @@
1
+ # 並べる語の字を含むが、並べる語ではない言い方。connective-hierarchy が読み、この中の「並びに」は見ない。
2
+ # 「〜並び」は並んだ形を言う名詞で、品詞を読む辞書が一語にしないもの(縦並び、一列並び)をここに置く。
3
+ id: connective-lookalike
4
+ language: ja
5
+ entries:
6
+ - pattern: 縦並びに
7
+ - pattern: 横並びに
8
+ - pattern: 列並びに
9
+ - pattern: 歯並びに
@@ -0,0 +1,29 @@
1
+ # 段落の終わりの印。missing-final-period が読む。
2
+ # group: end は句点。group: other-end は句点でなく文を閉じる印(?、!)で、その段落は数えない。group: note は注の行の頭の印で、注は「。」を付けずに書くことが多いので、その行は数えない。
3
+ id: final-period
4
+ language: ja
5
+ entries:
6
+ - pattern: 。
7
+ group: end
8
+ - pattern: .
9
+ group: end
10
+ - pattern: !
11
+ group: other-end
12
+ - pattern: ?
13
+ group: other-end
14
+ - pattern: "!"
15
+ group: other-end
16
+ - pattern: "?"
17
+ group: other-end
18
+ - pattern: ※
19
+ group: note
20
+ - pattern: *
21
+ group: note
22
+ - pattern: "*"
23
+ group: note
24
+ - pattern: 注)
25
+ group: note
26
+ - pattern: 注:
27
+ group: note
28
+ - pattern: "注:"
29
+ group: note
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaffjs/lang-ja",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Japanese language adapter for chaff",
5
5
  "license": "MIT",
6
6
  "author": "isamu",