textlint-ja / textlint-rule-ja-no-successive-word Goto Github PK
View Code? Open in Web Editor NEW同一の単語を間違えて連続しているのを見つけるtextlintルール
License: MIT License
同一の単語を間違えて連続しているのを見つけるtextlintルール
License: MIT License
元々、元々、これはテスト文章。
この度、この度、これはテスト文章。
また、また、これはテスト文章
みたいな 文章の先頭を繰り返しているような 間違いを時々見かける気がする。
これを検出できるといいような気がする
デフォルト設定では、全角スペースや全角感嘆符などの記号が連続している場合にも、エラーが出るようです。
そこで、記号に対してもエラーを出さないための設定を共有します。
※unicode の記号を完全には網羅していません。
options: {
allow: ['/[\\u2000-\\u2DFF\\u2E00-\\u33FF\\uF900-\\uFFFD]/'],
}
同じ単語(トークン)と判定されてしまったようで、
"九" が連続して2回使われています。
というエラーが発生してしまった。
動作がカクカクしています。
カタカナのは意図的に同じ語を並べることがある気がする。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.