forked from languagetool-org/languagetool
/
grammar-withPrio.xml
86 lines (85 loc) · 3.4 KB
/
grammar-withPrio.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml-stylesheet type="text/xsl" href="../print.xsl"
title="Pretty print" ?>
<?xml-stylesheet type="text/css" href="../rules.css"
title="Easy editing stylesheet" ?>
<!--
~ LanguageTool, a natural language style checker
~ Copyright (c) 2024. Stefan Viol (https://stevio.de)
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
~ USA
-->
<rules lang="xx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../main/resources/org/languagetool/rules/rules.xsd">
<category id="CAT-PRIO-5" name="CAT-PRIO-5" prio="5">
<rulegroup id="CAT-PRIO-5-RG-PRIO-10" name="CAT-PRIO-5-RG-PRIO-10" prio="10">
<rule id="CAT-PRIO-5-RG-PRIO-10-R-PRIO-15" prio="15">
<pattern>
<token>fake1</token>
</pattern>
<message>msg1</message>
<example correction="">
<marker>fake1</marker>
</example>
<example>fake2</example>
</rule>
<rule id="CAT-PRIO-5-RG-PRIO-10-R-PRIO-0">
<pattern>
<token>fake1</token>
</pattern>
<message>msg3</message>
<example correction="">
<marker>fake1</marker>
</example>
<example>fake2</example>
</rule>
</rulegroup>
<rulegroup id="CAT-PRIO-5-RG-PRIO-0" name="CAT-PRIO-5-RG-PRIO-0">
<rule id="CAT-PRIO-5-RG-PRIO-0-R-PRIO-0">
<pattern>
<token>fake1</token>
</pattern>
<message>msg3</message>
<example correction="">
<marker>fake1</marker>
</example>
<example>fake2</example>
</rule>
</rulegroup>
</category>
<category id="CAT-PRIO-0" name="CAT-PRIO-0">
<rulegroup id="CAT-PRIO-0-RG-PRIO-0" name="CAT-PRIO-5-RG-PRIO-10">
<rule id="CAT-PRIO-0-RG-PRIO-0-R-PRIO-0">
<pattern>
<token>fake1</token>
</pattern>
<message>msg1</message>
<example correction="">
<marker>fake1</marker>
</example>
<example>fake2</example>
</rule>
</rulegroup>
<rule id="CAT-PRIO-0-R-PRIO-0" name="CAT-PRIO-0-R-PRIO-0">
<pattern>
<token>fake1</token>
</pattern>
<message>msg1</message>
<example correction="">
<marker>fake1</marker>
</example>
<example>fake2</example>
</rule>
</category>
</rules>