@doujinreviewers/textlint-rule-for-creation 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 レヴューちゃん
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,79 @@
1
+ # textlint-rule-for-creation
2
+ 日本語の明確な誤りのみを検出するtextlintルール
3
+
4
+ 創作での使用を想定し、クリエイターの邪魔をしないことを目指す
5
+
6
+ ## 誤りとするもの
7
+ - 誤字脱字
8
+ - 助詞の連続
9
+ - サ抜き言葉、サ入れ言葉、れ足す言葉
10
+
11
+ ## 表現の範疇として許容するもの
12
+ - 誤りとするもの以外の全て
13
+
14
+ 例えば、文章の形式、スタイル、文体、文の冗長さ、二重否定、二重助詞、表記ゆれ、送り仮名のゆれ、記号や三点リーダーの使い方など
15
+
16
+ - ら抜き言葉、い抜き言葉
17
+
18
+ これで喋るキャラがいるかもしれないし、作品の雰囲気に必要かもしれない
19
+
20
+ ## インストール
21
+
22
+ npm install @doujinreviewers/textlint-rule-for-creation
23
+
24
+ ## 使い方
25
+
26
+ `.textlintrc`に設定して使う
27
+
28
+ ```json
29
+ {
30
+ "rules": {
31
+ "@doujinreviewers/textlint-rule-for-creation": true
32
+ }
33
+ }
34
+ ```
35
+
36
+ コマンドラインで使う
37
+
38
+ ```
39
+ textlint --rule @doujinreviewers/textlint-rule-for-creation README.md
40
+ ```
41
+
42
+ ### Build
43
+
44
+ `src/` 以下がソースコード
45
+
46
+ ビルド後のコードは `lib` フォルダーに入る
47
+
48
+ npm run build
49
+
50
+ ### Test
51
+
52
+ [textlint-tester](https://github.com/textlint/textlint-tester)で `test` フォルダのコードを実行
53
+
54
+ npm test
55
+
56
+ ## License
57
+
58
+ MIT
59
+
60
+ ## 特記
61
+ [script-compiler](https://github.com/textlint/editor/tree/master/packages/%40textlint/script-compiler)でworkerにコンパイルして使いたいが、
62
+
63
+ 2022年1月の時点では外部ファイルのロードに問題がある(nodeのfsモジュールがブラウザで動作しないため)
64
+
65
+ そのため、本ルールではfsモジュールを使用しなくても良いようにしている
66
+
67
+ 問題が修正されるまではこの設計を維持する
68
+
69
+ ## 参考
70
+ ### worker
71
+
72
+ [textlint 12リリース、ブラウザで動くtextlint editorをベータリリース](https://efcl.info/2021/05/27/textlint-12-editor/)
73
+
74
+ ### ルール
75
+ [textlint-rule-ja-no-abusage](https://github.com/textlint-ja/textlint-rule-ja-no-abusage)
76
+
77
+ [textlint-rule-no-insert-re](https://github.com/textlint-ja/textlint-rule-no-insert-re)
78
+
79
+ [textlint-rule-no-insert-dropping-sa](https://github.com/textlint-ja/textlint-rule-no-insert-dropping-sa)
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ "jidousi_tadousi": ["開け", "あけ"],
5
+ // 整理する気はない
6
+ "zyosi": ["こそは", "こそを", "からが", "からは", "をこそ", "とやら", "やらが", "までも", "までに", "までは", "までだって", "までもが", "もが", "ばかりか", "ばかりが", "ばかりは", "ばかりを", "ばっかりか", "ばっかりが", "ばっかりは", "ばっかりを", "などばかり", "などばっかり", "などが", "なども", "などは", "などを", "などに", "とかが", "とかも", "とかは", "とかを", "とかばかり", "とかばっかり", "には", "にも", "にしか", "ばかりに", "にだって", "とかだって", "などだって", "などなど", "のかも", "にかも", "とが", "とも", "とは", "さえも", "にさえ", "とさえ", "すらも", "にすら", "とすら", "だけが", "だけを", "ほども", "ほどを", "でも", "てでも", "たりも", "たりが", "たりは", "たりさえ", "たりすら", "たりなど", "ながらも", "つつも", "なりが", "なりを", "てなんて", "になんて", "もなんて", "ばかりなんて", "ばっかりなんて", "だけを", "だけが", "だけは", "だけに", "だけかも", "だけかも", "なと", "てから", "では", "なんかに"]
7
+ };
8
+ //# sourceMappingURL=arrow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/arrow.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB;AACf,qBAAmB,CACjB,IADiB,EAEjB,IAFiB,CADJ;AAKf;AACA,WAAS,CACP,KADO,EAEP,KAFO,EAGP,KAHO,EAIP,KAJO,EAKP,KALO,EAMP,KANO,EAOP,KAPO,EAQP,KARO,EASP,KATO,EAUP,KAVO,EAWP,OAXO,EAYP,MAZO,EAaP,IAbO,EAcP,MAdO,EAeP,MAfO,EAgBP,MAhBO,EAiBP,MAjBO,EAkBP,OAlBO,EAmBP,OAnBO,EAoBP,OApBO,EAqBP,OArBO,EAsBP,OAtBO,EAuBP,QAvBO,EAwBP,KAxBO,EAyBP,KAzBO,EA0BP,KA1BO,EA2BP,KA3BO,EA4BP,KA5BO,EA6BP,KA7BO,EA8BP,KA9BO,EA+BP,KA/BO,EAgCP,KAhCO,EAiCP,OAjCO,EAkCP,QAlCO,EAmCP,IAnCO,EAoCP,IApCO,EAqCP,KArCO,EAsCP,MAtCO,EAuCP,MAvCO,EAwCP,OAxCO,EAyCP,OAzCO,EA0CP,MA1CO,EA2CP,KA3CO,EA4CP,KA5CO,EA6CP,IA7CO,EA8CP,IA9CO,EA+CP,IA/CO,EAgDP,KAhDO,EAiDP,KAjDO,EAkDP,KAlDO,EAmDP,KAnDO,EAoDP,KApDO,EAqDP,KArDO,EAsDP,KAtDO,EAuDP,KAvDO,EAwDP,KAxDO,EAyDP,KAzDO,EA0DP,IA1DO,EA2DP,KA3DO,EA4DP,KA5DO,EA6DP,KA7DO,EA8DP,KA9DO,EA+DP,MA/DO,EAgEP,MAhEO,EAiEP,MAjEO,EAkEP,MAlEO,EAmEP,KAnEO,EAoEP,KApEO,EAqEP,KArEO,EAsEP,MAtEO,EAuEP,MAvEO,EAwEP,MAxEO,EAyEP,QAzEO,EA0EP,SA1EO,EA2EP,KA3EO,EA4EP,KA5EO,EA6EP,KA7EO,EA8EP,KA9EO,EA+EP,MA/EO,EAgFP,MAhFO,EAiFP,IAjFO,EAkFP,KAlFO,EAmFP,IAnFO,EAoFP,MApFO;AANM,CAAjB","sourcesContent":["module.exports = {\n \"jidousi_tadousi\": [\n \"開け\",\n \"あけ\",\n ],\n // 整理する気はない\n \"zyosi\": [\n \"こそは\",\n \"こそを\",\n \"からが\",\n \"からは\",\n \"をこそ\",\n \"とやら\",\n \"やらが\",\n \"までも\",\n \"までに\",\n \"までは\",\n \"までだって\",\n \"までもが\",\n \"もが\",\n \"ばかりか\",\n \"ばかりが\",\n \"ばかりは\",\n \"ばかりを\",\n \"ばっかりか\",\n \"ばっかりが\",\n \"ばっかりは\",\n \"ばっかりを\",\n \"などばかり\",\n \"などばっかり\",\n \"などが\",\n \"なども\",\n \"などは\",\n \"などを\",\n \"などに\",\n \"とかが\",\n \"とかも\",\n \"とかは\",\n \"とかを\",\n \"とかばかり\",\n \"とかばっかり\",\n \"には\",\n \"にも\",\n \"にしか\",\n \"ばかりに\",\n \"にだって\",\n \"とかだって\",\n \"などだって\",\n \"などなど\",\n \"のかも\",\n \"にかも\",\n \"とが\",\n \"とも\",\n \"とは\",\n \"さえも\",\n \"にさえ\",\n \"とさえ\",\n \"すらも\",\n \"にすら\",\n \"とすら\",\n \"だけが\",\n \"だけを\",\n \"ほども\",\n \"ほどを\",\n \"でも\",\n \"てでも\",\n \"たりも\",\n \"たりが\",\n \"たりは\",\n \"たりさえ\",\n \"たりすら\",\n \"たりなど\",\n \"ながらも\",\n \"つつも\",\n \"なりが\",\n \"なりを\",\n \"てなんて\",\n \"になんて\",\n \"もなんて\",\n \"ばかりなんて\",\n \"ばっかりなんて\",\n \"だけを\",\n \"だけが\",\n \"だけは\",\n \"だけに\",\n \"だけかも\",\n \"だけかも\",\n \"なと\",\n \"てから\",\n \"では\",\n \"なんかに\",\n ]\n};"],"file":"arrow.js"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ message: "\"\u3059\u308B\u3053\u3068\u304C\u53EF\u80FD$1\"\u306F\u5197\u9577\u306A\u8868\u73FE\u3067\u3059\u3002\"\u3059\u308B\u3053\u3068\u304C\u53EF\u80FD\"\u3092\u7701\u304D\u7C21\u6F54\u306A\u8868\u73FE\u306B\u3059\u308B\u3068\u6587\u7AE0\u304C\u660E\u77AD\u306B\u306A\u308A\u307E\u3059\u3002",
5
+ tokens: [{
6
+ "surface_form": "する",
7
+ "pos": "動詞",
8
+ "pos_detail_1": "自立",
9
+ "pos_detail_2": "*",
10
+ "pos_detail_3": "*",
11
+ "conjugated_type": "サ変・スル",
12
+ "conjugated_form": "基本形",
13
+ "basic_form": "する",
14
+ "reading": "スル",
15
+ "pronunciation": "スル"
16
+ }, {
17
+ "surface_form": "こと",
18
+ "pos": "名詞",
19
+ "pos_detail_1": "非自立",
20
+ "pos_detail_2": "一般",
21
+ "pos_detail_3": "*",
22
+ "conjugated_type": "*",
23
+ "conjugated_form": "*",
24
+ "basic_form": "こと",
25
+ "reading": "コト",
26
+ "pronunciation": "コト"
27
+ }, {
28
+ "surface_form": "が",
29
+ "pos": "助詞",
30
+ "pos_detail_1": "格助詞",
31
+ "pos_detail_2": "一般",
32
+ "pos_detail_3": "*",
33
+ "conjugated_type": "*",
34
+ "conjugated_form": "*",
35
+ "basic_form": "が",
36
+ "reading": "ガ",
37
+ "pronunciation": "ガ"
38
+ }, {
39
+ "surface_form": "可能",
40
+ "pos": "名詞",
41
+ "pos_detail_1": "形容動詞語幹",
42
+ "pos_detail_2": "*",
43
+ "pos_detail_3": "*",
44
+ "conjugated_type": "*",
45
+ "conjugated_form": "*",
46
+ "basic_form": "可能",
47
+ "reading": "カノウ",
48
+ "pronunciation": "カノー"
49
+ }, {
50
+ "pos": "助動詞",
51
+ "_capture": "$1"
52
+ }]
53
+ }];
54
+ //# sourceMappingURL=dict.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/dict.js"],"names":["module","exports","message","tokens"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACIC,EAAAA,OAAO,kSADX;AAEIC,EAAAA,MAAM,EAAE,CACJ;AACI,oBAAgB,IADpB;AAEI,WAAO,IAFX;AAGI,oBAAgB,IAHpB;AAII,oBAAgB,GAJpB;AAKI,oBAAgB,GALpB;AAMI,uBAAmB,OANvB;AAOI,uBAAmB,KAPvB;AAQI,kBAAc,IARlB;AASI,eAAW,IATf;AAUI,qBAAiB;AAVrB,GADI,EAYD;AACC,oBAAgB,IADjB;AAEC,WAAO,IAFR;AAGC,oBAAgB,KAHjB;AAIC,oBAAgB,IAJjB;AAKC,oBAAgB,GALjB;AAMC,uBAAmB,GANpB;AAOC,uBAAmB,GAPpB;AAQC,kBAAc,IARf;AASC,eAAW,IATZ;AAUC,qBAAiB;AAVlB,GAZC,EAuBD;AACC,oBAAgB,GADjB;AAEC,WAAO,IAFR;AAGC,oBAAgB,KAHjB;AAIC,oBAAgB,IAJjB;AAKC,oBAAgB,GALjB;AAMC,uBAAmB,GANpB;AAOC,uBAAmB,GAPpB;AAQC,kBAAc,GARf;AASC,eAAW,GATZ;AAUC,qBAAiB;AAVlB,GAvBC,EAkCD;AACC,oBAAgB,IADjB;AAEC,WAAO,IAFR;AAGC,oBAAgB,QAHjB;AAIC,oBAAgB,GAJjB;AAKC,oBAAgB,GALjB;AAMC,uBAAmB,GANpB;AAOC,uBAAmB,GAPpB;AAQC,kBAAc,IARf;AASC,eAAW,KATZ;AAUC,qBAAiB;AAVlB,GAlCC,EA6CD;AACC,WAAO,KADR;AAEC,gBAAY;AAFb,GA7CC;AAFZ,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n message: `\"することが可能$1\"は冗長な表現です。\"することが可能\"を省き簡潔な表現にすると文章が明瞭になります。`,\n tokens: [\n {\n \"surface_form\": \"する\",\n \"pos\": \"動詞\",\n \"pos_detail_1\": \"自立\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"サ変・スル\",\n \"conjugated_form\": \"基本形\",\n \"basic_form\": \"する\",\n \"reading\": \"スル\",\n \"pronunciation\": \"スル\"\n }, {\n \"surface_form\": \"こと\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"非自立\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"こと\",\n \"reading\": \"コト\",\n \"pronunciation\": \"コト\"\n }, {\n \"surface_form\": \"が\",\n \"pos\": \"助詞\",\n \"pos_detail_1\": \"格助詞\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"が\",\n \"reading\": \"ガ\",\n \"pronunciation\": \"ガ\"\n }, {\n \"surface_form\": \"可能\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"形容動詞語幹\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"可能\",\n \"reading\": \"カノウ\",\n \"pronunciation\": \"カノー\"\n }, {\n \"pos\": \"助動詞\",\n \"_capture\": \"$1\"\n }\n ]\n },\n];"],"file":"dict.js"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "\"適用\"の誤用である可能性があります。適応 => 適用",
5
+ "expected": "を適用",
6
+ "tokens": [{
7
+ "surface_form": "を",
8
+ "pos": "助詞",
9
+ "pos_detail_1": "格助詞",
10
+ "pos_detail_2": "一般",
11
+ "pos_detail_3": "*",
12
+ "conjugated_type": "*",
13
+ "conjugated_form": "*",
14
+ "basic_form": "を",
15
+ "reading": "ヲ",
16
+ "pronunciation": "ヲ"
17
+ }, {
18
+ "surface_form": "適応",
19
+ "pos": "名詞",
20
+ "pos_detail_1": "サ変接続",
21
+ "pos_detail_2": "*",
22
+ "pos_detail_3": "*",
23
+ "conjugated_type": "*",
24
+ "conjugated_form": "*",
25
+ "basic_form": "適応",
26
+ "reading": "テキオウ",
27
+ "pronunciation": "テキオー"
28
+ }]
29
+ }];
30
+ //# sourceMappingURL=dict2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/dict2.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACI,aAAW,+BADf;AAEI,cAAY,KAFhB;AAGI,YAAU,CACR;AACE,oBAAgB,GADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,KAHlB;AAIE,oBAAgB,IAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,GARhB;AASE,eAAW,GATb;AAUE,qBAAiB;AAVnB,GADQ,EAaR;AACE,oBAAgB,IADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,MAHlB;AAIE,oBAAgB,GAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,IARhB;AASE,eAAW,MATb;AAUE,qBAAiB;AAVnB,GAbQ;AAHd,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"\\\"適用\\\"の誤用である可能性があります。適応 => 適用\",\n \"expected\": \"を適用\",\n \"tokens\": [\n {\n \"surface_form\": \"を\",\n \"pos\": \"助詞\",\n \"pos_detail_1\": \"格助詞\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"を\",\n \"reading\": \"ヲ\",\n \"pronunciation\": \"ヲ\"\n },\n {\n \"surface_form\": \"適応\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"サ変接続\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"適応\",\n \"reading\": \"テキオウ\",\n \"pronunciation\": \"テキオー\"\n }\n ]\n },\n];"],"file":"dict2.js"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "\"適用\"の誤用である可能性があります。適応 => 適用",
5
+ "expected": "を適用",
6
+ "tokens": [{
7
+ "surface_form": "を",
8
+ "pos": "助詞",
9
+ "pos_detail_1": "格助詞",
10
+ "pos_detail_2": "一般",
11
+ "pos_detail_3": "*",
12
+ "conjugated_type": "*",
13
+ "conjugated_form": "*",
14
+ "basic_form": "を",
15
+ "reading": "ヲ",
16
+ "pronunciation": "ヲ"
17
+ }, {
18
+ "surface_form": "適応",
19
+ "pos": "名詞",
20
+ "pos_detail_1": "サ変接続",
21
+ "pos_detail_2": "*",
22
+ "pos_detail_3": "*",
23
+ "conjugated_type": "*",
24
+ "conjugated_form": "*",
25
+ "basic_form": "適応",
26
+ "reading": "テキオウ",
27
+ "pronunciation": "テキオー"
28
+ }]
29
+ }];
30
+ //# sourceMappingURL=dictAA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/dictAA.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACI,aAAW,+BADf;AAEI,cAAY,KAFhB;AAGI,YAAU,CACR;AACE,oBAAgB,GADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,KAHlB;AAIE,oBAAgB,IAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,GARhB;AASE,eAAW,GATb;AAUE,qBAAiB;AAVnB,GADQ,EAaR;AACE,oBAAgB,IADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,MAHlB;AAIE,oBAAgB,GAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,IARhB;AASE,eAAW,MATb;AAUE,qBAAiB;AAVnB,GAbQ;AAHd,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"\\\"適用\\\"の誤用である可能性があります。適応 => 適用\",\n \"expected\": \"を適用\",\n \"tokens\": [\n {\n \"surface_form\": \"を\",\n \"pos\": \"助詞\",\n \"pos_detail_1\": \"格助詞\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"を\",\n \"reading\": \"ヲ\",\n \"pronunciation\": \"ヲ\"\n },\n {\n \"surface_form\": \"適応\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"サ変接続\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"適応\",\n \"reading\": \"テキオウ\",\n \"pronunciation\": \"テキオー\"\n }\n ]\n },\n];"],"file":"dictAA.js"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "\"適用\"の誤用である可能性があります。適応 => 適用",
5
+ "expected": "を適用",
6
+ "tokens": [{
7
+ "surface_form": "を",
8
+ "pos": "助詞",
9
+ "pos_detail_1": "格助詞",
10
+ "pos_detail_2": "一般",
11
+ "pos_detail_3": "*",
12
+ "conjugated_type": "*",
13
+ "conjugated_form": "*",
14
+ "basic_form": "を",
15
+ "reading": "ヲ",
16
+ "pronunciation": "ヲ"
17
+ }, {
18
+ "surface_form": "適応",
19
+ "pos": "名詞",
20
+ "pos_detail_1": "サ変接続",
21
+ "pos_detail_2": "*",
22
+ "pos_detail_3": "*",
23
+ "conjugated_type": "*",
24
+ "conjugated_form": "*",
25
+ "basic_form": "適応",
26
+ "reading": "テキオウ",
27
+ "pronunciation": "テキオー"
28
+ }]
29
+ }];
30
+ //# sourceMappingURL=dict_miss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/dict_miss.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACE,aAAW,+BADb;AAEE,cAAY,KAFd;AAGE,YAAU,CACR;AACE,oBAAgB,GADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,KAHlB;AAIE,oBAAgB,IAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,GARhB;AASE,eAAW,GATb;AAUE,qBAAiB;AAVnB,GADQ,EAaR;AACE,oBAAgB,IADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,MAHlB;AAIE,oBAAgB,GAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,IARhB;AASE,eAAW,MATb;AAUE,qBAAiB;AAVnB,GAbQ;AAHZ,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"\\\"適用\\\"の誤用である可能性があります。適応 => 適用\",\n \"expected\": \"を適用\",\n \"tokens\": [\n {\n \"surface_form\": \"を\",\n \"pos\": \"助詞\",\n \"pos_detail_1\": \"格助詞\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"を\",\n \"reading\": \"ヲ\",\n \"pronunciation\": \"ヲ\"\n },\n {\n \"surface_form\": \"適応\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"サ変接続\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"適応\",\n \"reading\": \"テキオウ\",\n \"pronunciation\": \"テキオー\"\n }\n ]\n },\n];"],"file":"dict_miss.js"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "\"適用\"の誤用である可能性があります。適応 => 適用",
5
+ "expected": "を適用",
6
+ "tokens": [{
7
+ "surface_form": "を",
8
+ "pos": "助詞",
9
+ "pos_detail_1": "格助詞",
10
+ "pos_detail_2": "一般",
11
+ "pos_detail_3": "*",
12
+ "conjugated_type": "*",
13
+ "conjugated_form": "*",
14
+ "basic_form": "を",
15
+ "reading": "ヲ",
16
+ "pronunciation": "ヲ"
17
+ }, {
18
+ "surface_form": "適応",
19
+ "pos": "名詞",
20
+ "pos_detail_1": "サ変接続",
21
+ "pos_detail_2": "*",
22
+ "pos_detail_3": "*",
23
+ "conjugated_type": "*",
24
+ "conjugated_form": "*",
25
+ "basic_form": "適応",
26
+ "reading": "テキオウ",
27
+ "pronunciation": "テキオー"
28
+ }]
29
+ }, {
30
+ "message": "動詞の連用形+辛い(つらい)の場合は、「ずらい」ではなく「づらい」が適切です。",
31
+ "expected": "$1づらい",
32
+ "tokens": [{
33
+ "pos": "動詞",
34
+ "pos_detail_1": "自立",
35
+ "conjugated_form": "連用形",
36
+ "_capture": "$1"
37
+ }, {
38
+ "surface_form": "ず"
39
+ }, {
40
+ "surface_form": "らい"
41
+ }]
42
+ }, {
43
+ "message": "動詞の連用形+辛い(つらい)の場合は、「ずらい」ではなく「づらい」が適切です。",
44
+ "expected": "$1づらい",
45
+ "tokens": [{
46
+ "pos": "動詞",
47
+ "pos_detail_1": "自立",
48
+ "conjugated_form": "連用形",
49
+ "_capture": "$1"
50
+ }, {
51
+ "surface_form": "ずら"
52
+ }, {
53
+ "surface_form": "い"
54
+ }]
55
+ }];
56
+ //# sourceMappingURL=gozidatuzi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/gozidatuzi.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACE,aAAW,+BADb;AAEE,cAAY,KAFd;AAGE,YAAU,CACR;AACE,oBAAgB,GADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,KAHlB;AAIE,oBAAgB,IAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,GARhB;AASE,eAAW,GATb;AAUE,qBAAiB;AAVnB,GADQ,EAaR;AACE,oBAAgB,IADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,MAHlB;AAIE,oBAAgB,GAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,IARhB;AASE,eAAW,MATb;AAUE,qBAAiB;AAVnB,GAbQ;AAHZ,CADe,EA+Bf;AACE,aAAW,yCADb;AAEE,cAAY,OAFd;AAGE,YAAU,CACR;AACE,WAAO,IADT;AAEE,oBAAgB,IAFlB;AAGE,uBAAmB,KAHrB;AAIE,gBAAY;AAJd,GADQ,EAOR;AACE,oBAAgB;AADlB,GAPQ,EAUR;AACE,oBAAgB;AADlB,GAVQ;AAHZ,CA/Be,EAiDf;AACE,aAAW,yCADb;AAEE,cAAY,OAFd;AAGE,YAAU,CACR;AACE,WAAO,IADT;AAEE,oBAAgB,IAFlB;AAGE,uBAAmB,KAHrB;AAIE,gBAAY;AAJd,GADQ,EAOR;AACE,oBAAgB;AADlB,GAPQ,EAUR;AACE,oBAAgB;AADlB,GAVQ;AAHZ,CAjDe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"\\\"適用\\\"の誤用である可能性があります。適応 => 適用\",\n \"expected\": \"を適用\",\n \"tokens\": [\n {\n \"surface_form\": \"を\",\n \"pos\": \"助詞\",\n \"pos_detail_1\": \"格助詞\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"を\",\n \"reading\": \"ヲ\",\n \"pronunciation\": \"ヲ\"\n },\n {\n \"surface_form\": \"適応\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"サ変接続\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"適応\",\n \"reading\": \"テキオウ\",\n \"pronunciation\": \"テキオー\"\n }\n ]\n },\n {\n \"message\": \"動詞の連用形+辛い(つらい)の場合は、「ずらい」ではなく「づらい」が適切です。\",\n \"expected\": \"$1づらい\",\n \"tokens\": [\n {\n \"pos\": \"動詞\",\n \"pos_detail_1\": \"自立\",\n \"conjugated_form\": \"連用形\",\n \"_capture\": \"$1\"\n },\n {\n \"surface_form\": \"ず\",\n },\n {\n \"surface_form\": \"らい\",\n }\n ]\n },\n {\n \"message\": \"動詞の連用形+辛い(つらい)の場合は、「ずらい」ではなく「づらい」が適切です。\",\n \"expected\": \"$1づらい\",\n \"tokens\": [\n {\n \"pos\": \"動詞\",\n \"pos_detail_1\": \"自立\",\n \"conjugated_form\": \"連用形\",\n \"_capture\": \"$1\"\n },\n {\n \"surface_form\": \"ずら\",\n },\n {\n \"surface_form\": \"い\",\n }\n ]\n }\n];"],"file":"gozidatuzi.js"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "\"適用\"の誤用である可能性があります。適応 => 適用",
5
+ "expected": "を適用",
6
+ "tokens": [{
7
+ "surface_form": "を",
8
+ "pos": "助詞",
9
+ "pos_detail_1": "格助詞",
10
+ "pos_detail_2": "一般",
11
+ "pos_detail_3": "*",
12
+ "conjugated_type": "*",
13
+ "conjugated_form": "*",
14
+ "basic_form": "を",
15
+ "reading": "ヲ",
16
+ "pronunciation": "ヲ"
17
+ }, {
18
+ "surface_form": "適応",
19
+ "pos": "名詞",
20
+ "pos_detail_1": "サ変接続",
21
+ "pos_detail_2": "*",
22
+ "pos_detail_3": "*",
23
+ "conjugated_type": "*",
24
+ "conjugated_form": "*",
25
+ "basic_form": "適応",
26
+ "reading": "テキオウ",
27
+ "pronunciation": "テキオー"
28
+ }]
29
+ }];
30
+ //# sourceMappingURL=miss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/miss.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACE,aAAW,+BADb;AAEE,cAAY,KAFd;AAGE,YAAU,CACR;AACE,oBAAgB,GADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,KAHlB;AAIE,oBAAgB,IAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,GARhB;AASE,eAAW,GATb;AAUE,qBAAiB;AAVnB,GADQ,EAaR;AACE,oBAAgB,IADlB;AAEE,WAAO,IAFT;AAGE,oBAAgB,MAHlB;AAIE,oBAAgB,GAJlB;AAKE,oBAAgB,GALlB;AAME,uBAAmB,GANrB;AAOE,uBAAmB,GAPrB;AAQE,kBAAc,IARhB;AASE,eAAW,MATb;AAUE,qBAAiB;AAVnB,GAbQ;AAHZ,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"\\\"適用\\\"の誤用である可能性があります。適応 => 適用\",\n \"expected\": \"を適用\",\n \"tokens\": [\n {\n \"surface_form\": \"を\",\n \"pos\": \"助詞\",\n \"pos_detail_1\": \"格助詞\",\n \"pos_detail_2\": \"一般\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"を\",\n \"reading\": \"ヲ\",\n \"pronunciation\": \"ヲ\"\n },\n {\n \"surface_form\": \"適応\",\n \"pos\": \"名詞\",\n \"pos_detail_1\": \"サ変接続\",\n \"pos_detail_2\": \"*\",\n \"pos_detail_3\": \"*\",\n \"conjugated_type\": \"*\",\n \"conjugated_form\": \"*\",\n \"basic_form\": \"適応\",\n \"reading\": \"テキオウ\",\n \"pronunciation\": \"テキオー\"\n }\n ]\n },\n];"],"file":"miss.js"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "れ足す言葉の可能性があります",
5
+ "tokens": [{
6
+ "pos": "動詞",
7
+ "conjugated_type": "一段"
8
+ }, {
9
+ "pos": "動詞",
10
+ "pos_detail_1": "接尾",
11
+ "basic_form": "れる"
12
+ }]
13
+ }];
14
+ //# sourceMappingURL=retasu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/retasu.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACE,aAAW,gBADb;AAEE,YAAU,CACR;AACE,WAAO,IADT;AAEE,uBAAmB;AAFrB,GADQ,EAKR;AACE,WAAO,IADT;AAEE,oBAAgB,IAFlB;AAGE,kBAAc;AAHhB,GALQ;AAFZ,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"れ足す言葉の可能性があります\",\n \"tokens\": [\n {\n \"pos\": \"動詞\",\n \"conjugated_type\": \"一段\",\n },\n {\n \"pos\": \"動詞\",\n \"pos_detail_1\": \"接尾\",\n \"basic_form\": \"れる\",\n }\n ]\n },\n];"],"file":"retasu.js"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "不要な「さ」が挿入されています。",
5
+ "expected": "$2$3",
6
+ "tokens": [{
7
+ "conjugated_form": "ガル接続",
8
+ "basic_form": ["辛い", "美味しい", "寒い"],
9
+ "_capture": "$2"
10
+ }, {
11
+ "surface_form": "さ",
12
+ "_index": true
13
+ }, {
14
+ "basic_form": "そう",
15
+ "pos_detail_1": ["接尾", "助詞類接続"],
16
+ "_capture": "$3"
17
+ }]
18
+ }, {
19
+ "message": "不要な「さ」が挿入されています。",
20
+ "expected": "$1$2$3",
21
+ "tokens": [{
22
+ "pos": "動詞",
23
+ "_capture": "$1"
24
+ }, {
25
+ "surface_form": "た",
26
+ "pos": "助動詞",
27
+ "_capture": "$2"
28
+ }, {
29
+ "surface_form": "さ",
30
+ "_index": true
31
+ }, {
32
+ "basic_form": "そう",
33
+ "pos_detail_1": ["接尾", "助詞類接続"],
34
+ "_capture": "$3"
35
+ }]
36
+ }];
37
+ //# sourceMappingURL=saire.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/saire.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACE,aAAW,kBADb;AAEE,cAAY,MAFd;AAGE,YAAU,CACR;AACE,uBAAmB,MADrB;AAEE,kBAAc,CAAC,IAAD,EAAO,MAAP,EAAe,IAAf,CAFhB;AAGE,gBAAY;AAHd,GADQ,EAMR;AACE,oBAAgB,GADlB;AAEE,cAAU;AAFZ,GANQ,EAUR;AACE,kBAAc,IADhB;AAEE,oBAAgB,CAAC,IAAD,EAAO,OAAP,CAFlB;AAGE,gBAAY;AAHd,GAVQ;AAHZ,CADe,EAqBf;AACE,aAAW,kBADb;AAEE,cAAY,QAFd;AAGE,YAAU,CACR;AACE,WAAO,IADT;AAEE,gBAAY;AAFd,GADQ,EAKR;AACE,oBAAgB,GADlB;AAEE,WAAO,KAFT;AAGE,gBAAY;AAHd,GALQ,EAUR;AACE,oBAAgB,GADlB;AAEE,cAAU;AAFZ,GAVQ,EAcR;AACE,kBAAc,IADhB;AAEE,oBAAgB,CAAC,IAAD,EAAO,OAAP,CAFlB;AAGE,gBAAY;AAHd,GAdQ;AAHZ,CArBe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"不要な「さ」が挿入されています。\",\n \"expected\": \"$2$3\",\n \"tokens\": [\n {\n \"conjugated_form\": \"ガル接続\",\n \"basic_form\": [\"辛い\", \"美味しい\", \"寒い\"],\n \"_capture\": \"$2\"\n },\n {\n \"surface_form\": \"さ\",\n \"_index\": true\n },\n {\n \"basic_form\": \"そう\",\n \"pos_detail_1\": [\"接尾\", \"助詞類接続\"],\n \"_capture\": \"$3\"\n }\n ]\n },\n {\n \"message\": \"不要な「さ」が挿入されています。\",\n \"expected\": \"$1$2$3\",\n \"tokens\": [\n {\n \"pos\": \"動詞\",\n \"_capture\": \"$1\"\n },\n {\n \"surface_form\": \"た\",\n \"pos\": \"助動詞\",\n \"_capture\": \"$2\"\n },\n {\n \"surface_form\": \"さ\",\n \"_index\": true\n },\n {\n \"basic_form\": \"そう\",\n \"pos_detail_1\": [\"接尾\", \"助詞類接続\"],\n \"_capture\": \"$3\"\n }\n ]\n },\n];"],"file":"saire.js"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ module.exports = [{
4
+ "message": "「さ」が抜けています。",
5
+ "expected": "$1さ$2",
6
+ "tokens": [{
7
+ "basic_form": ["良い", "無", "無い"],
8
+ "_capture": "$1"
9
+ }, {
10
+ "surface_form": "そう",
11
+ "pos_detail_1": ["接尾", "助詞類接続"],
12
+ "_capture": "$2"
13
+ }]
14
+ }];
15
+ //# sourceMappingURL=sanuki.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/dict/sanuki.js"],"names":["module","exports"],"mappings":";;AAAAA,MAAM,CAACC,OAAP,GAAiB,CACf;AACE,aAAW,aADb;AAEE,cAAY,OAFd;AAGE,YAAU,CACR;AACE,kBAAc,CAAC,IAAD,EAAO,GAAP,EAAY,IAAZ,CADhB;AAEE,gBAAY;AAFd,GADQ,EAKR;AACE,oBAAgB,IADlB;AAEE,oBAAgB,CAAC,IAAD,EAAO,OAAP,CAFlB;AAGE,gBAAY;AAHd,GALQ;AAHZ,CADe,CAAjB","sourcesContent":["module.exports = [\n {\n \"message\": \"「さ」が抜けています。\",\n \"expected\": \"$1さ$2\",\n \"tokens\": [\n {\n \"basic_form\": [\"良い\", \"無\", \"無い\"],\n \"_capture\": \"$1\"\n },\n {\n \"surface_form\": \"そう\",\n \"pos_detail_1\": [\"接尾\", \"助詞類接続\"],\n \"_capture\": \"$2\"\n }\n ]\n },\n];"],"file":"sanuki.js"}