Last active
July 22, 2016 14:16
-
-
Save so-c/01ce93c614e6509cec02 to your computer and use it in GitHub Desktop.
RedPenのブログ下書き用設定ファイル。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<redpen-conf lang="ja"> | |
<validators> | |
<!--Rules on sentence length--> | |
<validator name="SentenceLength"> | |
<property name="max_len" value="100"/> | |
</validator> | |
<validator name="CommaNumber" /> | |
<!--Rules on expressions--> | |
<validator name="ParagraphNumber"/> | |
<validator name="SuccessiveWord" /> | |
<validator name="JapaneseStyle" /> | |
<validator name="InvalidExpression" /> | |
<validator name="DoubleNegative" /> | |
<validator name="Okurigana"/> | |
<validator name="JapaneseNumberExpression"/> | |
<validator name="JapaneseAmbiguousNounConjunction" /> | |
<validator name="LongKanjiChain" /> | |
<!--Rules on symbols and terminologies--> | |
<validator name="InvalidSymbol"/> | |
<validator name="KatakanaEndHyphen"/> | |
<validator name="KatakanaSpellCheck"/> | |
<!-- validator name="SpaceBetweenAlphabeticalWord" /--> | |
<validator name="ParenthesizedSentence"> | |
<property name="max_count" value="3"/> | |
<property name="max_nesting_level" value="1"/> | |
<property name="max_length" value="10"/> | |
</validator> | |
<!--Rules on sections and paragraphs--> | |
<validator name="SectionLength"> | |
<property name="max_num" value="1500"/> | |
</validator> | |
<validator name="VoidSection" /> | |
<validator name="GappedSection" /> | |
<validator name="SectionLevel" /> | |
<!--Load JavaScript validators--> | |
<validator name="JavaScript"> | |
<property name="script-path" value="Path\to\redpen-distribution\js" /> | |
</validator> | |
</validators> | |
<symbols> | |
<symbol name="LEFT_PARENTHESIS" value="(" before-space="true" /> | |
<symbol name="RIGHT_PARENTHESIS" value=")" after-space="true" /> | |
<symbol name="LESS_THAN_SIGN" value="<" /> | |
<symbol name="GREATER_THAN_SIGN" value=">" /> | |
</symbols> | |
</redpen-conf> |
次の理由でOkuriganaをdisable。
- 「明か」をチェックする。「明かるい」は避けたいけれど、「明かす」は使う。
- IME (ATOK) で2, 3試したところ、任せても大丈夫そうだった。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
JavaScript Validatorのscript-pathは適宜書き換える。