All Projects → kn1cht → textlint-rule-preset-ja-engineering-paper

kn1cht / textlint-rule-preset-ja-engineering-paper

Licence: MIT License
textlint rule preset for Japanese academic papers of enginering

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to textlint-rule-preset-ja-engineering-paper

textlint-rule-terminology
Textlint rule to check correct terms spelling
Stars: ✭ 32 (+88.24%)
Mutual labels:  textlint, textlint-rule
action-textlint
Run textlint with reviewdog on pull requests to improve document writing experience.
Stars: ✭ 41 (+141.18%)
Mutual labels:  textlint
playground
textlint online playground.
Stars: ✭ 13 (-23.53%)
Mutual labels:  textlint
textlint-rule-eslint
textlint rule integrate with ESLint.
Stars: ✭ 12 (-29.41%)
Mutual labels:  textlint
analyze-desumasu-dearu
文の敬体(ですます調)、常体(である調)を解析するJavaScriptライブラリ
Stars: ✭ 15 (-11.76%)
Mutual labels:  textlint
textlint-ja
textlintの日本語コミュニティ/ルールのアイデア
Stars: ✭ 41 (+141.18%)
Mutual labels:  textlint
vscode-textlint
marketplace.visualstudio.com/items?itemname=taichi.vscode-textlint
Stars: ✭ 39 (+129.41%)
Mutual labels:  textlint
textlint-rule-no-synonyms
同義語を表記ゆれをチェックするtextlintルール
Stars: ✭ 18 (+5.88%)
Mutual labels:  textlint
textlint-rule-stop-words
Textlint rule to find filler words, buzzwords and clichés
Stars: ✭ 21 (+23.53%)
Mutual labels:  textlint
textlint-plugin-latex2e
Textlint Plugin LaTeX2ε
Stars: ✭ 55 (+223.53%)
Mutual labels:  textlint
vscode-linter
Extension for code linting, all in one package. New linters can be easily added through an extension framework.
Stars: ✭ 47 (+176.47%)
Mutual labels:  textlint
Textlint
The pluggable natural language linter for text and markdown.
Stars: ✭ 2,158 (+12594.12%)
Mutual labels:  textlint
textlint-rule-ja-no-abusage
よくある日本語の誤用をチェックするtextlintルール
Stars: ✭ 21 (+23.53%)
Mutual labels:  textlint
project-japanese-proofreading
テキストファイルやMarkdownファイルの日本語の文章をチェックするVS Codeの拡張機能
Stars: ✭ 81 (+376.47%)
Mutual labels:  textlint

textlint-rule-preset-ja-engineering-paper

npm version Maintainability textlint rule Greenkeeper badge

日本語の工学系論文のためのtextlintルールプリセット

textlint rule preset for Japanese academic papers of enginering

Install

$ npm i textlint-rule-preset-ja-engineering-paper

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "preset-ja-engineering-paper": true
    }
}

Via CLI

$ textlint --preset preset-ja-engineering-paper README.md

他のpresetとの併用

より広範な文章向けのpreset-japanesepreset-ja-technical-writingpreset-jtf-stylepreset-ja-spacingとの併用をお勧めします。 ただし、句読点をチェックするルールと競合する場合があります。.textlintrcなどを使い、適宜無効化してください。

.textlintrcの例

{
  "plugins": [],
  "rules": {
    "preset-ja-engineering-paper": true,
    "preset-ja-spacing": true,
    "preset-ja-technical-writing": {
      "ja-no-mixed-period": {
        "periodMark": ""
      },
      "max-kanji-continuous-len": {
        max: 8,
        allow: [
          "日本機械学会論文集"
        ]
      },
    },
    "preset-japanese": true,
    "preset-jtf-style": {
      "1.2.1.句点(。)と読点(、)": false,
      "1.2.2.ピリオド(.)とカンマ(,)": false,
      "4.1.3.ピリオド(.)、カンマ(,)": false
    },
  }
}

Rules

textlint-rule-ja-hiragana-fukushi

漢字よりもひらがなで表記したほうが読みやすい副詞

textlint-rule-ja-hiragana-keishikimeishi

漢字よりもひらがなで表記したほうが読みやすい形式名詞

textlint-rule-ja-hiragana-hojodoushi

漢字よりもひらがなで表記したほうが読みやすい補助動詞

@textlint-ja/textlint-rule-no-synonyms

文章中の同義語の表記ゆれをチェックする

textlint-rule-prh

辞書ベースのチェック

辞書には論文にそぐわない表現をチェックするための設定を収録しています。

unify-kuten-and-touten

  • (「preset-jtf-style/1.2.1. 句点(。)と読点(、)」の改変ルール)
  • 工学系の論文などを対象に、句読点を統一します。
  • デフォルトは日本機械学会論文集が指定している「.」(全角ピリオド)と「,」(全角カンマ)です。
    • これらはoptionで変更できます。
  • TODO: 英語のアブストラクトのみ、半角記号を使う場合などの対処

textlint-rule-use-si-units

SI単位系の単位以外の使用を禁止する

参考資料(全て2020年1月5日閲覧)

Develop

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

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].