-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rule): add "disabled" and "allows" for each dict item #15
Conversation
@@ -251,13 +263,17 @@ module.exports = [ | |||
}, | |||
{ | |||
// https://azu.github.io/morpheme-match/?text=動作の(確認を行わなければ)ならない | |||
id: "dict5", | |||
disabled: false, | |||
allows: ["/^[ァ-ヶ]+を.?行う/", "/^[a-zA-Z]+を.?行う/"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
デフォルト値をとりあえず カナカナと英語 は無視という大雑把なものを入れたけど、どうするべきかな
README.md
Outdated
- 参考: <http://www.atmarkit.co.jp/ait/articles/1001/19/news106_2.html> | ||
- "を行う"は冗長な表現です。"する"など簡潔な表現にすると文章が明瞭になります。 | ||
- 【dict5】 "\[名詞]を行う"は冗長な表現です。"\[名詞]する"など簡潔な表現にすると文章が明瞭になります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[サ変名詞]
の方がより適当そうです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「サ変名詞」と書くと普通の人はわからないと思うので、補足のリンクが必要そうですね。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
参考リンクを READMEへのリンクをして、各ルールごとに解説を書いていくスタイルにした方がいいかな。(リンク切れ対策も含めて
|
LGTM 👍 |
各辞書に対してオプションを指定できるように
disabled
- 辞書を無効化allows
- 無視したいパターンを指定できる(〜を実行、〜を行う 向け)resolve #13