File tree Expand file tree Collapse file tree 3 files changed +51
-7
lines changed Expand file tree Collapse file tree 3 files changed +51
-7
lines changed Original file line number Diff line number Diff line change 1- ## References
1+ # textlint-rule-no-double-negative-ja
22
3- - http://repository.kulib.kyoto-u.ac.jp/dspace/bitastream/2433/187059/1/Ronko3_043.pdf
3+ [ 二重否定] ( https://ja.wikipedia.org/wiki/%E4%BA%8C%E9%87%8D%E5%90%A6%E5%AE%9A_(%E8%A8%80%E8%AA%9E%E5%AD%A6) " 二重否定 ") を検出する[ textlint] ( https://github.com/textlint/textlint " textlint ") ルールです。
4+
5+ > ✘ それが事件の発端だったといえなくもない。
6+ > ✘ 確かにそういった懸念はない事はない。
7+
8+ 二重否定の用法については[ <研究論文>二重否定表現「~なくは/ もない」「~ないでも/ はない」「~ないことは/ もない」「~ないものでは/ もない」の使い分けを巡って] ( http://repository.kulib.kyoto-u.ac.jp/dspace/bitstream/2433/187059/1/Ronko3_043.pdf " Ronko3_043.pdf ") を参照してください。
9+
10+ ## Installation
11+
12+ npm install textlint-rule-no-double-negative-ja
13+
14+ ## Usage
15+
16+ インストール後、` .textlintrc ` 以下を追加します。
17+
18+ ``` js
19+ {
20+ " rules" : {
21+ " no-double-negative-ja" : true
22+ }
23+ }
24+ ```
25+
26+ ## Tests
27+
28+ npm test
29+
30+ ## 参考文献
31+
32+ - http://repository.kulib.kyoto-u.ac.jp/dspace/bitastream/2433/187059/1/Ronko3_043.pdf
33+ - http://www.asahi-net.or.jp/~wd2y-kkb/n.htm#%E4%BA%8C%E9%87%8D%E5%90%A6%E5%AE%9A
34+ - https://github.com/redpen-cc/redpen/blob/master/redpen-core/src/main/resources/default-resources/double-negative/double-negative-expression-ja.dat
35+
36+
37+ ## Contributing
38+
39+ 1 . Fork it!
40+ 2 . Create your feature branch: ` git checkout -b my-new-feature `
41+ 3 . Commit your changes: ` git commit -am 'Add some feature' `
42+ 4 . Push to the branch: ` git push origin my-new-feature `
43+ 5 . Submit a pull request : D
44+
45+ ## License
46+
47+ MIT
Original file line number Diff line number Diff line change 11{
2- "name" : " textlint-rule-no-doubled -negative-ja" ,
2+ "name" : " textlint-rule-no-double -negative-ja" ,
33 "repository" : {
44 "type" : " git" ,
5- "url" : " git+https://github.com/azu/textlint-rule-no-doubled -negative-ja.git"
5+ "url" : " git+https://github.com/azu/textlint-rule-no-double -negative-ja.git"
66 },
77 "author" : " azu" ,
88 "email" : " azuciao@gmail.com" ,
9- "homepage" : " https://github.com/azu/textlint-rule-no-doubled -negative-ja" ,
9+ "homepage" : " https://github.com/azu/textlint-rule-no-double -negative-ja" ,
1010 "license" : " MIT" ,
1111 "bugs" : {
12- "url" : " https://github.com/azu/textlint-rule-no-doubled -negative-ja/issues"
12+ "url" : " https://github.com/azu/textlint-rule-no-double -negative-ja/issues"
1313 },
1414 "version" : " 1.0.0" ,
1515 "description" : " 二重否定をチェックするtextlint rule" ,
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default function (context) {
2121 } ,
2222 {
2323 "basic_form" : [ "ない" , "無い" ]
24- //"pos": "形容詞" || "助動詞"
24+ //"pos": [ "形容詞", "助動詞"]
2525 }
2626 ] ) ;
2727 const matchPatternないこともない = matchTokenStream ( [
You can’t perform that action at this time.
0 commit comments