@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,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
|