-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathredpen-conf-ja.xml
61 lines (56 loc) · 2.13 KB
/
redpen-conf-ja.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<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="KatakanaEndHyphen">
<validator name="KatakanaSpellCheck" />
<property name="list" value="ポリシー,トラッカー" />
</validator>
<validator name="SuggestExpression">
<property name="dict" value="redpen_resources/terminologies.txt" />
</validator>
<validator name="JapaneseStyle" />
<validator name="InvalidExpression" />
<validator name="DoubleNegative" />
<validator name="FrequentSentenceStart" />
<validator name="Okurigana"/>
<validator name="JapaneseNumberExpression"/>
<validator name="JapaneseAnchorExpression"/>
<validator name="JapaneseAmbiguousNounConjunction" />
<validator name="LongKanjiChain" />
<!-- Rules on human errors -->
<validator name="SuccessiveWord" />
<!-- Rules on sections -->
<validator name="SectionLength">
<property name="max_num" value="1500"/>
</validator>
<validator name="ParagraphNumber"/>
<validator name="SectionLevel" />
<!-- Rules on symbols -->
<validator name="InvalidSymbol"/>
<validator name="SpaceBetweenAlphabeticalWord" />
<validator name="ParenthesizedSentence">
<property name="max_count" value="2"/>
<property name="max_nesting_level" value="1"/>
<property name="max_length" value="10"/>
</validator>
<!-- Load JavaScript based Validators -->
<validator name="JavaScript">
<property name="script-path" value="js"/>
</validator>
</validators>
<symbols>
<symbol name="FULL_STOP" value="。" invalid-chars="." />
<symbol name="QUESTION_MARK" value="?" />
<symbol name="COMMA" value="、" invalid-chars=","/>
<symbol name="COLON" value=":" />
<symbol name="DOLLAR_SIGN" value="$" />
<symbol name="LESS_THAN_SIGN" value="<" />
<symbol name="GREATER_THAN_SIGN" value="<" />
<symbol name="VERTICAL_BAR" value="|" />
</symbols>
</redpen-conf>