- Notifications
You must be signed in to change notification settings - Fork4
textlint rule plugin to check duplicated conjunctive particle `ga` in a sentence.
License
textlint-ja/textlint-rule-no-doubled-conjunctive-particle-ga
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This module is a textlint plugin to check duplicated conjunctive particlega(が)
in a sentence.
逆接の接続助詞「が」は、特に否定の意味ではなくても安易に使われてしまいがちです。これが同一文中に複数回出現していないかどうかをチェックするためのtextlintルールです。
例
今日は早朝から出発したが、定刻には間に合わなかったが、無事会場に到着した。
"出発したが" と "間に合わなかったが" が 同じ接続助詞の「が」が連続しています。
キーワードが多く抽出されたが、クラスタの数が10ということもあるが、逆に欠点となるようなキーワードが表示されなかった。
"抽出されたが" と "こともあるが" が 同じ接続助詞の「が」が連続しています。
Note: In generally, using same conjunctive particles is not an issue.ga
is special case.
npm install textlint-rule-no-doubled-conjunctive-particle-ga
- azu/kuromojin: a wrapper ofkuromoji.js
- azu/sentence-splitter
Via.textlintrc
(Recommended)
{"rules": {"no-doubled-conjunctive-particle-ga":true }}
Via CLI
textlint --rule no-doubled-conjunctive-particle-ga sample.md
There's no options for this plugin.
npm test
- textlint
- textlint-rule-no-doubled-joshi: this plugin is based on it
- 中野智彦, 丸山広, 高嶋章雄, 中村太一「文章中の重複表現の指摘方法の提案」, 第73回全国大会講演論文集
MIT
About
textlint rule plugin to check duplicated conjunctive particle `ga` in a sentence.
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.