Giter VIP home page Giter VIP logo

textlint-rule-ja-keishikimeishi's Introduction

textlint-rule-ja-keishikimeishi

漢字よりもひらがなで表記したほうが読みやすい形式名詞を指摘します。 検出には形態素解析を使っています。 自動修正にも対応しています。

Install

Install with npm:

npm install textlint-rule-ja-keishikimeishi

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "ja-keishikimeishi": {
            //方をほうと訂正するか否か
            "detection_hou_kata" : false
        }
    }
}

Via CLI

textlint --rule ja-keishikimeishi README.md

Fixable

textlint --fix ja-keishikimeishi README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

List

From To
〜する上(で) 〜するうえ(で)
〜する事(が) 〜すること(が)
〜する度(に) 〜するたび(に)
〜する方(が) 〜するほう(が)
〜する時(に) 〜するとき(に)
〜する毎(に) 〜するごと(に)
〜する為(に) 〜するため(に)
〜する訳(が) 〜するわけ(が)
〜する所(だ) 〜するところ(だ)
〜する通り(に) 〜するとおり(に)
〜する物(だ) 〜するもの(だ)

「〜する方が」は、検知するかどうかをオプションで選択できます。

License

Hiroshi Takase氏がMITライセンスで公開したtextlint-rule-ja-hiragana-keishikimeishiを利用しています。

textlint-rule-ja-keishikimeishi's People

Contributors

otapo avatar lostandfound avatar hata6502 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.