@valueerror/ltjs-lang-it 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +232 -0
- package/NOTICE +9 -0
- package/README.md +25 -2
- package/index.js +5 -0
- package/licenses/LGPL-2.1.txt +504 -0
- package/licenses/resource_it_README.txt +4 -0
- package/licenses/resource_it_hunspell_README_it_IT.txt +313 -0
- package/package.json +60 -4
- package/resource-root.js +4 -0
- package/resources/META-INF/org/languagetool/language-module.properties +1 -0
- package/resources/org/languagetool/resource/it/README.txt +4 -0
- package/resources/org/languagetool/resource/it/added.txt +12 -0
- package/resources/org/languagetool/resource/it/added_custom.txt +4 -0
- package/resources/org/languagetool/resource/it/disambiguation.xml +92 -0
- package/resources/org/languagetool/resource/it/hunspell/README_it_IT.txt +313 -0
- package/resources/org/languagetool/resource/it/hunspell/ignore.txt +2 -0
- package/resources/org/languagetool/resource/it/hunspell/it_IT.dict +0 -0
- package/resources/org/languagetool/resource/it/hunspell/it_IT.info +8 -0
- package/resources/org/languagetool/resource/it/hunspell/spelling.txt +277 -0
- package/resources/org/languagetool/resource/it/italian.dict +0 -0
- package/resources/org/languagetool/resource/it/italian.info +8 -0
- package/resources/org/languagetool/resource/it/italian_synth.dict +0 -0
- package/resources/org/languagetool/resource/it/italian_synth.info +8 -0
- package/resources/org/languagetool/resource/it/italian_tags.txt +663 -0
- package/resources/org/languagetool/resource/it/removed.txt +4 -0
- package/resources/org/languagetool/resource/it/removed_custom.txt +4 -0
- package/resources/org/languagetool/rules/it/grammar.xml +2199 -0
- package/src/lang/it/language/Italian.js +95 -0
- package/src/lang/it/rules/DateCheckFilter.js +64 -0
- package/src/lang/it/rules/ItalianWordRepeatRule.js +37 -0
- package/src/lang/it/rules/MorfologikItalianSpellerRule.js +48 -0
- package/src/lang/it/synthesis/ItalianSynthesizer.js +20 -0
- package/src/lang/it/tagging/ItalianRuleDisambiguator.js +23 -0
- package/src/lang/it/tagging/ItalianTagger.js +16 -0
|
@@ -0,0 +1,2199 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<?xml-stylesheet type="text/xsl" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/print.xsl" title="Pretty print" ?>
|
|
3
|
+
<?xml-stylesheet type="text/css" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.css" title="Easy editing stylesheet" ?>
|
|
4
|
+
<!--
|
|
5
|
+
Italian Grammar and Typo Rules for LanguageTool
|
|
6
|
+
Copyright (C) 2006 Marcin Miłkowski
|
|
7
|
+
|
|
8
|
+
This library is free software; you can redistribute it and/or
|
|
9
|
+
modify it under the terms of the GNU Lesser General Public
|
|
10
|
+
License as published by the Free Software Foundation; either
|
|
11
|
+
version 2.1 of the License, or (at your option) any later version.
|
|
12
|
+
|
|
13
|
+
This library is distributed in the hope that it will be useful,
|
|
14
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
16
|
+
Lesser General Public License for more details.
|
|
17
|
+
|
|
18
|
+
You should have received a copy of the GNU Lesser General Public
|
|
19
|
+
License along with this library; if not, write to the Free Software
|
|
20
|
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
21
|
+
-->
|
|
22
|
+
<!--
|
|
23
|
+
================================================================================
|
|
24
|
+
Italian Grammar and Style Rules for Italian
|
|
25
|
+
Paolo Bianchini
|
|
26
|
+
================================================================================
|
|
27
|
+
Categorie delle regole
|
|
28
|
+
gruppi delle regole ID stato
|
|
29
|
+
============================================== =============== ===============
|
|
30
|
+
Grammatica - Aggettivi GR_01
|
|
31
|
+
uso corretto GR_01_01 add more
|
|
32
|
+
|
|
33
|
+
Grammatica - Articoli GR_02
|
|
34
|
+
uso corretto GR_02_001 ok
|
|
35
|
+
|
|
36
|
+
Grammatica - Concordanza GR_03
|
|
37
|
+
tra genere e numero GR_03_001 to do
|
|
38
|
+
tra soggetto e verbo GR_03_002 to do
|
|
39
|
+
|
|
40
|
+
Grammatica - Elisioni e troncamenti GR_04
|
|
41
|
+
apocopi vocaliche GR_04_001 add more
|
|
42
|
+
elisioni GR_04_002 add more
|
|
43
|
+
|
|
44
|
+
Grammatica - Frase GR_05
|
|
45
|
+
altri elementi GR_05_001 to do
|
|
46
|
+
struttura GR_05_002 add more
|
|
47
|
+
|
|
48
|
+
Grammatica - Maiuscole GR_06
|
|
49
|
+
uso corretto GR_06_001 not needed?
|
|
50
|
+
|
|
51
|
+
Grammatica - Preposizioni GR_07
|
|
52
|
+
uso corretto GR_07_001 add more
|
|
53
|
+
|
|
54
|
+
Grammatica - Pronomi GR_08
|
|
55
|
+
uso corretto GR_08_001 to do
|
|
56
|
+
|
|
57
|
+
Grammatica - Punteggiatura GR_09
|
|
58
|
+
asterischi di omissione (***) GR_09_001 ok
|
|
59
|
+
puntini di sospensione (...) GR_09_002 ok
|
|
60
|
+
ripetizioni GR_09_003 ok
|
|
61
|
+
sigle GR_09_004 ok
|
|
62
|
+
|
|
63
|
+
Grammatica - Verbi GR_10
|
|
64
|
+
concordanza tempi delle coordinate GR_10_001 ok
|
|
65
|
+
concordanza tempi delle subordinate GR_10_002 to do
|
|
66
|
+
uso del congiuntivo GR_10_003 add more
|
|
67
|
+
uso corretto GR_10_004 add more
|
|
68
|
+
|
|
69
|
+
Stile - Espressioni ST_01
|
|
70
|
+
arcaiche ST_01_001 to do
|
|
71
|
+
parlato ST_01_002 add more
|
|
72
|
+
pleonasmi ST_01_003 add more
|
|
73
|
+
regionali ST_01_004 add more
|
|
74
|
+
straniere ST_01_005 add more
|
|
75
|
+
uso errato ST_01_006 to do
|
|
76
|
+
|
|
77
|
+
Stile - Frase ST_02
|
|
78
|
+
frasi lunghe ST_02_001 ok
|
|
79
|
+
|
|
80
|
+
Stile - Leggibilità ST_03
|
|
81
|
+
eufoniche ST_03_001 ok
|
|
82
|
+
ripetizioni ST_03_002 ok
|
|
83
|
+
|
|
84
|
+
Stile - Numeri ST_04
|
|
85
|
+
in cifre se minori di 10 ST_04_001 ok
|
|
86
|
+
in cifre se minori di 100 ST_04_002 ok
|
|
87
|
+
|
|
88
|
+
Ulteriori errori comuni - avere ER_01 ok
|
|
89
|
+
Ulteriori errori comuni - ortografia ER_02 ok
|
|
90
|
+
|
|
91
|
+
================================================================================
|
|
92
|
+
-->
|
|
93
|
+
|
|
94
|
+
<!--
|
|
95
|
+
================================================================================
|
|
96
|
+
Fixes
|
|
97
|
+
======== ===================================================================================
|
|
98
|
+
PB001 Removed prepositions and two letter words in repetition check
|
|
99
|
+
PB002 Added some preposition usage checks (moved a gratis rule)
|
|
100
|
+
2957133 name/article concordance (un vs uno)
|
|
101
|
+
PB003 Added rule for checking the use of adverbs instead of adjectives
|
|
102
|
+
PB004 Added rule for attimino and momentino in stile-parlato
|
|
103
|
+
PB005 Fixed rule for dà to exclude "se da" pattern voted as useless
|
|
104
|
+
PB006 Fixed rule for false positives in past tense concordance GR_10_001
|
|
105
|
+
PB007 Added check for person in tense concordance GR_10_* overrides PB006
|
|
106
|
+
PB008 Added rules to check the use of "congiuntivo"
|
|
107
|
+
PB009 Created uso corretto under verbs and added adire vie legali
|
|
108
|
+
PB010 Reworked repetition rule ST_03_002
|
|
109
|
+
PB011 Reworked rule GR_04_002 exteneded to all words ending with à|è|é|ì|ò|ù
|
|
110
|
+
PB012 Added exception for article of the word "dei"
|
|
111
|
+
3609558 False positive in rule ER_02_002 'al'-'la'
|
|
112
|
+
3610220 False positive in 'per lo meno' for rule GR_02_001 changed so that adv are skipped
|
|
113
|
+
3610360 False positive in dates for rule ST_04_001 fixes also 3611066
|
|
114
|
+
3610289 False positive il artice for word "Signore"
|
|
115
|
+
182 False positive in 'ai peccati' suggests 'hai'
|
|
116
|
+
181 Don't apply word repetition rule on 'via via' and 'così così'
|
|
117
|
+
180 Fix some false positives in al for la
|
|
118
|
+
PB013 Added ma però rule
|
|
119
|
+
PB014 We don't need the skip in article rules since we are unifying adj and noun
|
|
120
|
+
======== ==================================================================================
|
|
121
|
+
-->
|
|
122
|
+
<!DOCTYPE rules [
|
|
123
|
+
<!ENTITY days_week "domenica|giovedì|lunedì|martedì|mercoledì|sabato|venerdì">
|
|
124
|
+
<!ENTITY days_week_abr "do|gi|lu|ma|me|sa|ve">
|
|
125
|
+
<!ENTITY months_year "gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre">
|
|
126
|
+
<!ENTITY months_year_abr "gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic">
|
|
127
|
+
]>
|
|
128
|
+
|
|
129
|
+
<rules lang="it" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.xsd">
|
|
130
|
+
|
|
131
|
+
<!-- GRAMMATICA AGGETTIVI - GR_01 -->
|
|
132
|
+
<category id="CAT1" name="Grammatica - Aggettivi">
|
|
133
|
+
<rulegroup name="uso corretto" id="GR_01_001" default="off">
|
|
134
|
+
<!-- PB003 + -->
|
|
135
|
+
<!-- meglio -->
|
|
136
|
+
<rule>
|
|
137
|
+
<pattern>
|
|
138
|
+
<token>meglio</token>
|
|
139
|
+
<token postag="(NOUN-M.s)|(NOUN-F.s)" postag_regexp="yes"/>
|
|
140
|
+
</pattern>
|
|
141
|
+
<message>Non utilizzare un avverbio in luogo di un aggettivo: <suggestion><match no="2"/> migliore</suggestion>.</message>
|
|
142
|
+
<example correction="occasione migliore">Bisogna cogliere la <marker>meglio occasione</marker>.</example>
|
|
143
|
+
<example>Bisogna cogliere l'<marker>occasione migliore</marker>.</example>
|
|
144
|
+
</rule>
|
|
145
|
+
<rule>
|
|
146
|
+
<pattern>
|
|
147
|
+
<token>meglio</token>
|
|
148
|
+
<token postag="(NOUN-M.p)|(NOUN-F.p)" postag_regexp="yes"/>
|
|
149
|
+
</pattern>
|
|
150
|
+
<message>Non utilizzare un avverbio in luogo di un aggettivo: <suggestion><match no="2"/> migliori</suggestion>.</message>
|
|
151
|
+
<example correction="occasioni migliori">Bisogna cogliere le <marker>meglio occasioni</marker>.</example>
|
|
152
|
+
</rule>
|
|
153
|
+
<!-- peggio -->
|
|
154
|
+
<rule>
|
|
155
|
+
<pattern>
|
|
156
|
+
<token>peggio</token>
|
|
157
|
+
<token postag="(NOUN-M.s)|(NOUN-F.s)" postag_regexp="yes"/>
|
|
158
|
+
</pattern>
|
|
159
|
+
<message>Non utilizzare un avverbio in luogo di un aggettivo: <suggestion><match no="2"/> peggiore</suggestion>.</message>
|
|
160
|
+
<example correction="figura peggiore">Evitiamo di fare una <marker>peggio figura</marker>.</example>
|
|
161
|
+
</rule>
|
|
162
|
+
<rule>
|
|
163
|
+
<pattern>
|
|
164
|
+
<token>peggio</token>
|
|
165
|
+
<token postag="(NOUN-M.p)|(NOUN-F.p)" postag_regexp="yes"/>
|
|
166
|
+
</pattern>
|
|
167
|
+
<message>Non utilizzare un avverbio in luogo di un aggettivo: <suggestion><match no="2"/> peggiori</suggestion>.</message>
|
|
168
|
+
<example correction="figure peggiori">Evitiamo di fare delle <marker>peggio figure</marker>.</example>
|
|
169
|
+
</rule>
|
|
170
|
+
<!-- PB003 - -->
|
|
171
|
+
</rulegroup>
|
|
172
|
+
</category>
|
|
173
|
+
|
|
174
|
+
<!-- GRAMMATICA ARTICOLI - GR_02 -->
|
|
175
|
+
<category id="CAT2" name="Grammatica - Articoli">
|
|
176
|
+
<rulegroup name="uso corretto" id="GR_02_001" default="off">
|
|
177
|
+
<!-- Il/la candidato/a ideale ha: -->
|
|
178
|
+
<antipattern>
|
|
179
|
+
<token regexp="yes">il|lo|la|un|uno|una</token>
|
|
180
|
+
<token>/</token>
|
|
181
|
+
<token regexp="yes">il|lo|la|un|uno|una</token>
|
|
182
|
+
<token postag="(NOUN-M.s)|(NOUN-F.s)" postag_regexp="yes"/>
|
|
183
|
+
<token>/</token>
|
|
184
|
+
<token regexp="yes">[aoe]</token>
|
|
185
|
+
</antipattern>
|
|
186
|
+
<!-- la -->
|
|
187
|
+
<rule>
|
|
188
|
+
<pattern>
|
|
189
|
+
<!-- PB014 marker><token skip="1" regexp="yes">il|lo|i|gli|le</token></marker -->
|
|
190
|
+
<marker><token regexp="yes">il|lo|i|gli|le</token></marker>
|
|
191
|
+
<token postag="(NOUN-F.s)|(ADJ.*\+f\+s)" postag_regexp="yes"><exception postag="(NOUN-F.p)|(ADJ.*\+f\+p)|(NOUN-M.s)|(ADJ.*\+m\+s)|(ADV)" postag_regexp="yes"/></token>
|
|
192
|
+
</pattern>
|
|
193
|
+
<message>L'articolo non concorda, usare: <suggestion>la</suggestion>.</message>
|
|
194
|
+
<example correction="la">Vidi <marker>il</marker> mucca pascolare nel campo.</example>
|
|
195
|
+
</rule>
|
|
196
|
+
<!-- le -->
|
|
197
|
+
<rule>
|
|
198
|
+
<pattern>
|
|
199
|
+
<!-- PB014 marker><token skip="1" regexp="yes">il|lo|i|gli|la</token></marker -->
|
|
200
|
+
<marker><token regexp="yes">il|lo|i|gli|la</token></marker>
|
|
201
|
+
<token postag="(NOUN-F.p)|(ADJ.*\+f\+p)" postag_regexp="yes"><exception postag="(NOUN-[MF].s)|(ADJ.*\+f\+s)|(NOUN-M.p)|(ADJ.*\+m\+p)(ADV)" postag_regexp="yes"/>
|
|
202
|
+
<!-- 3610289 + -->
|
|
203
|
+
<exception regexp="yes">(?-i)Signore</exception>
|
|
204
|
+
<!-- 3610289 - -->
|
|
205
|
+
</token>
|
|
206
|
+
</pattern>
|
|
207
|
+
<message>L'articolo non concorda, usare: <suggestion>le</suggestion>.</message>
|
|
208
|
+
<example correction="le">Vidi <marker>il</marker> mucche pascolare nel campo.</example>
|
|
209
|
+
<example>il male è la specializzazione</example>
|
|
210
|
+
<example>il pioniere dei videogiochi</example>
|
|
211
|
+
</rule>
|
|
212
|
+
<!-- una -->
|
|
213
|
+
<rule>
|
|
214
|
+
<pattern>
|
|
215
|
+
<!-- PB014 marker><token skip="1" regexp="yes">un|uno</token></marker -->
|
|
216
|
+
<marker><token regexp="yes">un|uno</token></marker>
|
|
217
|
+
<token postag="(NOUN-F.s)|(ADJ.*\+f\+s)" postag_regexp="yes"><exception postag="(NOUN-F.p)|(ADJ.*\+f\+p)|(NOUN-M.s)|(ADJ.*\+m\+s)|(ADV)" postag_regexp="yes"/></token>
|
|
218
|
+
</pattern>
|
|
219
|
+
<message>L'articolo non concorda, usare: <suggestion>una</suggestion>.</message>
|
|
220
|
+
<example correction="una">Vidi <marker>un</marker> mucca pascolare nel campo.</example>
|
|
221
|
+
<example>Vidi <marker>una</marker> mucche pascolare nel campo.</example>
|
|
222
|
+
</rule>
|
|
223
|
+
<!-- il -->
|
|
224
|
+
<rule>
|
|
225
|
+
<pattern>
|
|
226
|
+
<!-- PB014 marker><token skip="1" regexp="yes">lo|la|i|gli|le</token></marker -->
|
|
227
|
+
<marker><token regexp="yes">lo|la|i|gli|le</token></marker>
|
|
228
|
+
<token postag="(NOUN-M.s)|(ADJ.*\+m\+s)" postag_regexp="yes" regexp="yes">[bcdfghlmnpqrstv][aeiou].*|[bcdfglmnqrtv][bcdfglmnpqrtv].*<exception postag="(NOUN-M.p)|(ADJ.*\+m\+p)|(NOUN-F.s)|(ADJ.*\+f\+s)|(ADV)" postag_regexp="yes"/></token>
|
|
229
|
+
</pattern>
|
|
230
|
+
<message>L'articolo non concorda, usare: <suggestion>il</suggestion>.</message>
|
|
231
|
+
<example correction="il">Quanto costa <marker>lo</marker> vino?</example>
|
|
232
|
+
<example>Io le ritrovo quando osservo</example>
|
|
233
|
+
</rule>
|
|
234
|
+
<!-- i -->
|
|
235
|
+
<rule>
|
|
236
|
+
<pattern>
|
|
237
|
+
<!-- PB014 marker><token skip="1" regexp="yes">lo|la|il|gli|le</token></marker -->
|
|
238
|
+
<marker><token regexp="yes">lo|la|il|gli|le</token></marker>
|
|
239
|
+
<token postag="(NOUN-M.p)|(ADJ.*\+m\+p)" postag_regexp="yes" regexp="yes">[bcdfghlmnpqrstv][aeiou].*|[bcdfglmnqrtv][bcdfglmnpqrtv].*<exception postag="(NOUN-M.s)|(ADJ.*\+m\+s)|(NOUN-F.p)|(ADJ.*\+f\+p)|(ADV)" postag_regexp="yes"/>
|
|
240
|
+
<!-- PB0012 + -->
|
|
241
|
+
<exception>dei</exception>
|
|
242
|
+
<!-- PB0012 - -->
|
|
243
|
+
</token>
|
|
244
|
+
</pattern>
|
|
245
|
+
<message>L'articolo non concorda, usare: <suggestion>i</suggestion>.</message>
|
|
246
|
+
<example correction="i">Hai fatto <marker>le</marker> compiti?</example>
|
|
247
|
+
</rule>
|
|
248
|
+
<!-- un -->
|
|
249
|
+
<rule>
|
|
250
|
+
<pattern>
|
|
251
|
+
<!-- PB014 marker><token skip="1" regexp="yes">uno|una</token></marker -->
|
|
252
|
+
<marker><token regexp="yes">uno|una</token></marker>
|
|
253
|
+
<token postag="(NOUN-M.s)|(ADJ.*\+m\+s)" postag_regexp="yes" regexp="yes">[bcdfghlmnpqrstv][aeiou].*|[bcdfghlmnqrtv][bcdfghlmnpqrtv].*<exception postag="(NOUN-M.p)|(ADJ.*\+m\+p)|(NOUN-F.s)|(ADJ.*\+f\+s)|(ADV)" postag_regexp="yes"/></token>
|
|
254
|
+
</pattern>
|
|
255
|
+
<message>L'articolo non concorda, usare: <suggestion>un</suggestion>.</message>
|
|
256
|
+
<example correction="un">Mi insegni <marker>uno</marker> trucco?</example>
|
|
257
|
+
</rule>
|
|
258
|
+
<!-- lo -->
|
|
259
|
+
<rule>
|
|
260
|
+
<pattern>
|
|
261
|
+
<!-- PB014 marker><token skip="1" regexp="yes">i|la|il|gli|le</token></marker -->
|
|
262
|
+
<marker><token regexp="yes">i|la|il|gli|le</token></marker>
|
|
263
|
+
<token postag="(NOUN-M.s)|(ADJ.*\+m\+s)" postag_regexp="yes" regexp="yes">[zx].*|s[bcdfghlmnpqrstv].*|p[ns].*|gn.*|[iy][aeiou].*<exception postag="(NOUN-M.p)|(ADJ.*\+m\+p)|(NOUN-F.s)|(ADJ.*\+f\+s)|(ADV)" postag_regexp="yes"/></token>
|
|
264
|
+
</pattern>
|
|
265
|
+
<message>L'articolo non concorda, usare: <suggestion>lo</suggestion>.</message>
|
|
266
|
+
<example correction="lo">Ho forato <marker>il</marker> pneumatico.</example>
|
|
267
|
+
<example>Hai forato <marker>lo</marker> pneumatico.</example>
|
|
268
|
+
</rule>
|
|
269
|
+
<!-- gli -->
|
|
270
|
+
<rule>
|
|
271
|
+
<pattern>
|
|
272
|
+
<!-- PB014 marker><token skip="1" regexp="yes">i|la|il|lo|le</token></marker -->
|
|
273
|
+
<marker><token regexp="yes">i|la|il|lo|le</token></marker>
|
|
274
|
+
<token postag="(NOUN-M.p)|(ADJ.*\+m\+p)" postag_regexp="yes" regexp="yes">[zx].*|s[bcdfghlmnpqrstv].*|p[ns].*|gn.*|[iy][aeiou].*<exception postag="(NOUN-M.s)|(ADJ.*\+m\+s)|(NOUN-F.p)|(ADJ.*\+f\+p)|(ADV)" postag_regexp="yes"/></token>
|
|
275
|
+
</pattern>
|
|
276
|
+
<message>L'articolo non concorda, usare: <suggestion>gli</suggestion>.</message>
|
|
277
|
+
<example correction="gli">Come raccontano <marker>i</marker> storici...</example>
|
|
278
|
+
</rule>
|
|
279
|
+
<!-- uno -->
|
|
280
|
+
<rule>
|
|
281
|
+
<pattern>
|
|
282
|
+
<!-- PB014 marker><token skip="1" regexp="yes">un|una</token></marker -->
|
|
283
|
+
<marker><token regexp="yes">un|una</token></marker>
|
|
284
|
+
<!-- 2957133 + -->
|
|
285
|
+
<!--
|
|
286
|
+
<token postag="NOUN-M.s" postag_regexp="yes" regexp="yes">[zx].*|s[bcdfghlmnpqrstv].*|p[ns].*|[gn].*|[iy][aeiou].*<exception postag="(NOUN-M.p)|(NOUN-F.s)" postag_regexp="yes"/></token>
|
|
287
|
+
-->
|
|
288
|
+
<token postag="(NOUN-M.s)|(ADJ.*\+m\+s)" postag_regexp="yes" regexp="yes">[zx].*|s[bcdfghlmnpqrstv].*|p[ns].*|gn.*|[iy][aeiou].*<exception postag="(NOUN-M.p)|(ADJ.*\+m\+p)|(NOUN-F.s)|(ADJ.*\+f\+s)|(ADV)" postag_regexp="yes"/></token>
|
|
289
|
+
<!-- 2957133 - -->
|
|
290
|
+
</pattern>
|
|
291
|
+
<message>L'articolo non concorda, usare: <suggestion>uno</suggestion>.</message>
|
|
292
|
+
<example correction="uno">Devi andare da <marker>un</marker> psicologo.</example>
|
|
293
|
+
</rule>
|
|
294
|
+
<!-- PB012 + -->
|
|
295
|
+
<!-- gli dei-->
|
|
296
|
+
<rule>
|
|
297
|
+
<pattern>
|
|
298
|
+
<marker><token regexp="yes">i|la|il|lo|le</token></marker>
|
|
299
|
+
<token>dei</token>
|
|
300
|
+
</pattern>
|
|
301
|
+
<message>L'articolo non concorda, usare: <suggestion>gli</suggestion>.</message>
|
|
302
|
+
<example correction="gli">Adoravano <marker>i</marker> dei del suono.</example>
|
|
303
|
+
</rule>
|
|
304
|
+
<!-- PB012 - -->
|
|
305
|
+
</rulegroup>
|
|
306
|
+
</category>
|
|
307
|
+
|
|
308
|
+
<!-- GRAMMATICA CONCORDANZA - GR_03 -->
|
|
309
|
+
<!-- category name="Grammatica - Concordanza"> -->
|
|
310
|
+
<!-- TO DO <rulegroup name="tra genere e numero" id="GR_03_001">
|
|
311
|
+
</rulegroup>
|
|
312
|
+
<rulegroup name="tra soggetto e verbo" id="GR_03_002">
|
|
313
|
+
</rulegroup>
|
|
314
|
+
</category> -->
|
|
315
|
+
|
|
316
|
+
<!-- GRAMMATICA ELSIONI E TRONCAMENTI - GR_04 -->
|
|
317
|
+
<category id="CAT3" name="Grammatica - Elisioni e troncamenti">
|
|
318
|
+
<rulegroup name="apocopi vocaliche" id="GR_04_001">
|
|
319
|
+
<!-- Che è -->
|
|
320
|
+
<rule>
|
|
321
|
+
<pattern>
|
|
322
|
+
<token>ch</token>
|
|
323
|
+
<token>'</token>
|
|
324
|
+
<token>è</token>
|
|
325
|
+
</pattern>
|
|
326
|
+
<message>Nell'italiano standard, la frase <suggestion>che è</suggestion> non è normalmente contratta.</message>
|
|
327
|
+
<example correction="che è">Per dimostrare <marker>ch'è</marker> impossibile.</example>
|
|
328
|
+
</rule>
|
|
329
|
+
<!-- Qual è -->
|
|
330
|
+
<rule>
|
|
331
|
+
<pattern case_sensitive="no">
|
|
332
|
+
<token>qual</token>
|
|
333
|
+
<token>'</token>
|
|
334
|
+
<token>è</token>
|
|
335
|
+
</pattern>
|
|
336
|
+
<message>L'apostrofo non è richiesto in quanto non si tratta di elisione: <suggestion>qual è</suggestion>.</message>
|
|
337
|
+
<example correction="qual è">Da professionista <marker>qual'è</marker>.</example>
|
|
338
|
+
</rule>
|
|
339
|
+
<!-- Un altro-->
|
|
340
|
+
<rule>
|
|
341
|
+
<antipattern>
|
|
342
|
+
<marker>
|
|
343
|
+
<token regexp="yes">['’]</token>
|
|
344
|
+
<token min="0" regexp="yes">[«"“]|assai</token>
|
|
345
|
+
<token postag=".*[:+-][Ff][:+-][Ss]" postag_regexp="yes"/>
|
|
346
|
+
</marker>
|
|
347
|
+
</antipattern>
|
|
348
|
+
<pattern>
|
|
349
|
+
<token regexp="yes">nessun|un|alcun|buon</token>
|
|
350
|
+
<token regexp="yes">['’]</token>
|
|
351
|
+
<token postag=".*[:+-][Mm][:+-][Ss]" postag_regexp="yes"></token>
|
|
352
|
+
</pattern>
|
|
353
|
+
<message>Non si usa l'apostrofo se la parola che segue è maschile.</message>
|
|
354
|
+
<suggestion>\1 \3</suggestion>
|
|
355
|
+
<url>http://www.treccani.it/enciclopedia/apostrofo_(La-grammatica-italiana)/</url>
|
|
356
|
+
<example correction="nessun altro">Solo noi possiamo farlo, e <marker>nessun'altro</marker>, e dobbiamo agire in modo molto rapido.</example>
|
|
357
|
+
<example>Tuttavia, a mio avviso, l'unica soluzione è lasciar decidere al popolo e a nessun altro!</example>
|
|
358
|
+
<example>Un’isola, alcun’amica, buon’anima.</example>
|
|
359
|
+
<example>Un'interprete.</example> <!--maschile e femminile-->
|
|
360
|
+
<example>un'«unghia»</example>
|
|
361
|
+
</rule>
|
|
362
|
+
</rulegroup>
|
|
363
|
+
<rulegroup name="Elisioni" id="GR_04_002">
|
|
364
|
+
<antipattern>
|
|
365
|
+
<token>'</token>
|
|
366
|
+
<token spacebefore="no"/>
|
|
367
|
+
<token spacebefore="no">'</token>
|
|
368
|
+
</antipattern>
|
|
369
|
+
<!-- togli togli di metti d' -->
|
|
370
|
+
<rule default="off">
|
|
371
|
+
<pattern>
|
|
372
|
+
<token>di</token>
|
|
373
|
+
<token regexp="yes">i.*</token>
|
|
374
|
+
</pattern>
|
|
375
|
+
<message>Si consiglia di sostituire la preposizione di con la forma apostrofata <suggestion>d'<match no="2"/></suggestion></message>
|
|
376
|
+
<example correction="d'informazioni">Ho bisogno <marker>di informazioni</marker>.</example>
|
|
377
|
+
</rule>
|
|
378
|
+
<!-- e' -->
|
|
379
|
+
<rule>
|
|
380
|
+
<pattern case_sensitive="yes">
|
|
381
|
+
<token>e</token>
|
|
382
|
+
<token spacebefore="no">'</token>
|
|
383
|
+
</pattern>
|
|
384
|
+
<message>Si suggerisce di non usare l'apostrofo per scrivere il verbo essere.</message>
|
|
385
|
+
<suggestion>è</suggestion>
|
|
386
|
+
<example correction="è">L'uva <marker>e'</marker> sul tavolo.</example>
|
|
387
|
+
</rule>
|
|
388
|
+
<!-- perche' -->
|
|
389
|
+
<rule>
|
|
390
|
+
<pattern>
|
|
391
|
+
<!-- PB011 + -->
|
|
392
|
+
<!-- token regexp="yes">perché|poiché|affinché|giacché|finché|altroché</token -->
|
|
393
|
+
<token regexp="yes">.*[àèéìòù]</token>
|
|
394
|
+
<!-- PB011 - -->
|
|
395
|
+
<token spacebefore="no">'</token>
|
|
396
|
+
</pattern>
|
|
397
|
+
<message>Togliere l'apostrofo in quanto la parola è già accentata.</message>
|
|
398
|
+
<suggestion><match no="1"/></suggestion>
|
|
399
|
+
<example correction="perché">Ve lo dico solo <marker>perché'</marker> mi siete simpatici.</example>
|
|
400
|
+
</rule>
|
|
401
|
+
<!-- E' -->
|
|
402
|
+
<rule>
|
|
403
|
+
<pattern case_sensitive="yes">
|
|
404
|
+
<token>E</token>
|
|
405
|
+
<token spacebefore="no">'</token>
|
|
406
|
+
</pattern>
|
|
407
|
+
<message>Si suggerisce di non usare l'apostrofo per il verbo essere.</message>
|
|
408
|
+
<suggestion>È</suggestion>
|
|
409
|
+
<example correction="È"><marker>E'</marker> un peccato!</example>
|
|
410
|
+
</rule>
|
|
411
|
+
<!-- da' -->
|
|
412
|
+
<rule>
|
|
413
|
+
<pattern>
|
|
414
|
+
<token>da</token>
|
|
415
|
+
<token spacebefore="no">'</token>
|
|
416
|
+
</pattern>
|
|
417
|
+
<message>Non utilizzare l'apostrofo per accentare.</message>
|
|
418
|
+
<suggestion>dà</suggestion>
|
|
419
|
+
<example correction="dà">Mi <marker>da'</marker> una mano per favore?</example>
|
|
420
|
+
</rule>
|
|
421
|
+
</rulegroup>
|
|
422
|
+
</category>
|
|
423
|
+
|
|
424
|
+
<!-- GRAMMATICA FRASE - GR_05 -->
|
|
425
|
+
<category id="CAT4" name="Grammatica - Frase">
|
|
426
|
+
<!-- TO DO <rulegroup name="altri elementi" id="GR_05_001">
|
|
427
|
+
</rulegroup> -->
|
|
428
|
+
<rulegroup name="struttura" id="GR_05_002" default="off">
|
|
429
|
+
<!-- non iniziare la frase con una congiunzione -->
|
|
430
|
+
<rule>
|
|
431
|
+
<pattern>
|
|
432
|
+
<token postag="SENT_START"/>
|
|
433
|
+
<marker>
|
|
434
|
+
<token postag="CON"/>
|
|
435
|
+
</marker>
|
|
436
|
+
</pattern>
|
|
437
|
+
<message>Si consiglia di non iniziare una frase con una congiunzione.</message>
|
|
438
|
+
<example correction=""><marker>E</marker> non si capisce il perché di tanta paura.</example>
|
|
439
|
+
<example><marker/>Non si capisce il perché di tanta paura.</example>
|
|
440
|
+
</rule>
|
|
441
|
+
</rulegroup>
|
|
442
|
+
</category>
|
|
443
|
+
|
|
444
|
+
<!-- GRAMMATICA MAIUSCOLE - GR_06
|
|
445
|
+
<category id="CATx" name="Grammatica - Maiuscole"> -->
|
|
446
|
+
<!-- TO DO <rulegroup name="uso corretto" id="GR_06_001">
|
|
447
|
+
</rulegroup>
|
|
448
|
+
</category> -->
|
|
449
|
+
|
|
450
|
+
<!-- GRAMMATICA PREPOSIZIONI - GR_07 -->
|
|
451
|
+
<category id="CAT5" name="Grammatica - Preposizioni">
|
|
452
|
+
<rulegroup id="ARTICOLATA_SOSTANTIVO" name="Concordanza preposizione articolata - sostantivo">
|
|
453
|
+
<antipattern>
|
|
454
|
+
<example>Il prodotto soddisfa degli standard di qualità molto elevati.</example>
|
|
455
|
+
<token regexp="yes">degli|agli|sugli|negli|dagli</token>
|
|
456
|
+
<token regexp="yes">standard</token>
|
|
457
|
+
</antipattern>
|
|
458
|
+
<antipattern>
|
|
459
|
+
<example>Abbiamo modificato alcuni colori della palette per migliorare il contrasto.</example>
|
|
460
|
+
<token postag='ARTPRE-F:s'/>
|
|
461
|
+
<token regexp="yes">palette</token>
|
|
462
|
+
</antipattern>
|
|
463
|
+
<rule>
|
|
464
|
+
<pattern>
|
|
465
|
+
<token postag='ARTPRE-M:p'/>
|
|
466
|
+
<token postag='NOUN-M:s'><exception postag="NOUN-M:p"/></token>
|
|
467
|
+
</pattern>
|
|
468
|
+
<message>La preposizione articolata non concorda con il sostantivo che la segue</message>
|
|
469
|
+
<example type="correct">Il libro <marker>degli amici</marker>.</example>
|
|
470
|
+
<example type="incorrect">Il libro <marker>degli amico</marker></example>
|
|
471
|
+
</rule>
|
|
472
|
+
<rule>
|
|
473
|
+
<pattern>
|
|
474
|
+
<token postag='ARTPRE-M:s'/>
|
|
475
|
+
<token postag='NOUN-M:p|NOUN-F:[sp]' postag_regexp="yes"><exception postag="NOUN-M:s|ADJ:pos\+m\+s" postag_regexp="yes"/></token>
|
|
476
|
+
</pattern>
|
|
477
|
+
<message>La preposizione articolata non concorda con il sostantivo che la segue</message>
|
|
478
|
+
<example type="correct">Il libro <marker>dell'amico amici</marker>.</example>
|
|
479
|
+
<example type="incorrect">Il libro <marker>dello amici</marker></example>
|
|
480
|
+
<example correction=""><marker>sul prodotti</marker></example>
|
|
481
|
+
<example correction=""><marker>nel terra</marker></example>
|
|
482
|
+
<example correction=""><marker>nel amica</marker></example>
|
|
483
|
+
<example correction=""><marker>nel amiche</marker></example>
|
|
484
|
+
<example>dal problema</example>
|
|
485
|
+
<example>nel panorama</example>
|
|
486
|
+
<example>sul pianeta</example>
|
|
487
|
+
<example>sul tema</example>
|
|
488
|
+
<example>del programma</example>
|
|
489
|
+
<example>dal verde</example>
|
|
490
|
+
<example>dal sistema</example>
|
|
491
|
+
<example>al cinema</example>
|
|
492
|
+
</rule>
|
|
493
|
+
<rule>
|
|
494
|
+
<pattern>
|
|
495
|
+
<token postag='ARTPRE-F:p'/>
|
|
496
|
+
<token postag='NOUN-F:s'><exception postag="NOUN-F:p"/></token>
|
|
497
|
+
</pattern>
|
|
498
|
+
<message>La preposizione articolata non concorda con il sostantivo che la segue</message>
|
|
499
|
+
<example type="correct">Il libro <marker>dell'amica</marker>.</example>
|
|
500
|
+
<example type="incorrect">Il libro <marker>delle amica</marker></example>
|
|
501
|
+
</rule>
|
|
502
|
+
<rule>
|
|
503
|
+
<pattern>
|
|
504
|
+
<token postag='ARTPRE-F:s'/>
|
|
505
|
+
<token postag='NOUN-F:p'><exception postag="NOUN-F:s"/></token>
|
|
506
|
+
</pattern>
|
|
507
|
+
<message>La preposizione articolata non concorda con il sostantivo che la segue</message>
|
|
508
|
+
<example type="correct">Il libro <marker>dell'amica</marker>.</example>
|
|
509
|
+
<example type="incorrect">Il libro <marker>della amiche</marker></example>
|
|
510
|
+
</rule>
|
|
511
|
+
</rulegroup>
|
|
512
|
+
<rulegroup name="uso corretto" id="GR_07_001">
|
|
513
|
+
<!-- da -->
|
|
514
|
+
<rule>
|
|
515
|
+
<antipattern><!-- Se lo sai dà un pochino fastidio -->
|
|
516
|
+
<token skip="3">dà</token>
|
|
517
|
+
<token regexp="yes">fastidio|ragione|notizia|fiducia|vita|spazio|voce</token>
|
|
518
|
+
</antipattern>
|
|
519
|
+
<antipattern><!-- Chi vuole dà l'elemosina -->
|
|
520
|
+
<token skip="2" postag=".*WH.*" postag_regexp="yes"/>
|
|
521
|
+
<token postag_regexp="yes" postag="VER:ind.*"/>
|
|
522
|
+
</antipattern>
|
|
523
|
+
<antipattern><!-- Chi lo vede dà per scontato che vincerà -->
|
|
524
|
+
<token>dà</token>
|
|
525
|
+
<token postag="PRE"/>
|
|
526
|
+
</antipattern>
|
|
527
|
+
<pattern>
|
|
528
|
+
<token postag_regexp="yes" postag="VER:ind.*"><exception postag="(N.*)|(ADJ.*)" postag_regexp="yes"/></token>
|
|
529
|
+
<marker>
|
|
530
|
+
<token>dà</token>
|
|
531
|
+
</marker>
|
|
532
|
+
</pattern>
|
|
533
|
+
<message>Probabilmente si scrive senza accento: <suggestion>da</suggestion>.</message>
|
|
534
|
+
<example correction="da">Vengo <marker>dà</marker> Roma.</example>
|
|
535
|
+
<example correction="da">È <marker>dà</marker> due ore che ti aspetto.</example>
|
|
536
|
+
<example>L'opposizione russa dà voce alle sue inquietudini.</example>
|
|
537
|
+
<example>Sentirsi giudicati da chi non ti conosce dà un pochino fastidio.</example>
|
|
538
|
+
<example>Chi vuole dà l'elemosina.</example>
|
|
539
|
+
</rule>
|
|
540
|
+
<!-- PB002+ -->
|
|
541
|
+
<!-- assolvere a... -->
|
|
542
|
+
<rule>
|
|
543
|
+
<pattern>
|
|
544
|
+
<token regexp="yes">assolv.*|assols.*|assolt.*</token>
|
|
545
|
+
<marker>
|
|
546
|
+
<token>a</token>
|
|
547
|
+
</marker>
|
|
548
|
+
</pattern>
|
|
549
|
+
<message>Non si assolve a qualcosa, si assolve qualcosa. Rimuovere a <suggestion/></message>
|
|
550
|
+
<example correction="">Assolvere <marker>a</marker> un compito.</example>
|
|
551
|
+
<example>Assolvere<marker/> un compito.</example>
|
|
552
|
+
</rule>
|
|
553
|
+
<!-- interessarsi a... -->
|
|
554
|
+
<rule>
|
|
555
|
+
<pattern>
|
|
556
|
+
<token regexp="yes">mi|ti|si|ci|vi</token>
|
|
557
|
+
<token regexp="yes">interes.*</token>
|
|
558
|
+
<marker>
|
|
559
|
+
<token regexp="yes">a|al|ai</token>
|
|
560
|
+
</marker>
|
|
561
|
+
</pattern>
|
|
562
|
+
<message>Non ci si interessa a ma ci si interessa <suggestion>di</suggestion>...</message>
|
|
563
|
+
<example correction="di">Mi interesso <marker>al</marker> calcio.</example>
|
|
564
|
+
</rule>
|
|
565
|
+
<rule>
|
|
566
|
+
<pattern>
|
|
567
|
+
<token regexp="yes">interessar[mtscv]i</token>
|
|
568
|
+
<marker>
|
|
569
|
+
<token regexp="yes">a|al|ai</token>
|
|
570
|
+
</marker>
|
|
571
|
+
</pattern>
|
|
572
|
+
<message>Non ci si interessa a ma ci si interessa <suggestion>di</suggestion>...</message>
|
|
573
|
+
<example correction="di">Interessarsi <marker>al</marker> calcio.</example>
|
|
574
|
+
</rule>
|
|
575
|
+
<!-- promuovere a... -->
|
|
576
|
+
<rule>
|
|
577
|
+
<pattern>
|
|
578
|
+
<token regexp="yes">promuov.*|promoss.*</token>
|
|
579
|
+
<marker>
|
|
580
|
+
<token>a</token>
|
|
581
|
+
</marker>
|
|
582
|
+
</pattern>
|
|
583
|
+
<message>Non si promuove a qualcosa, si promuove qualcosa. Rimuovere a <suggestion/></message>
|
|
584
|
+
<example correction="">Fui promosso <marker>a</marker> direttore.</example>
|
|
585
|
+
<example>Fui promosso<marker/> direttore.</example>
|
|
586
|
+
</rule>
|
|
587
|
+
<!-- insistere a... -->
|
|
588
|
+
<rule>
|
|
589
|
+
<pattern>
|
|
590
|
+
<token regexp="yes">insist.*</token>
|
|
591
|
+
<marker>
|
|
592
|
+
<token>a</token>
|
|
593
|
+
</marker>
|
|
594
|
+
</pattern>
|
|
595
|
+
<message>Non si insiste a, si insiste <suggestion>nel</suggestion></message>
|
|
596
|
+
<example correction="nel">Insisto <marker>a</marker> dire che è così.</example>
|
|
597
|
+
</rule>
|
|
598
|
+
<!-- a gratis -->
|
|
599
|
+
<rule>
|
|
600
|
+
<pattern case_sensitive="no">
|
|
601
|
+
<token>a</token>
|
|
602
|
+
<token>gratis</token>
|
|
603
|
+
</pattern>
|
|
604
|
+
<message>Si scrive <suggestion>gratis</suggestion> (senza la preposizione).</message>
|
|
605
|
+
<example correction="gratis">Ovviamente... è tutto <marker>a gratis</marker>!</example>
|
|
606
|
+
</rule>
|
|
607
|
+
<!-- a nome Giuliano -->
|
|
608
|
+
<rule>
|
|
609
|
+
<pattern>
|
|
610
|
+
<marker>
|
|
611
|
+
<token>a</token>
|
|
612
|
+
<token>nome</token>
|
|
613
|
+
</marker>
|
|
614
|
+
<token postag="NPR"/>
|
|
615
|
+
</pattern>
|
|
616
|
+
<message>La forma corretta è <suggestion>di nome</suggestion> e non a nome.</message>
|
|
617
|
+
<example correction="di nome">Una ragazza <marker>a nome</marker> Francesca.</example>
|
|
618
|
+
</rule>
|
|
619
|
+
<!-- biglietto da visita -->
|
|
620
|
+
<rule>
|
|
621
|
+
<pattern>
|
|
622
|
+
<token regexp="yes">bigliett.*</token>
|
|
623
|
+
<marker>
|
|
624
|
+
<token>di</token>
|
|
625
|
+
</marker>
|
|
626
|
+
<token>visita</token>
|
|
627
|
+
</pattern>
|
|
628
|
+
<message>Biglietto <suggestion>da</suggestion> visita</message>
|
|
629
|
+
<example correction="da">Ecco il mio biglietto <marker>di</marker> visita.</example>
|
|
630
|
+
</rule>
|
|
631
|
+
|
|
632
|
+
<!-- PB002- -->
|
|
633
|
+
</rulegroup>
|
|
634
|
+
</category>
|
|
635
|
+
|
|
636
|
+
<!-- GRAMMATICA PRONOMI - GR_08
|
|
637
|
+
<category id="CATx" name="Grammatica - Pronomi"> -->
|
|
638
|
+
<!-- TO DO <rulegroup name="uso corretto" id="GR_08_001">
|
|
639
|
+
</rulegroup>
|
|
640
|
+
</category> -->
|
|
641
|
+
|
|
642
|
+
<!-- GRAMMATICA PUNTEGGIATURA - GR_09 -->
|
|
643
|
+
<category id="CAT6" name="Grammatica - Punteggiatura">
|
|
644
|
+
<rulegroup name="asterischi di omissione (***)" id="GR_09_001">
|
|
645
|
+
<rule>
|
|
646
|
+
<pattern>
|
|
647
|
+
<marker>
|
|
648
|
+
<token spacebefore="yes" regexp="no">*</token>
|
|
649
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
650
|
+
</marker>
|
|
651
|
+
<token><exception regexp="no">*</exception></token>
|
|
652
|
+
</pattern>
|
|
653
|
+
<message>L’asterisco si usa per un’omissione nel numero di tre consecutivi: <suggestion>***</suggestion>.</message>
|
|
654
|
+
<example correction="***">Preferisco non pensare a quel <marker>**</marker>.</example>
|
|
655
|
+
</rule>
|
|
656
|
+
<rule>
|
|
657
|
+
<pattern>
|
|
658
|
+
<token spacebefore="yes" regexp="no">*</token>
|
|
659
|
+
<token postag="SENT_END" regexp="no" spacebefore="no">*</token>
|
|
660
|
+
</pattern>
|
|
661
|
+
<message>L’asterisco si usa per un’omissione nel numero di tre consecutivi: <suggestion>***</suggestion>.</message>
|
|
662
|
+
<example correction="***">Preferisco non pensare a quel <marker>**</marker></example>
|
|
663
|
+
</rule>
|
|
664
|
+
<rule>
|
|
665
|
+
<pattern>
|
|
666
|
+
<marker>
|
|
667
|
+
<token spacebefore="yes" regexp="no">*</token>
|
|
668
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
669
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
670
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
671
|
+
</marker>
|
|
672
|
+
<token><exception regexp="no">*</exception></token>
|
|
673
|
+
</pattern>
|
|
674
|
+
<message>L’asterisco si usa per un’omissione nel numero di tre consecutivi: <suggestion>***</suggestion>.</message>
|
|
675
|
+
<example correction="***">Preferisco non pensare a quel <marker>****</marker>.</example>
|
|
676
|
+
</rule>
|
|
677
|
+
<rule>
|
|
678
|
+
<pattern>
|
|
679
|
+
<token spacebefore="yes" regexp="no">*</token>
|
|
680
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
681
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
682
|
+
<token postag="SENT_END" regexp="no" spacebefore="no">*</token>
|
|
683
|
+
</pattern>
|
|
684
|
+
<message>L’asterisco si usa per un’omissione nel numero di tre consecutivi: <suggestion>***</suggestion>.</message>
|
|
685
|
+
<example correction="***">Preferisco non pensare a quel <marker>****</marker></example>
|
|
686
|
+
</rule>
|
|
687
|
+
<rule>
|
|
688
|
+
<pattern>
|
|
689
|
+
<token spacebefore="yes" regexp="no">*</token>
|
|
690
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
691
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
692
|
+
<token regexp="no" spacebefore="no">*</token>
|
|
693
|
+
<token postag="SENT_END" regexp="no" spacebefore="no">*</token>
|
|
694
|
+
</pattern>
|
|
695
|
+
<message>L’asterisco si usa per un’omissione nel numero di tre consecutivi: <suggestion>***</suggestion>.</message>
|
|
696
|
+
<example correction="***">Preferisco non pensare a quel <marker>*****</marker></example>
|
|
697
|
+
</rule>
|
|
698
|
+
</rulegroup>
|
|
699
|
+
<rulegroup name="puntini di sospensione (...)" id="GR_09_002">
|
|
700
|
+
<rule>
|
|
701
|
+
<pattern>
|
|
702
|
+
<token>.</token>
|
|
703
|
+
<token>.</token>
|
|
704
|
+
<token>.</token>
|
|
705
|
+
<token>.</token>
|
|
706
|
+
</pattern>
|
|
707
|
+
<message>I puntini di sospensione si usano sempre nel numero di tre, per indicare la sospensione del discorso: <suggestion>...</suggestion>.</message>
|
|
708
|
+
<example correction="...">Lasciami pensare<marker>....</marker></example>
|
|
709
|
+
</rule>
|
|
710
|
+
</rulegroup>
|
|
711
|
+
<rulegroup name="ripetizioni" id="GR_09_003">
|
|
712
|
+
<!-- Punto esclamativo ripetuto (!) -->
|
|
713
|
+
<rule>
|
|
714
|
+
<pattern>
|
|
715
|
+
<token>!</token>
|
|
716
|
+
<token>!</token>
|
|
717
|
+
</pattern>
|
|
718
|
+
<message>Se ne mette uno solo: <suggestion>!</suggestion>.</message>
|
|
719
|
+
<example correction="!">Fammi parlare<marker>!!</marker></example>
|
|
720
|
+
</rule>
|
|
721
|
+
<!-- Punto interrogativo ripetuto (?) -->
|
|
722
|
+
<rule>
|
|
723
|
+
<pattern>
|
|
724
|
+
<token>?</token>
|
|
725
|
+
<token>?</token>
|
|
726
|
+
</pattern>
|
|
727
|
+
<message>Se ne mette uno solo: <suggestion>?</suggestion>.</message>
|
|
728
|
+
<example correction="?">Quando vieni<marker>??</marker></example>
|
|
729
|
+
</rule>
|
|
730
|
+
</rulegroup>
|
|
731
|
+
<rulegroup name="sigle" id="GR_09_004">
|
|
732
|
+
<!-- S.p.A. -->
|
|
733
|
+
<rule>
|
|
734
|
+
<pattern>
|
|
735
|
+
<token>spa</token>
|
|
736
|
+
</pattern>
|
|
737
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.p.A.</suggestion>.</message>
|
|
738
|
+
<example correction="S.p.A.">La Nomedifantasia <marker>spa</marker> offre nuovi servizi.</example>
|
|
739
|
+
</rule>
|
|
740
|
+
<!-- does not work due to sentence splitting
|
|
741
|
+
<rule>
|
|
742
|
+
<pattern case_sensitive="yes">
|
|
743
|
+
<token>S</token>
|
|
744
|
+
<token>.</token>
|
|
745
|
+
<token>P</token>
|
|
746
|
+
<token>.</token>
|
|
747
|
+
<token>A</token>
|
|
748
|
+
<token>.</token>
|
|
749
|
+
</pattern>
|
|
750
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.p.A.</suggestion>.</message>
|
|
751
|
+
<example correction="S.p.A.">La Nomedifantasia <marker>S.P.A.</marker> offre nuovi servizi.</example>
|
|
752
|
+
<example>La Nomedifantasia <marker>S.p.A.</marker> offre nuovi servizi.</example>
|
|
753
|
+
</rule>
|
|
754
|
+
-->
|
|
755
|
+
<rule>
|
|
756
|
+
<pattern case_sensitive="yes">
|
|
757
|
+
<token>S</token>
|
|
758
|
+
<token>.</token>
|
|
759
|
+
<token>p</token>
|
|
760
|
+
<token>.</token>
|
|
761
|
+
<token>a</token>
|
|
762
|
+
<token>.</token>
|
|
763
|
+
</pattern>
|
|
764
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.p.A.</suggestion>.</message>
|
|
765
|
+
<example correction="S.p.A.">La Nomedifantasia <marker>S.p.a.</marker> offre nuovi servizi.</example>
|
|
766
|
+
</rule>
|
|
767
|
+
<!-- S.R.L. -->
|
|
768
|
+
<rule>
|
|
769
|
+
<pattern>
|
|
770
|
+
<token>srl</token>
|
|
771
|
+
</pattern>
|
|
772
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.R.L.</suggestion>.</message>
|
|
773
|
+
<example correction="S.R.L.">La Nomedifantasia <marker>srl</marker> offre nuovi servizi.</example>
|
|
774
|
+
</rule>
|
|
775
|
+
<!-- does not work due to sentence splitting
|
|
776
|
+
<rule>
|
|
777
|
+
<pattern case_sensitive="yes">
|
|
778
|
+
<token>S</token>
|
|
779
|
+
<token>.</token>
|
|
780
|
+
<token>R</token>
|
|
781
|
+
<token>.</token>
|
|
782
|
+
<token>l</token>
|
|
783
|
+
<token>.</token>
|
|
784
|
+
</pattern>
|
|
785
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.R.L.</suggestion>.</message>
|
|
786
|
+
<example correction="S.R.L.">La Nomedifantasia <marker>S.R.l.</marker> offre nuovi servizi.</example>
|
|
787
|
+
<example>La Nomedifantasia <marker>S.R.L.</marker> offre nuovi servizi.</example>
|
|
788
|
+
</rule>
|
|
789
|
+
-->
|
|
790
|
+
<rule>
|
|
791
|
+
<pattern case_sensitive="yes">
|
|
792
|
+
<token>S</token>
|
|
793
|
+
<token>.</token>
|
|
794
|
+
<token>r</token>
|
|
795
|
+
<token>.</token>
|
|
796
|
+
<token>l</token>
|
|
797
|
+
<token>.</token>
|
|
798
|
+
</pattern>
|
|
799
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.R.L.</suggestion>.</message>
|
|
800
|
+
<example correction="S.R.L.">La Nomedifantasia <marker>S.r.l.</marker> offre nuovi servizi.</example>
|
|
801
|
+
</rule>
|
|
802
|
+
<!-- S.N.C. -->
|
|
803
|
+
<!-- does not work due to sentence splitting
|
|
804
|
+
<rule>
|
|
805
|
+
<pattern>
|
|
806
|
+
<token>snc</token>
|
|
807
|
+
</pattern>
|
|
808
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.N.C.</suggestion>.</message>
|
|
809
|
+
<example correction="S.N.C.">La Nomedifantasia <marker>snc</marker> offre nuovi servizi.</example>
|
|
810
|
+
<example>La Nomedifantasia <marker>S.R.L.</marker> offre nuovi servizi.</example>
|
|
811
|
+
</rule>
|
|
812
|
+
-->
|
|
813
|
+
<!--does not work due to sentence splitting
|
|
814
|
+
<rule>
|
|
815
|
+
<pattern case_sensitive="yes">
|
|
816
|
+
<token>S</token>
|
|
817
|
+
<token>.</token>
|
|
818
|
+
<token>N</token>
|
|
819
|
+
<token>.</token>
|
|
820
|
+
<token>c</token>
|
|
821
|
+
<token>.</token>
|
|
822
|
+
</pattern>
|
|
823
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.N.C.</suggestion>.</message>
|
|
824
|
+
<example correction="S.N.C.">La Nomedifantasia <marker>S.N.c.</marker> offre nuovi servizi.</example>
|
|
825
|
+
<example>La Nomedifantasia <marker>S.N.C.</marker> offre nuovi servizi.</example>
|
|
826
|
+
</rule>
|
|
827
|
+
<rule>
|
|
828
|
+
<pattern case_sensitive="yes">
|
|
829
|
+
<token>S</token>
|
|
830
|
+
<token>.</token>
|
|
831
|
+
<token>n</token>
|
|
832
|
+
<token>.</token>
|
|
833
|
+
<token>c</token>
|
|
834
|
+
<token>.</token>
|
|
835
|
+
</pattern>
|
|
836
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.N.C.</suggestion>.</message>
|
|
837
|
+
<example correction="S.N.C.">La Nomedifantasia <marker>S.n.c.</marker> offre nuovi servizi.</example>
|
|
838
|
+
</rule>
|
|
839
|
+
-->
|
|
840
|
+
<!-- S.A.S. -->
|
|
841
|
+
<rule>
|
|
842
|
+
<pattern>
|
|
843
|
+
<token>sas</token>
|
|
844
|
+
</pattern>
|
|
845
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.A.S.</suggestion>.</message>
|
|
846
|
+
<example correction="S.A.S.">La Nomedifantasia <marker>sas</marker> offre nuovi servizi.</example>
|
|
847
|
+
</rule>
|
|
848
|
+
<!-- does not work due to sentence splitting
|
|
849
|
+
<rule>
|
|
850
|
+
<pattern case_sensitive="yes">
|
|
851
|
+
<token>S</token>
|
|
852
|
+
<token>.</token>
|
|
853
|
+
<token>A</token>
|
|
854
|
+
<token>.</token>
|
|
855
|
+
<token>s</token>
|
|
856
|
+
<token>.</token>
|
|
857
|
+
</pattern>
|
|
858
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.A.S.</suggestion>.</message>
|
|
859
|
+
<example correction="S.A.S.">La Nomedifantasia <marker>S.A.s.</marker> offre nuovi servizi.</example>
|
|
860
|
+
<example>La Nomedifantasia <marker>S.A.S.</marker> offre nuovi servizi.</example>
|
|
861
|
+
</rule>
|
|
862
|
+
<rule>
|
|
863
|
+
<pattern case_sensitive="yes">
|
|
864
|
+
<token>S</token>
|
|
865
|
+
<token>.</token>
|
|
866
|
+
<token>a</token>
|
|
867
|
+
<token>.</token>
|
|
868
|
+
<token>s</token>
|
|
869
|
+
<token>.</token>
|
|
870
|
+
</pattern>
|
|
871
|
+
<message>Utilizzare la sigla corretta: <suggestion>S.A.S.</suggestion>.</message>
|
|
872
|
+
<example correction="S.A.S.">La Nomedifantasia <marker>S.a.s.</marker> offre nuovi servizi.</example>
|
|
873
|
+
</rule>
|
|
874
|
+
-->
|
|
875
|
+
</rulegroup>
|
|
876
|
+
</category>
|
|
877
|
+
|
|
878
|
+
<!-- GRAMMATICA VERBI - GR_10 -->
|
|
879
|
+
<category id="CAT7" name="Grammatica - Verbi">
|
|
880
|
+
|
|
881
|
+
<rule id="DOPPIO_VERBO_AUSILIARE_TERZA_PERSONA" name="Doppio verbo ausiliare terza persona">
|
|
882
|
+
<pattern>
|
|
883
|
+
<token postag='AUX:ind+pres+3+p'/>
|
|
884
|
+
<token postag='AUX:ind+pres+3+p'/>
|
|
885
|
+
</pattern>
|
|
886
|
+
<message>La frase contiene un verbo ausiliare ripetuto</message>
|
|
887
|
+
<short>Verbo ausiliare ripetuto</short>
|
|
888
|
+
<example correction=''>non <marker>sono vengono</marker> preparate con le tecnologie e le infrastrutture adatte</example>
|
|
889
|
+
</rule>
|
|
890
|
+
|
|
891
|
+
<rulegroup name="concordanza tempi delle coordinate" id="GR_10_001" default="off">
|
|
892
|
+
<!-- PB007 + -->
|
|
893
|
+
<!-- IND PRESENTE -->
|
|
894
|
+
<rule>
|
|
895
|
+
<pattern>
|
|
896
|
+
<token skip="-1" postag="VER.ind.pres.1.*" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
897
|
+
<token skip="-1" regexp="yes">e|o|ma</token>
|
|
898
|
+
<token postag="(VER.ind.past.1.*)|(VER.ind.impf.1.*)|(VER.ind.fut.1.*)" postag_regexp="yes"/>
|
|
899
|
+
</pattern>
|
|
900
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
901
|
+
<example correction="">Io <marker>navigo ma mi dirigevo</marker> nella direzione sbagliata.</example>
|
|
902
|
+
<example>Io <marker>navigo ma mi dirigo</marker> nella direzione sbagliata.</example>
|
|
903
|
+
</rule>
|
|
904
|
+
<rule>
|
|
905
|
+
<pattern>
|
|
906
|
+
<token skip="-1" postag="VER.ind.pres.2.*" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
907
|
+
<token skip="-1" regexp="yes">e|o|ma</token>
|
|
908
|
+
<token postag="(VER.ind.past.2.*)|(VER.ind.impf.2.*)|(VER.ind.fut.2.*)" postag_regexp="yes"/>
|
|
909
|
+
</pattern>
|
|
910
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
911
|
+
<example correction="">Tu <marker>navighi ma ti dirigevi</marker> nella direzione sbagliata.</example>
|
|
912
|
+
<example>Tu <marker>navighi ma ti dirigi</marker> nella direzione sbagliata.</example>
|
|
913
|
+
</rule>
|
|
914
|
+
<rule>
|
|
915
|
+
<pattern>
|
|
916
|
+
<token skip="-1" postag="VER.ind.pres.3.*" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
917
|
+
<token skip="-1" regexp="yes">e|o|ma</token>
|
|
918
|
+
<token postag="(VER.ind.past.3.*)|(VER.ind.impf.3.*)|(VER.ind.fut.3.*)" postag_regexp="yes"/>
|
|
919
|
+
</pattern>
|
|
920
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
921
|
+
<example correction="">La barca <marker>naviga ma si dirigeva</marker> nella direzione sbagliata.</example>
|
|
922
|
+
<example>La barca <marker>naviga ma si dirige</marker> nella direzione sbagliata.</example>
|
|
923
|
+
</rule>
|
|
924
|
+
|
|
925
|
+
<!-- IND FUTURO -->
|
|
926
|
+
<rule>
|
|
927
|
+
<pattern>
|
|
928
|
+
<token skip="-1" postag="VER.ind.fut.1.*" postag_regexp="yes"/>
|
|
929
|
+
<token skip="-1" regexp="yes">e|o|ma</token>
|
|
930
|
+
<token postag="(VER.ind.past.1.*)|(VER.ind.impf.1.*)|(VER.ind.pres.1.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
931
|
+
</pattern>
|
|
932
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
933
|
+
<example correction="">Questa notte <marker>camminerò nel buio e rischio</marker> di andare a sbattere contro una porta.</example>
|
|
934
|
+
<example>Questa notte <marker>camminerò nel buio e rischierò</marker> di andare a sbattere contro una porta.</example>
|
|
935
|
+
</rule>
|
|
936
|
+
<rule>
|
|
937
|
+
<pattern>
|
|
938
|
+
<token skip="-1" postag="VER.ind.fut.2.*" postag_regexp="yes"/>
|
|
939
|
+
<token skip="-1" regexp="yes">e|o|ma</token>
|
|
940
|
+
<token postag="(VER.ind.past.2.*)|(VER.ind.impf.2.*)|(VER.ind.pres.2.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
941
|
+
</pattern>
|
|
942
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
943
|
+
<example correction="">Questa notte <marker>camminerai nel buio e rischi</marker> di andare a sbattere contro una porta.</example>
|
|
944
|
+
<example>Questa notte <marker>camminerai nel buio e rischierai</marker> di andare a sbattere contro una porta.</example>
|
|
945
|
+
</rule>
|
|
946
|
+
<rule>
|
|
947
|
+
<pattern>
|
|
948
|
+
<token skip="-1" postag="VER.ind.fut.3.*" postag_regexp="yes"/>
|
|
949
|
+
<token skip="-1" regexp="yes">e|o|ma</token>
|
|
950
|
+
<token postag="(VER.ind.past.3.*)|(VER.ind.impf.3.*)|(VER.ind.pres.3.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
951
|
+
</pattern>
|
|
952
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
953
|
+
<example correction="">Questa notte <marker>camminerà nel buio e rischia</marker> di andare a sbattere contro una porta.</example>
|
|
954
|
+
<example>Questa notte <marker>camminerà nel buio e rischierà</marker> di andare a sbattere contro una porta.</example>
|
|
955
|
+
</rule>
|
|
956
|
+
|
|
957
|
+
<!-- IND IMPERFETTO -->
|
|
958
|
+
<rule>
|
|
959
|
+
<pattern>
|
|
960
|
+
<token skip="-1" postag="VER.ind.impf.1.*" postag_regexp="yes"/>
|
|
961
|
+
<token skip="-1" postag="CON"/>
|
|
962
|
+
<token postag="(VER.ind.fut.1.*)|(VER.ind.pres.1.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
963
|
+
</pattern>
|
|
964
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
965
|
+
<example correction="">Io <marker>aspettavo il tram e decido</marker> di telefonare.</example>
|
|
966
|
+
<example>Io <marker>aspettavo il tram e decidevo</marker> di telefonare.</example>
|
|
967
|
+
</rule>
|
|
968
|
+
<rule>
|
|
969
|
+
<pattern>
|
|
970
|
+
<token skip="-1" postag="VER.ind.impf.2.*" postag_regexp="yes"/>
|
|
971
|
+
<token skip="-1" postag="CON"/>
|
|
972
|
+
<token postag="(VER.ind.fut.2.*)|(VER.ind.pres.2.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
973
|
+
</pattern>
|
|
974
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
975
|
+
<example correction="">Tu <marker>aspettavi il tram e decidi</marker> di telefonare.</example>
|
|
976
|
+
<example>Tu <marker>aspettavi il tram e decidevi</marker> di telefonare.</example>
|
|
977
|
+
</rule>
|
|
978
|
+
<rule name="Indicativo Imperfetto 3 pers">
|
|
979
|
+
<pattern>
|
|
980
|
+
<token skip="-1" postag="VER.ind.impf.3.*" postag_regexp="yes"/>
|
|
981
|
+
<token skip="-1" postag="CON"/>
|
|
982
|
+
<token postag="(VER.ind.fut.3.*)|(VER.ind.pres.3.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
983
|
+
</pattern>
|
|
984
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
985
|
+
<example correction="">Clara <marker>aspettava il tram e decide</marker> di telefonare.</example>
|
|
986
|
+
<example>Clara <marker>aspettava il tram e decideva</marker> di telefonare.</example>
|
|
987
|
+
</rule>
|
|
988
|
+
|
|
989
|
+
<!-- IND PASSATO -->
|
|
990
|
+
<rule>
|
|
991
|
+
<pattern>
|
|
992
|
+
<token skip="-1" postag="VER.ind.past.1.*" postag_regexp="yes"/>
|
|
993
|
+
<token skip="-1" postag="CON"/>
|
|
994
|
+
<token postag="(VER.ind.fut.1.*)|(VER.ind.pres.1.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
995
|
+
</pattern>
|
|
996
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
997
|
+
<example correction="">Io <marker>aspettai il tram e decido</marker> di telefonare.</example>
|
|
998
|
+
<example>Io <marker>aspettai il tram e decisi</marker> di telefonare.</example>
|
|
999
|
+
</rule>
|
|
1000
|
+
<rule>
|
|
1001
|
+
<pattern>
|
|
1002
|
+
<token skip="-1" postag="VER.ind.past.2.*" postag_regexp="yes"/>
|
|
1003
|
+
<token skip="-1" postag="CON"/>
|
|
1004
|
+
<token postag="(VER.ind.fut.2.*)|(VER.ind.pres.2.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
1005
|
+
</pattern>
|
|
1006
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
1007
|
+
<example correction="">Tu <marker>aspettasti il tram e decidi</marker> di telefonare.</example>
|
|
1008
|
+
<example>Tu <marker>aspettasti il tram e decisi</marker> di telefonare.</example>
|
|
1009
|
+
</rule>
|
|
1010
|
+
<rule>
|
|
1011
|
+
<pattern>
|
|
1012
|
+
<token skip="-1" postag="VER.ind.past.3.*" postag_regexp="yes"/>
|
|
1013
|
+
<token skip="-1" postag="CON"/>
|
|
1014
|
+
<token postag="(VER.ind.fut.3.*)|(VER.ind.pres.3.*)" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
1015
|
+
</pattern>
|
|
1016
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
1017
|
+
<example correction="">Clara <marker>aspettò il tram e decide</marker> di telefonare.</example>
|
|
1018
|
+
<example>Clara <marker>aspettò il tram e decise</marker> di telefonare.</example>
|
|
1019
|
+
</rule>
|
|
1020
|
+
<!-- PB007 - -->
|
|
1021
|
+
</rulegroup>
|
|
1022
|
+
|
|
1023
|
+
<!-- TO DO <rulegroup name="Cocordanza tempi nelle subordinate" id="GR_10_002">
|
|
1024
|
+
<rule name="Indicativo Presente">
|
|
1025
|
+
<pattern>
|
|
1026
|
+
<token skip="-1" postag="VER.ind.*.*.*" postag_regexp="yes"><exception scope="previous" postag="(ART-F.*)|(ART-M.*)" postag_regexp="yes"/></token>
|
|
1027
|
+
<token skip="-1" regexp="yes">che|se</token>
|
|
1028
|
+
<token postag="(VER.ind.*.*.*)" postag_regexp="yes"/>
|
|
1029
|
+
</pattern>
|
|
1030
|
+
<message>Controllare il tempo dei verbi utilizzati nella frase.</message>
|
|
1031
|
+
<example correction="entute">Gianna <marker>pensa che è</marker> meglio rimanere a casa.</example>
|
|
1032
|
+
<example>Gianna <marker>pensa che sia</marker> meglio rimanere a casa.</example>
|
|
1033
|
+
</rule>
|
|
1034
|
+
</rulegroup> -->
|
|
1035
|
+
<rulegroup name="uso del congiuntivo" id="GR_10_003">
|
|
1036
|
+
<!-- PB008 + -->
|
|
1037
|
+
<!-- use of congiuntivo
|
|
1038
|
+
Il congiuntivo si usa:
|
|
1039
|
+
1) con alcune congiunzioni subordinanti, quali affinché, benché, sebbene, quantunque, a meno che, nel caso che, qualora, prima che, senza che;
|
|
1040
|
+
2) con aggettivi o pronomi indefiniti (qualunque, chiunque, qualsiasi, ovunque, dovunque);
|
|
1041
|
+
3) con espressioni impersonali, come è necessario che, è probabile che, è bene che;
|
|
1042
|
+
4) in formule ormai fissate nell'uso (vada come vada; costi quel che costi). -->
|
|
1043
|
+
<!-- congiunzioni subordinanti -->
|
|
1044
|
+
<rule>
|
|
1045
|
+
<pattern>
|
|
1046
|
+
<token regexp="yes">affinché|acciocché|purché|benché|sebbene|quantunque|qualora</token>
|
|
1047
|
+
<token min="0" max="3" postag="PRO-PERS-.*|ADV" postag_regexp="yes"/>
|
|
1048
|
+
<marker>
|
|
1049
|
+
<token postag="VER.*" postag_regexp="yes">
|
|
1050
|
+
<exception postag="(VER.sub.*)|(NOUN.*)" postag_regexp="yes"/>
|
|
1051
|
+
<exception scope="previous" postag="VER.sub.*" postag_regexp="yes"/>
|
|
1052
|
+
</token>
|
|
1053
|
+
</marker>
|
|
1054
|
+
</pattern>
|
|
1055
|
+
<message>La congiunzione '<match no="1"/>' richiede il congiuntivo.</message>
|
|
1056
|
+
<example correction="">Ti avviso affinché tu <marker>puoi</marker> rimediare.</example>
|
|
1057
|
+
<example>Ti avviso affinché tu <marker>possa</marker> rimediare.</example>
|
|
1058
|
+
</rule>
|
|
1059
|
+
<rule>
|
|
1060
|
+
<pattern>
|
|
1061
|
+
<token>a</token>
|
|
1062
|
+
<token>meno</token>
|
|
1063
|
+
<token>che</token>
|
|
1064
|
+
<token min="0" max="3" postag="PRO-PERS-.*|ADV" postag_regexp="yes"/>
|
|
1065
|
+
<marker>
|
|
1066
|
+
<token postag="VER.*" postag_regexp="yes">
|
|
1067
|
+
<exception postag="(VER.sub.*)|(NOUN.*)" postag_regexp="yes"/>
|
|
1068
|
+
<exception scope="previous" postag="VER.sub.*" postag_regexp="yes"/>
|
|
1069
|
+
</token>
|
|
1070
|
+
</marker>
|
|
1071
|
+
</pattern>
|
|
1072
|
+
<message>La congiunzione 'a meno che' richiede il congiuntivo.</message>
|
|
1073
|
+
<example correction="">Non possiamo vederci a meno che tu non <marker>puoi</marker> venire.</example>
|
|
1074
|
+
<example>Non possiamo vederci a meno che tu non <marker>possa</marker> venire.</example>
|
|
1075
|
+
</rule>
|
|
1076
|
+
<rule>
|
|
1077
|
+
<pattern>
|
|
1078
|
+
<token>nel</token>
|
|
1079
|
+
<token>caso</token>
|
|
1080
|
+
<token>che</token>
|
|
1081
|
+
<token min="0" max="3" postag="PRO-PERS-.*|ADV" postag_regexp="yes"/>
|
|
1082
|
+
<marker>
|
|
1083
|
+
<token postag="VER.*" postag_regexp="yes">
|
|
1084
|
+
<exception postag="(VER.sub.*)|(NOUN.*)" postag_regexp="yes"/>
|
|
1085
|
+
<exception scope="previous" postag="VER.sub.*" postag_regexp="yes"/>
|
|
1086
|
+
</token>
|
|
1087
|
+
</marker>
|
|
1088
|
+
</pattern>
|
|
1089
|
+
<message>La congiunzione 'nel caso che' richiede il congiuntivo.</message>
|
|
1090
|
+
<example correction="">Ci incontreremo nel caso che tu <marker>puoi</marker> venire.</example>
|
|
1091
|
+
<example>Ci incontreremo nel caso che tu <marker>possa</marker> venire.</example>
|
|
1092
|
+
</rule>
|
|
1093
|
+
<rule>
|
|
1094
|
+
<pattern>
|
|
1095
|
+
<token regexp="yes">prima|senza</token>
|
|
1096
|
+
<token>che</token>
|
|
1097
|
+
<token min="0" max="3" postag="PRO-PERS-.*|ADV" postag_regexp="yes"/>
|
|
1098
|
+
<marker>
|
|
1099
|
+
<token postag="VER.*" postag_regexp="yes">
|
|
1100
|
+
<exception postag="(VER.sub.*)|(NOUN.*)" postag_regexp="yes"/>
|
|
1101
|
+
<exception scope="previous" postag="VER.sub.*" postag_regexp="yes"/>
|
|
1102
|
+
</token>
|
|
1103
|
+
</marker>
|
|
1104
|
+
</pattern>
|
|
1105
|
+
<message>La congiunzione '<match no="1"/> che' richiede il congiuntivo.</message>
|
|
1106
|
+
<example correction="">Ti avviso prima che tu <marker>fai</marker> qualcosa di sbagliato.</example>
|
|
1107
|
+
<example>Ti avviso prima che tu <marker>faccia</marker> qualcosa di sbagliato.</example>
|
|
1108
|
+
</rule>
|
|
1109
|
+
<!-- aggettivi o pronomi indefiniti -->
|
|
1110
|
+
<rule>
|
|
1111
|
+
<pattern>
|
|
1112
|
+
<token regexp="yes">qualunque|qualsiasi|ovunque|dovunque</token> <!--chiunque-->
|
|
1113
|
+
<token min="0" max="3" postag="PRO-PERS-.*|ADV" postag_regexp="yes"/>
|
|
1114
|
+
<marker>
|
|
1115
|
+
<token postag="VER.*" postag_regexp="yes">
|
|
1116
|
+
<exception postag="(VER.sub.*)|(NOUN.*)" postag_regexp="yes"/>
|
|
1117
|
+
<exception scope="previous" postag="VER.sub.*" postag_regexp="yes"/>
|
|
1118
|
+
</token>
|
|
1119
|
+
</marker>
|
|
1120
|
+
</pattern>
|
|
1121
|
+
<message>L'aggettivo '<match no="1"/>' richiede il congiuntivo.</message>
|
|
1122
|
+
<example correction="">Ti troverò ovunque tu <marker>sei</marker>.</example>
|
|
1123
|
+
<example>Ti troverò ovunque tu <marker>sia</marker>.</example>
|
|
1124
|
+
<example>Chiunque può apprezzare i risultati ottenuti.</example>
|
|
1125
|
+
<example>Qualunque cosa dirai, non ti crederò.</example>
|
|
1126
|
+
<example>Qualsiasi modo mi va bene.</example>
|
|
1127
|
+
</rule>
|
|
1128
|
+
<!-- espressioni impersonali è bene che, è meglio che -->
|
|
1129
|
+
<rule>
|
|
1130
|
+
<pattern>
|
|
1131
|
+
<token>è</token>
|
|
1132
|
+
<token regexp="yes">bene|meglio</token>
|
|
1133
|
+
<token>che</token>
|
|
1134
|
+
<token min="0" max="3" postag="PRO-PERS-.*|ADV" postag_regexp="yes"/>
|
|
1135
|
+
<marker>
|
|
1136
|
+
<token postag="VER.*" postag_regexp="yes">
|
|
1137
|
+
<exception postag="(VER.sub.*)|(NOUN.*)" postag_regexp="yes"/>
|
|
1138
|
+
<exception scope="previous" postag="VER.sub.*" postag_regexp="yes"/>
|
|
1139
|
+
</token>
|
|
1140
|
+
</marker>
|
|
1141
|
+
</pattern>
|
|
1142
|
+
<message>L'espressione impersonale 'è <match no="2"/> che' richiede il congiuntivo.</message>
|
|
1143
|
+
<example correction="">Credimi, è meglio che tu <marker>sei</marker> vicino.</example>
|
|
1144
|
+
<example>Credimi, è meglio che tu <marker>sia</marker> vicino.</example>
|
|
1145
|
+
<example>È così che funziona.</example>
|
|
1146
|
+
</rule>
|
|
1147
|
+
<!-- PB008 - -->
|
|
1148
|
+
</rulegroup>
|
|
1149
|
+
<!-- PB009 + -->
|
|
1150
|
+
<rulegroup name="uso corretto" id="GR_10_004">
|
|
1151
|
+
<!-- adire le vie legali -->
|
|
1152
|
+
<rule>
|
|
1153
|
+
<pattern>
|
|
1154
|
+
<token inflected="yes">adire</token>
|
|
1155
|
+
<marker>
|
|
1156
|
+
<token regexp="yes" skip="1">a|alle|per</token>
|
|
1157
|
+
<token>vie</token>
|
|
1158
|
+
<token>legali</token>
|
|
1159
|
+
</marker>
|
|
1160
|
+
</pattern>
|
|
1161
|
+
<message>Adire è un verbo transitivo per cui si adisce <suggestion>le vie legali</suggestion></message>
|
|
1162
|
+
<example correction="le vie legali">Giorgio fu costretto a adire <marker>per le vie legali</marker> per far valere i propri diritti.</example>
|
|
1163
|
+
</rule>
|
|
1164
|
+
<rule>
|
|
1165
|
+
<pattern>
|
|
1166
|
+
<marker>
|
|
1167
|
+
<token inflected="yes">aderire</token>
|
|
1168
|
+
<token>alle</token>
|
|
1169
|
+
</marker>
|
|
1170
|
+
<token>vie</token>
|
|
1171
|
+
<token>legali</token>
|
|
1172
|
+
</pattern>
|
|
1173
|
+
<message>Non si aderisce alle vie legali ma si adisce le vie legali.</message>
|
|
1174
|
+
<example correction="">Giorgio fu costretto a <marker>aderire alle</marker> vie legali per far valere i propri diritti.</example>
|
|
1175
|
+
<example>Giorgio fu costretto a <marker>adire le</marker> vie legali per far valere i propri diritti.</example>
|
|
1176
|
+
</rule>
|
|
1177
|
+
</rulegroup>
|
|
1178
|
+
<!-- PB009 - -->
|
|
1179
|
+
</category>
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
<!-- STILE ESPRESSIONI - ST_01 -->
|
|
1185
|
+
<category id="CAT8" name="Stile - Espressioni">
|
|
1186
|
+
<!-- TO DO <rulegroup name="arcaiche" id="ST_01_001">
|
|
1187
|
+
</rulegroup> -->
|
|
1188
|
+
<!-- PB002+ -->
|
|
1189
|
+
<!--
|
|
1190
|
+
<rulegroup name="parlato" id="ST_01_002">
|
|
1191
|
+
-->
|
|
1192
|
+
<!-- PB002- -->
|
|
1193
|
+
<!-- a gratis -->
|
|
1194
|
+
<!-- PB002+ -->
|
|
1195
|
+
<!--
|
|
1196
|
+
<rule>
|
|
1197
|
+
<pattern mark_from="0" case_sensitive="no">
|
|
1198
|
+
<token>a</token>
|
|
1199
|
+
<token>gratis</token>
|
|
1200
|
+
</pattern>
|
|
1201
|
+
<message>Si scrive <suggestion>gratis</suggestion> (senza la preposizione).</message>
|
|
1202
|
+
<example>Ovviamente... è tutto <marker>gratis</marker>!</example>
|
|
1203
|
+
<example correction="attimo">Ovviamente... è tutto <marker>a gratis</marker>!</example>
|
|
1204
|
+
</rule>
|
|
1205
|
+
</rulegroup>
|
|
1206
|
+
-->
|
|
1207
|
+
<!-- PB002- -->
|
|
1208
|
+
|
|
1209
|
+
<!-- PB004+ -->
|
|
1210
|
+
<rulegroup name="parlato" id="ST_01_002">
|
|
1211
|
+
|
|
1212
|
+
<!-- attimino -->
|
|
1213
|
+
<rule>
|
|
1214
|
+
<pattern case_sensitive="no">
|
|
1215
|
+
<token>attimino</token>
|
|
1216
|
+
</pattern>
|
|
1217
|
+
<message>Si consiglia di utilizzare <suggestion>attimo</suggestion>.</message>
|
|
1218
|
+
<example>Mi aspetti un <marker>attimo</marker>?</example>
|
|
1219
|
+
<example correction="attimo">Mi aspetti un <marker>attimino</marker>?</example>
|
|
1220
|
+
</rule>
|
|
1221
|
+
<!-- momentino -->
|
|
1222
|
+
<rule>
|
|
1223
|
+
<pattern case_sensitive="no">
|
|
1224
|
+
<token>momentino</token>
|
|
1225
|
+
</pattern>
|
|
1226
|
+
<message>Si consiglia di utilizzare <suggestion>momento</suggestion>.</message>
|
|
1227
|
+
<example correction="momento">Mi aspetti un <marker>momentino</marker>?</example>
|
|
1228
|
+
</rule>
|
|
1229
|
+
</rulegroup>
|
|
1230
|
+
<!-- PB004- -->
|
|
1231
|
+
|
|
1232
|
+
<rulegroup name="pleonasmi" id="ST_01_003">
|
|
1233
|
+
<!-- PB0013 + -->
|
|
1234
|
+
<!-- ma però grazie Valerio Summo per il suggerimento-->
|
|
1235
|
+
<rule>
|
|
1236
|
+
<pattern>
|
|
1237
|
+
<token>ma</token>
|
|
1238
|
+
<token>però</token>
|
|
1239
|
+
</pattern>
|
|
1240
|
+
<message>Ma e però non possono essere usati insieme.</message>
|
|
1241
|
+
<example correction="">Sono arrivato <marker>ma però</marker> me ne vado subito.</example>
|
|
1242
|
+
<example>Sono arrivato però me ne vado subito.</example>
|
|
1243
|
+
</rule>
|
|
1244
|
+
<!-- PB0013 -->
|
|
1245
|
+
<!-- a me mi -->
|
|
1246
|
+
<rule>
|
|
1247
|
+
<pattern case_sensitive="no">
|
|
1248
|
+
<token>a</token>
|
|
1249
|
+
<token regexp="yes">me|noi</token>
|
|
1250
|
+
<token regexp="yes">mi|ci</token>
|
|
1251
|
+
</pattern>
|
|
1252
|
+
<message>Si tratta di una ripetizione. Meglio scegliere una delle due forme: <suggestion><match no="1"/> <match no="2"/></suggestion> oppure <suggestion><match no="3"/></suggestion>.</message>
|
|
1253
|
+
<example correction="A me|Mi"><marker>A me mi</marker> piace il gelato.</example>
|
|
1254
|
+
<example>Mi piace il gelato.</example>
|
|
1255
|
+
</rule>
|
|
1256
|
+
<rule>
|
|
1257
|
+
<pattern case_sensitive="no">
|
|
1258
|
+
<token>a</token>
|
|
1259
|
+
<token regexp="yes">te|voi</token>
|
|
1260
|
+
<token regexp="yes">ti|vi</token>
|
|
1261
|
+
</pattern>
|
|
1262
|
+
<message>Si tratta di una ripetizione. Meglio scegliere una delle due forme: <suggestion><match no="1"/> <match no="2"/></suggestion> oppure <suggestion><match no="3"/></suggestion>.</message>
|
|
1263
|
+
<example correction="A te|Ti"><marker>A te ti</marker> pare strano.</example>
|
|
1264
|
+
<example>Ti pare strano.</example>
|
|
1265
|
+
</rule>
|
|
1266
|
+
<rule>
|
|
1267
|
+
<pattern case_sensitive="no">
|
|
1268
|
+
<token>a</token>
|
|
1269
|
+
<token regexp="yes">lui|lei</token>
|
|
1270
|
+
<token regexp="yes">gli|le</token>
|
|
1271
|
+
</pattern>
|
|
1272
|
+
<message>Si tratta di una ripetizione. Meglio scegliere una delle due forme: <suggestion><match no="1"/> <match no="2"/></suggestion> oppure <suggestion><match no="3"/></suggestion>.</message>
|
|
1273
|
+
<example correction="A lui|Gli"><marker>A lui gli</marker> faceva comodo.</example>
|
|
1274
|
+
<example>Gli faceva comodo.</example>
|
|
1275
|
+
</rule>
|
|
1276
|
+
<rule>
|
|
1277
|
+
<pattern case_sensitive="no">
|
|
1278
|
+
<token>a</token>
|
|
1279
|
+
<token>loro</token>
|
|
1280
|
+
<token>gli</token>
|
|
1281
|
+
</pattern>
|
|
1282
|
+
<message>Si tratta di una ripetizione. Meglio scegliere una delle due forme: <suggestion><match no="1"/> <match no="2"/></suggestion> oppure <suggestion><match no="3"/></suggestion>.</message>
|
|
1283
|
+
<example correction="A loro|Gli"><marker>A loro gli</marker> era utile.</example>
|
|
1284
|
+
<example>Gli era utile.</example>
|
|
1285
|
+
</rule>
|
|
1286
|
+
<!-- abolire interamente -->
|
|
1287
|
+
<rule>
|
|
1288
|
+
<pattern>
|
|
1289
|
+
<token inflected="yes" skip="4" regexp="yes">abolire|eliminare|abrogare|togliere|levare|depennare|cancellare|cassare</token>
|
|
1290
|
+
<token regexp="yes">interamente|completamente|totalmente|integralmente</token>
|
|
1291
|
+
</pattern>
|
|
1292
|
+
<message>Si tratta di una ripetizione, meglio usare <suggestion>\1</suggestion>.</message>
|
|
1293
|
+
<example correction="abolito">La commissione ha <marker>abolito interamente</marker> il provvedimento.</example>
|
|
1294
|
+
</rule>
|
|
1295
|
+
<!-- io personalmente -->
|
|
1296
|
+
<rule>
|
|
1297
|
+
<pattern>
|
|
1298
|
+
<token>io</token>
|
|
1299
|
+
<token>personalmente</token>
|
|
1300
|
+
</pattern>
|
|
1301
|
+
<message>Si consiglia di evitare questa ridondanza a meno che non si intenda, ad esempio, tenere distinte le proprie opinioni personali da quelle che competono alla propria funzione, al proprio "ruolo istituzionale".</message>
|
|
1302
|
+
<example correction="">Verrò <marker>io personalmente</marker> a trovarla.</example>
|
|
1303
|
+
<example>Verrò <marker>personalmente</marker> a trovarla.</example>
|
|
1304
|
+
</rule>
|
|
1305
|
+
<!-- più migliore -->
|
|
1306
|
+
<rule>
|
|
1307
|
+
<pattern>
|
|
1308
|
+
<token>più</token>
|
|
1309
|
+
<token regexp="yes">migliore|peggiore|superiore|inferiore|maggiore|ulteriore|posteriore|interiore|esteriore|citeriore|anteriore</token>
|
|
1310
|
+
</pattern>
|
|
1311
|
+
<message>Il più è ridondante in quanto la gradazione di comparazione è già contemplata nell'aggettivo. Sostituire con: <suggestion><match no="2"/></suggestion>.</message>
|
|
1312
|
+
<example correction="migliore">Usa questo prodotto che è <marker>più migliore</marker> del tuo.</example>
|
|
1313
|
+
</rule>
|
|
1314
|
+
<!-- più molto -->
|
|
1315
|
+
<rule>
|
|
1316
|
+
<pattern>
|
|
1317
|
+
<token>più</token>
|
|
1318
|
+
<token>molto</token>
|
|
1319
|
+
</pattern>
|
|
1320
|
+
<message>E' un errore creare il comparativo di maggioranza degli avverbi molto e poco. Si scrive <suggestion>di più</suggestion>.</message>
|
|
1321
|
+
<example correction="di più">Il calcio mi piace, ma il motociclismo mi piace <marker>più molto</marker>.</example>
|
|
1322
|
+
<example>Il calcio mi piace, ma il motociclismo mi piace di più.</example>
|
|
1323
|
+
</rule>
|
|
1324
|
+
<!-- più poco -->
|
|
1325
|
+
<rule>
|
|
1326
|
+
<pattern>
|
|
1327
|
+
<token>più</token>
|
|
1328
|
+
<token>poco</token>
|
|
1329
|
+
</pattern>
|
|
1330
|
+
<message>E' un errore creare il comparativo di maggioranza degli avverbi molto e poco. Si scrive <suggestion>meno</suggestion>.</message>
|
|
1331
|
+
<example correction="meno">Stasera abbiamo ballato <marker>più poco</marker> del solito.</example>
|
|
1332
|
+
<example>Stasera abbiamo ballato meno del solito.</example>
|
|
1333
|
+
</rule>
|
|
1334
|
+
</rulegroup>
|
|
1335
|
+
<rulegroup name="regionali" id="ST_01_004">
|
|
1336
|
+
<!-- anguria -->
|
|
1337
|
+
<rule>
|
|
1338
|
+
<pattern>
|
|
1339
|
+
<token regexp="yes">anguria|angurie</token>
|
|
1340
|
+
</pattern>
|
|
1341
|
+
<message>Sostituire forme dialettali con l'equivalente Italiano per migliorare la leggibilità: <suggestion>cocomero</suggestion>.</message>
|
|
1342
|
+
<example correction="cocomero">Abbiamo mangiato un'<marker>anguria</marker>.</example>
|
|
1343
|
+
<example>Abbiamo mangiato un <marker>cocomero</marker>.</example>
|
|
1344
|
+
</rule>
|
|
1345
|
+
<!-- asparagio -->
|
|
1346
|
+
<rule>
|
|
1347
|
+
<pattern>
|
|
1348
|
+
<token>asparagio</token>
|
|
1349
|
+
</pattern>
|
|
1350
|
+
<message>Sostituire forme dialettali con l'equivalente Italiano per migliorare la leggibilità: <suggestion>asparago</suggestion>.</message>
|
|
1351
|
+
<example correction="asparago">Ho colto un <marker>asparagio</marker>.</example>
|
|
1352
|
+
</rule>
|
|
1353
|
+
<!-- pedalino -->
|
|
1354
|
+
<rule>
|
|
1355
|
+
<pattern>
|
|
1356
|
+
<token regexp="yes">pedalino|pedalini</token>
|
|
1357
|
+
</pattern>
|
|
1358
|
+
<message>Sostituire forme dialettali con l'equivalente Italiano per migliorare la leggibilità: <suggestion>calza</suggestion>.</message>
|
|
1359
|
+
<example correction="calza">Mauro portava un paio di <marker>pedalini</marker> bianchi.</example>
|
|
1360
|
+
<example>Mauro portava un paio di <marker>calze</marker> bianche.</example>
|
|
1361
|
+
</rule>
|
|
1362
|
+
<!-- pomidoro -->
|
|
1363
|
+
<rule>
|
|
1364
|
+
<pattern>
|
|
1365
|
+
<token regexp="yes">pomidoro|pomidori</token>
|
|
1366
|
+
</pattern>
|
|
1367
|
+
<message>Sostituire forme dialettali con l'equivalente Italiano per migliorare la leggibilità: <suggestion>pomodoro</suggestion>.</message>
|
|
1368
|
+
<example correction="pomodoro">Il <marker>pomidoro</marker> era maturo.</example>
|
|
1369
|
+
</rule>
|
|
1370
|
+
</rulegroup>
|
|
1371
|
+
<rulegroup name="straniere" id="ST_01_005">
|
|
1372
|
+
<!-- budget -->
|
|
1373
|
+
<rule>
|
|
1374
|
+
<pattern>
|
|
1375
|
+
<token>budget</token>
|
|
1376
|
+
</pattern>
|
|
1377
|
+
<message><suggestion>bilancio</suggestion> <suggestion>bilancio di previsione</suggestion> <suggestion>stanziamento</suggestion></message>
|
|
1378
|
+
<example correction="bilancio|bilancio di previsione|stanziamento"><marker>budget</marker></example>
|
|
1379
|
+
<example><marker>bilancio</marker></example>
|
|
1380
|
+
</rule>
|
|
1381
|
+
<!-- input -->
|
|
1382
|
+
<rule>
|
|
1383
|
+
<pattern>
|
|
1384
|
+
<token>input</token>
|
|
1385
|
+
</pattern>
|
|
1386
|
+
<message><suggestion>ingresso</suggestion> <suggestion>entrata</suggestion> <suggestion>immissione</suggestion></message>
|
|
1387
|
+
<example correction="ingresso|entrata|immissione"><marker>input</marker></example>
|
|
1388
|
+
<example><marker>ingresso</marker></example>
|
|
1389
|
+
</rule>
|
|
1390
|
+
<!-- output -->
|
|
1391
|
+
<rule>
|
|
1392
|
+
<pattern>
|
|
1393
|
+
<token>output</token>
|
|
1394
|
+
</pattern>
|
|
1395
|
+
<message><suggestion>uscita</suggestion> <suggestion>prodotto</suggestion> <suggestion>produzione</suggestion></message>
|
|
1396
|
+
<example correction="uscita|prodotto|produzione"><marker>output</marker></example>
|
|
1397
|
+
<example><marker>uscita</marker></example>
|
|
1398
|
+
</rule>
|
|
1399
|
+
<!-- penalty -->
|
|
1400
|
+
<rule>
|
|
1401
|
+
<pattern>
|
|
1402
|
+
<token>penalty</token>
|
|
1403
|
+
</pattern>
|
|
1404
|
+
<message><suggestion>rigore</suggestion> <suggestion>calcio di rigore</suggestion> <suggestion>punizione</suggestion></message>
|
|
1405
|
+
<example correction="rigore|calcio di rigore|punizione"><marker>penalty</marker></example>
|
|
1406
|
+
<example><marker>rigore</marker></example>
|
|
1407
|
+
</rule>
|
|
1408
|
+
<!-- show -->
|
|
1409
|
+
<rule>
|
|
1410
|
+
<pattern>
|
|
1411
|
+
<token>show</token>
|
|
1412
|
+
</pattern>
|
|
1413
|
+
<message><suggestion>spettacolo</suggestion></message>
|
|
1414
|
+
<example correction="spettacolo"><marker>show</marker></example>
|
|
1415
|
+
</rule>
|
|
1416
|
+
<!-- trend -->
|
|
1417
|
+
<rule>
|
|
1418
|
+
<pattern>
|
|
1419
|
+
<token>trend</token>
|
|
1420
|
+
</pattern>
|
|
1421
|
+
<message><suggestion>tendenza</suggestion> <suggestion>orientamento</suggestion> <suggestion>corso</suggestion> <suggestion>evoluzione</suggestion></message>
|
|
1422
|
+
<example correction="tendenza|orientamento|corso|evoluzione"><marker>trend</marker></example>
|
|
1423
|
+
<example><marker>tendenza</marker></example>
|
|
1424
|
+
</rule>
|
|
1425
|
+
|
|
1426
|
+
</rulegroup>
|
|
1427
|
+
<!-- TO DO <rulegroup name="uso errato" id="ST_01_006">
|
|
1428
|
+
</rulegroup> -->
|
|
1429
|
+
</category>
|
|
1430
|
+
|
|
1431
|
+
<!-- STILE FRASE - ST_02 -->
|
|
1432
|
+
<category id="CAT9" name="Stile - Frase">
|
|
1433
|
+
<rulegroup name="frasi lunghe" id="ST_02_001" default="off">
|
|
1434
|
+
<!-- 40 parole -->
|
|
1435
|
+
<rule>
|
|
1436
|
+
<pattern>
|
|
1437
|
+
<token postag="SENT_START" />
|
|
1438
|
+
<marker>
|
|
1439
|
+
<token /><token /><token /><token /><token />
|
|
1440
|
+
<token /><token /><token /><token /><token />
|
|
1441
|
+
<token /><token /><token /><token /><token />
|
|
1442
|
+
<token /><token /><token /><token /><token />
|
|
1443
|
+
<token /><token /><token /><token /><token />
|
|
1444
|
+
<token /><token /><token /><token /><token />
|
|
1445
|
+
<token /><token /><token /><token /><token />
|
|
1446
|
+
<token /><token /><token /><token /><token skip="-1"/>
|
|
1447
|
+
<token postag="SENT_END" />
|
|
1448
|
+
</marker>
|
|
1449
|
+
</pattern>
|
|
1450
|
+
<message>Si suggerisce di frammentare questa frase perché risulta troppo lunga.</message>
|
|
1451
|
+
<example correction=""><marker>La casa aveva tante cose da vedere e da toccare con mano attenta a non romperle e occhio pronto ad ammirarle in tutto lo splendore infuso loro dalla cura maniacale per la perfezione che la padrona esibiva in qualunque sua attività ogni giorno che passava.</marker></example>
|
|
1452
|
+
<example><marker>La casa era piena di cose.</marker></example>
|
|
1453
|
+
</rule>
|
|
1454
|
+
</rulegroup>
|
|
1455
|
+
</category>
|
|
1456
|
+
|
|
1457
|
+
<!-- STILE FRASE - ST_03 -->
|
|
1458
|
+
<category id="CAT10" name="Stile - Leggibilità">
|
|
1459
|
+
<rulegroup name="eufoniche" id="ST_03_001">
|
|
1460
|
+
<!-- togli ad (escludi ad esempio) -->
|
|
1461
|
+
<rule>
|
|
1462
|
+
<pattern>
|
|
1463
|
+
<token>ad</token>
|
|
1464
|
+
<token regexp="yes">[eiou].*<exception regexp="yes">esempio|es</exception></token>
|
|
1465
|
+
</pattern>
|
|
1466
|
+
<message>L'uso della d eufonica dovrebbe essere limitato ai casi d'incontro della stessa vocale: <suggestion>a <match no="2"/></suggestion>.</message>
|
|
1467
|
+
<example correction="a interpretare">Provo <marker>ad interpretare</marker> il tuo pensiero.</example>
|
|
1468
|
+
<example>Io, <marker>ad esempio</marker>, non ci sono cascato.</example>
|
|
1469
|
+
</rule>
|
|
1470
|
+
<!-- togli ed -->
|
|
1471
|
+
<rule>
|
|
1472
|
+
<pattern>
|
|
1473
|
+
<token>ed</token>
|
|
1474
|
+
<token regexp="yes">[aiou].*</token>
|
|
1475
|
+
</pattern>
|
|
1476
|
+
<message>L'uso della 'd' eufonica dovrebbe essere limitato ai casi d'incontro della stessa vocale: <suggestion>e <match no="2"/></suggestion>.</message>
|
|
1477
|
+
<example correction="e insisto">Ti dico <marker>ed insisto</marker> che è vero.</example>
|
|
1478
|
+
</rule>
|
|
1479
|
+
<!-- togli od -->
|
|
1480
|
+
<rule>
|
|
1481
|
+
<pattern>
|
|
1482
|
+
<token>od</token>
|
|
1483
|
+
<token regexp="yes">[aieu].*</token>
|
|
1484
|
+
</pattern>
|
|
1485
|
+
<message>L'uso della 'd' eufonica dovrebbe essere limitato ai casi d'incontro della stessa vocale: <suggestion>o <match no="2"/></suggestion>.</message>
|
|
1486
|
+
<example correction="o un">Si consiglia un farmaco blando <marker>od un</marker> omeopatico.</example>
|
|
1487
|
+
</rule>
|
|
1488
|
+
|
|
1489
|
+
<!-- metti ad -->
|
|
1490
|
+
<rule>
|
|
1491
|
+
<pattern>
|
|
1492
|
+
<token>a</token>
|
|
1493
|
+
<token regexp="yes">[a].*|esempio|es</token>
|
|
1494
|
+
</pattern>
|
|
1495
|
+
<message>In questo caso l'uso della 'd' eufonica è ammesso: <suggestion>ad <match no="2"/></suggestion>.</message>
|
|
1496
|
+
<example correction="ad arrivare">Provo <marker>a arrivare</marker> prima di te.</example>
|
|
1497
|
+
<example>Io, <marker>ad esempio</marker>, non ci sono cascato.</example>
|
|
1498
|
+
</rule>
|
|
1499
|
+
<!-- metti ed -->
|
|
1500
|
+
<rule>
|
|
1501
|
+
<pattern>
|
|
1502
|
+
<token>e</token>
|
|
1503
|
+
<token regexp="yes">[e].*</token>
|
|
1504
|
+
</pattern>
|
|
1505
|
+
<message>In questo caso l'uso della 'd' eufonica è ammesso: <suggestion>ed <match no="2"/></suggestion>.</message>
|
|
1506
|
+
<example correction="ed effettua">Si concentra <marker>e effettua</marker> una bella manovra.</example>
|
|
1507
|
+
</rule>
|
|
1508
|
+
<!-- metti od -->
|
|
1509
|
+
<rule>
|
|
1510
|
+
<pattern>
|
|
1511
|
+
<token>o</token>
|
|
1512
|
+
<token regexp="yes">[o].*</token>
|
|
1513
|
+
</pattern>
|
|
1514
|
+
<message>In questo caso l'uso della 'd' eufonica è ammesso: <suggestion>od <match no="2"/></suggestion>.</message>
|
|
1515
|
+
<example correction="od ogni">Puoi vederlo ogni mattina <marker>o ogni</marker> sera.</example>
|
|
1516
|
+
<example>Puoi vederlo ogni mattina <marker>od ogni</marker> sera.</example>
|
|
1517
|
+
</rule>
|
|
1518
|
+
</rulegroup>
|
|
1519
|
+
<rulegroup name="ripetizioni" id="ST_03_002" default="off">
|
|
1520
|
+
<rule>
|
|
1521
|
+
<pattern>
|
|
1522
|
+
<!-- PB001 + -->
|
|
1523
|
+
<!--
|
|
1524
|
+
<token skip="-1" regexp="yes">[qwertyuiopasdfghjklzxcvbnm].*<exception postag="ART.*|CON" postag_regexp="yes"/></token>
|
|
1525
|
+
-->
|
|
1526
|
+
<!-- PB010 + -->
|
|
1527
|
+
<!--
|
|
1528
|
+
<token skip="-1" regexp="yes">[qwertyuiopasdfghjklzxcvbnm].*<exception postag="PRE|ARTPRE.*|ART.*|CON|PON" postag_regexp="yes"></exception><exception regexp="yes">l|dell|all|sull|dall|nell</exception></token>
|
|
1529
|
+
-->
|
|
1530
|
+
<token skip="-1" postag_regexp="yes" postag="ADJ.*|ADV.*|NOUN.*|VER.*"/>
|
|
1531
|
+
<!-- PB001 - -->
|
|
1532
|
+
<marker>
|
|
1533
|
+
<token>
|
|
1534
|
+
<match no="0"/>
|
|
1535
|
+
<exception inflected="yes">essere</exception>
|
|
1536
|
+
<!-- 181 + -->
|
|
1537
|
+
<exception scope="previous" regexp="yes">via|così|Duran|Pago|Wagga</exception>
|
|
1538
|
+
<!-- 181 - -->
|
|
1539
|
+
</token>
|
|
1540
|
+
</marker>
|
|
1541
|
+
<!-- PB010 - -->
|
|
1542
|
+
</pattern>
|
|
1543
|
+
<message>Si consiglia di rivedere la frase al fine di eliminare la ripetizione della parola: <match no="1"/>.</message>
|
|
1544
|
+
<example correction="">Il bambino aveva capito bene l'altro <marker>bambino</marker> di fronte a se.</example>
|
|
1545
|
+
<example>Il bambino aveva capito bene l'altro fanciullo di fronte a se.</example>
|
|
1546
|
+
<example>Ma non è questo che contesto, il male è la specializzazione.</example>
|
|
1547
|
+
</rule>
|
|
1548
|
+
</rulegroup>
|
|
1549
|
+
</category>
|
|
1550
|
+
|
|
1551
|
+
<!-- STILE NUMERI - ST_04 -->
|
|
1552
|
+
<category id="CAT11" name="Stile - Numeri">
|
|
1553
|
+
<rulegroup name="in cifre se minori di 10" id="ST_04_001" default="off">
|
|
1554
|
+
<antipattern>
|
|
1555
|
+
<token regexp="yes">\d+</token>
|
|
1556
|
+
<token regexp="yes">[:\.aoe]|dei|da</token>
|
|
1557
|
+
<token regexp="yes">\d+</token>
|
|
1558
|
+
</antipattern>
|
|
1559
|
+
<antipattern>
|
|
1560
|
+
<token regexp="yes">\d+</token>
|
|
1561
|
+
<token regexp="yes" spacebefore="no">[,\.]</token>
|
|
1562
|
+
<token regexp="yes" spacebefore="no">\d+</token>
|
|
1563
|
+
</antipattern>
|
|
1564
|
+
<antipattern>
|
|
1565
|
+
<token regexp="yes">[\+\-=]</token>
|
|
1566
|
+
<token regexp="yes">\d+</token>
|
|
1567
|
+
</antipattern>
|
|
1568
|
+
<antipattern>
|
|
1569
|
+
<token regexp="yes">\d+</token>
|
|
1570
|
+
<token regexp="yes">[\+\-=]</token>
|
|
1571
|
+
</antipattern>
|
|
1572
|
+
<antipattern>
|
|
1573
|
+
<token regexp="yes">\p{Lu}.*</token>
|
|
1574
|
+
<token regexp="yes">\d+</token>
|
|
1575
|
+
</antipattern>
|
|
1576
|
+
<rule>
|
|
1577
|
+
<pattern>
|
|
1578
|
+
<marker><token>0</token></marker>
|
|
1579
|
+
</pattern>
|
|
1580
|
+
<message><suggestion>zero</suggestion></message>
|
|
1581
|
+
<example correction="zero"><marker>0</marker> volte</example>
|
|
1582
|
+
</rule>
|
|
1583
|
+
<rule>
|
|
1584
|
+
<pattern>
|
|
1585
|
+
<!-- 3610360 + -->
|
|
1586
|
+
<marker><token>1<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1587
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1588
|
+
<!-- 3610360 - -->
|
|
1589
|
+
</pattern>
|
|
1590
|
+
<message><suggestion>uno</suggestion></message>
|
|
1591
|
+
<example correction="uno"><marker>1</marker> volte</example>
|
|
1592
|
+
</rule>
|
|
1593
|
+
<rule>
|
|
1594
|
+
<pattern>
|
|
1595
|
+
<!-- 3610360 + -->
|
|
1596
|
+
<marker><token>2<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1597
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1598
|
+
<!-- 3610360 - -->
|
|
1599
|
+
</pattern>
|
|
1600
|
+
<message><suggestion>due</suggestion></message>
|
|
1601
|
+
<example correction="due"><marker>2</marker> volte</example>
|
|
1602
|
+
</rule>
|
|
1603
|
+
<rule>
|
|
1604
|
+
<pattern>
|
|
1605
|
+
<!-- 3610360 + -->
|
|
1606
|
+
<marker><token>3<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1607
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1608
|
+
<!-- 3610360 - -->
|
|
1609
|
+
</pattern>
|
|
1610
|
+
<message><suggestion>tre</suggestion></message>
|
|
1611
|
+
<example correction="tre"><marker>3</marker> volte</example>
|
|
1612
|
+
<example><marker>tre</marker> volte</example>
|
|
1613
|
+
</rule>
|
|
1614
|
+
<rule>
|
|
1615
|
+
<pattern>
|
|
1616
|
+
<!-- 3610360 + -->
|
|
1617
|
+
<marker><token>4<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1618
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1619
|
+
<!-- 3610360 - -->
|
|
1620
|
+
</pattern>
|
|
1621
|
+
<message><suggestion>quattro</suggestion></message>
|
|
1622
|
+
<example correction="quattro"><marker>4</marker> volte</example>
|
|
1623
|
+
</rule>
|
|
1624
|
+
<rule>
|
|
1625
|
+
<pattern>
|
|
1626
|
+
<!-- 3610360 + -->
|
|
1627
|
+
<marker><token>5<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1628
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1629
|
+
<!-- 3610360 - -->
|
|
1630
|
+
</pattern>
|
|
1631
|
+
<message><suggestion>cinque</suggestion></message>
|
|
1632
|
+
<example correction="cinque"><marker>5</marker> volte</example>
|
|
1633
|
+
</rule>
|
|
1634
|
+
<rule>
|
|
1635
|
+
<pattern>
|
|
1636
|
+
<!-- 3610360 + -->
|
|
1637
|
+
<marker><token>6<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1638
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1639
|
+
<!-- 3610360 - -->
|
|
1640
|
+
</pattern>
|
|
1641
|
+
<message><suggestion>sei</suggestion></message>
|
|
1642
|
+
<example correction="sei"><marker>6</marker> volte</example>
|
|
1643
|
+
</rule>
|
|
1644
|
+
<rule>
|
|
1645
|
+
<pattern>
|
|
1646
|
+
<!-- 3610360 + -->
|
|
1647
|
+
<marker><token>7<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1648
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1649
|
+
<!-- 3610360 - -->
|
|
1650
|
+
</pattern>
|
|
1651
|
+
<message><suggestion>sette</suggestion></message>
|
|
1652
|
+
<example correction="sette"><marker>7</marker> volte</example>
|
|
1653
|
+
<example>7:30</example>
|
|
1654
|
+
</rule>
|
|
1655
|
+
<rule>
|
|
1656
|
+
<pattern>
|
|
1657
|
+
<!-- 3610360 + -->
|
|
1658
|
+
<marker><token>8<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1659
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1660
|
+
<!-- 3610360 - -->
|
|
1661
|
+
</pattern>
|
|
1662
|
+
<message><suggestion>otto</suggestion></message>
|
|
1663
|
+
<example correction="otto"><marker>8</marker> volte</example>
|
|
1664
|
+
</rule>
|
|
1665
|
+
<rule>
|
|
1666
|
+
<pattern>
|
|
1667
|
+
<!-- 3610360 + -->
|
|
1668
|
+
<marker><token>9<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1669
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1670
|
+
<!-- 3610360 - -->
|
|
1671
|
+
</pattern>
|
|
1672
|
+
<message><suggestion>nove</suggestion></message>
|
|
1673
|
+
<example correction="nove"><marker>9</marker> volte</example>
|
|
1674
|
+
</rule>
|
|
1675
|
+
</rulegroup>
|
|
1676
|
+
<rulegroup name="in cifre se minori di 100" id="ST_04_002" default="off"><!-- too picky -->
|
|
1677
|
+
<antipattern>
|
|
1678
|
+
<token regexp="yes">\d+</token>
|
|
1679
|
+
<token regexp="yes">[:\.]</token>
|
|
1680
|
+
<token regexp="yes">\d+</token>
|
|
1681
|
+
</antipattern>
|
|
1682
|
+
<rule>
|
|
1683
|
+
<pattern>
|
|
1684
|
+
<!-- 3610360 + -->
|
|
1685
|
+
<marker><token regexp="yes">[123456789][0123456789]<exception scope="previous" regexp="yes">Lunedì|Martedì|Mercoledì|Giovedì|Venerdì|Sabato|Domenica</exception></token></marker>
|
|
1686
|
+
<token><exception regexp="yes">Gennaio|Febbario|Aprile|Marzo|Maggio|Giugno|Luglio|Agosto|Settembre|Ottobre|Novembre|Dicembre|/</exception></token>
|
|
1687
|
+
<!-- 3610360 - -->
|
|
1688
|
+
</pattern>
|
|
1689
|
+
<message>Cambiare con il corrispondente in cifre</message>
|
|
1690
|
+
<example correction=""><marker>99</marker> volte</example>
|
|
1691
|
+
<example><marker>novantanove</marker> volte</example>
|
|
1692
|
+
<example>7:30</example>
|
|
1693
|
+
</rule>
|
|
1694
|
+
</rulegroup>
|
|
1695
|
+
</category>
|
|
1696
|
+
|
|
1697
|
+
<!-- ERRORI COMUNI - ER_01 -->
|
|
1698
|
+
<category id="CAT12" name="Ulteriori errori comuni - voci del verbo 'avere'">
|
|
1699
|
+
<rulegroup name="scambio di 'a' ed 'ha'" id="ER_01_001">
|
|
1700
|
+
<rule>
|
|
1701
|
+
<antipattern> <!-- l'arco a volta -->
|
|
1702
|
+
<token inflected="yes">arco</token>
|
|
1703
|
+
<token>a</token>
|
|
1704
|
+
<token>volta</token>
|
|
1705
|
+
</antipattern>
|
|
1706
|
+
<antipattern> <!-- mettere a punto -->
|
|
1707
|
+
<token inflected="yes">mettere</token>
|
|
1708
|
+
<token>a</token>
|
|
1709
|
+
<token>punto</token>
|
|
1710
|
+
</antipattern>
|
|
1711
|
+
<antipattern>
|
|
1712
|
+
<token>a</token>
|
|
1713
|
+
<token>seguito</token>
|
|
1714
|
+
<token regexp="yes">di|del|della|dell|degli|dello|dei|delle</token>
|
|
1715
|
+
</antipattern>
|
|
1716
|
+
<antipattern>
|
|
1717
|
+
<token>a</token>
|
|
1718
|
+
<token regexp="yes">volte|letto|posto|morte|punti|punta|cascata</token>
|
|
1719
|
+
</antipattern>
|
|
1720
|
+
<antipattern>
|
|
1721
|
+
<token>rispetto</token>
|
|
1722
|
+
<token>a</token>
|
|
1723
|
+
</antipattern>
|
|
1724
|
+
<antipattern> <!-- verbi con "a" -->
|
|
1725
|
+
<token inflected="yes" regexp="yes">andare|portare|ricorrere|associare|contribuire|procedere|indirizzare|incentivare|abilitare|tendere|indurre|scendere</token>
|
|
1726
|
+
<token>a</token>
|
|
1727
|
+
</antipattern>
|
|
1728
|
+
<antipattern> <!-- verbi riflessivi con "a" -->
|
|
1729
|
+
<token regexp="yes">mi|ti|si|ci|vi</token>
|
|
1730
|
+
<token min="0" max="1" inflected="yes" regexp="yes">stare|essere|avere</token>
|
|
1731
|
+
<token min="0" max="1" inflected="yes" regexp="yes">dovere|potere|volere</token>
|
|
1732
|
+
<token inflected="yes" regexp="yes">adattare|limitare|preparare</token>
|
|
1733
|
+
<token>a</token>
|
|
1734
|
+
</antipattern>
|
|
1735
|
+
<antipattern>
|
|
1736
|
+
<token inflected="yes">essere</token>
|
|
1737
|
+
<token regexp="yes">destinat[oaie]</token>
|
|
1738
|
+
<token>a</token>
|
|
1739
|
+
</antipattern>
|
|
1740
|
+
<antipattern>
|
|
1741
|
+
<token>a</token>
|
|
1742
|
+
<token regexp="yes" postag="NOUN.*" postag_regexp="yes">.*[aei]</token>
|
|
1743
|
+
</antipattern>
|
|
1744
|
+
<antipattern>
|
|
1745
|
+
<token>a</token>
|
|
1746
|
+
<token regexp="yes">contenuto|stato|contratto|candidato</token>
|
|
1747
|
+
</antipattern>
|
|
1748
|
+
<antipattern>
|
|
1749
|
+
<token>fino</token>
|
|
1750
|
+
<token>a</token>
|
|
1751
|
+
</antipattern>
|
|
1752
|
+
<!-- "a" + un participio passato -->
|
|
1753
|
+
<pattern>
|
|
1754
|
+
<token>a</token>
|
|
1755
|
+
<token postag="VER:part.+past.*" postag_regexp="yes"/>
|
|
1756
|
+
</pattern>
|
|
1757
|
+
<message>Forse volevi dire <suggestion>ha <match no="2"/></suggestion>?</message>
|
|
1758
|
+
<example correction="ha fatto">La mamma <marker>a fatto</marker> la spesa.</example>
|
|
1759
|
+
<example>Tutte le informazioni del mondo a portata di mano</example>
|
|
1760
|
+
<example>Dovrebbe andare a messa più spesso.</example>
|
|
1761
|
+
<example>Esperienze diverse portano a scelte diverse.</example>
|
|
1762
|
+
</rule>
|
|
1763
|
+
<rule default="off">
|
|
1764
|
+
<!-- "a" + un sostantivo plurale -->
|
|
1765
|
+
<pattern>
|
|
1766
|
+
<token>a</token>
|
|
1767
|
+
<token postag="NOUN.+p" postag_regexp="yes"><exception postag="NOUN.*s" postag_regexp="yes"/></token>
|
|
1768
|
+
</pattern>
|
|
1769
|
+
<message>Forse volevi dire <suggestion>ha <match no="2"/></suggestion>?</message>
|
|
1770
|
+
<example correction="ha soldi">Piero <marker>a soldi</marker> con sé?.</example>
|
|
1771
|
+
<example>Piero <marker>ha soldi</marker> con se?.</example>
|
|
1772
|
+
<example>Di esempi ce ne sono a volontà.</example>
|
|
1773
|
+
<example correction="ha piedi" type="triggers_error" reason="to be fixed!">Preferirei andare <marker>a piedi</marker> che stare qua ad aspettare il bus.</example>
|
|
1774
|
+
</rule>
|
|
1775
|
+
<rule default="off" name="suggerisci sempre lo scambio di 'a' con 'ha'" id="ER_01_001a">
|
|
1776
|
+
<pattern>
|
|
1777
|
+
<token>a</token>
|
|
1778
|
+
</pattern>
|
|
1779
|
+
<message>Forse volevi dire <suggestion>ha</suggestion>?</message>
|
|
1780
|
+
<example correction="ha">Piero <marker>a</marker> un cane.</example>
|
|
1781
|
+
<example>Piero <marker>ha</marker> un cane.</example>
|
|
1782
|
+
</rule>
|
|
1783
|
+
</rulegroup>
|
|
1784
|
+
<rulegroup name="scambio di 'ai' ed 'hai'" id="ER_01_002">
|
|
1785
|
+
<antipattern> <!-- verbi con "ai" -->
|
|
1786
|
+
<token inflected="yes" regexp="yes">andare|portare|ricorrere|associare|contribuire|procedere|indirizzare|incentivare|abilitare|tendere|indurre|scendere|partecipare</token>
|
|
1787
|
+
<token>ai</token>
|
|
1788
|
+
</antipattern>
|
|
1789
|
+
<antipattern>
|
|
1790
|
+
<token>rispetto</token>
|
|
1791
|
+
<token>ai</token>
|
|
1792
|
+
</antipattern>
|
|
1793
|
+
<antipattern> <!-- verbi riflessivi con "ai" -->
|
|
1794
|
+
<token regexp="yes">mi|ti|si|ci|vi</token>
|
|
1795
|
+
<token min="0" max="1" inflected="yes" regexp="yes">stare|essere|avere</token>
|
|
1796
|
+
<token min="0" max="1" inflected="yes" regexp="yes">dovere|potere|volere</token>
|
|
1797
|
+
<token inflected="yes" regexp="yes">adattare|limitare|preparare</token>
|
|
1798
|
+
<token>ai</token>
|
|
1799
|
+
</antipattern>
|
|
1800
|
+
<antipattern>
|
|
1801
|
+
<token inflected="yes">essere</token>
|
|
1802
|
+
<token regexp="yes">destinat[oaie]</token>
|
|
1803
|
+
<token>ai</token>
|
|
1804
|
+
</antipattern>
|
|
1805
|
+
<antipattern> <!-- "ai" + team/meeting -->
|
|
1806
|
+
<token>ai</token>
|
|
1807
|
+
<token postag="NOUN.+p" postag_regexp="yes"/>
|
|
1808
|
+
</antipattern>
|
|
1809
|
+
<rule>
|
|
1810
|
+
<!-- "ai" + un participio passato -->
|
|
1811
|
+
<pattern>
|
|
1812
|
+
<token>ai</token>
|
|
1813
|
+
<!-- 182 + -->
|
|
1814
|
+
<!--
|
|
1815
|
+
<token postag="VER:part.+past.*" postag_regexp="yes"></token>
|
|
1816
|
+
-->
|
|
1817
|
+
<token postag="VER:part.+past.*" postag_regexp="yes"><exception postag="NOUN-M:p"/></token>
|
|
1818
|
+
<!-- 182 - -->
|
|
1819
|
+
</pattern>
|
|
1820
|
+
<message>Forse volevi dire <suggestion>hai <match no="2"/></suggestion>?</message>
|
|
1821
|
+
<example correction="Hai fatto"><marker>Ai fatto</marker> i compiti?</example>
|
|
1822
|
+
</rule>
|
|
1823
|
+
<rule>
|
|
1824
|
+
<!-- "ai" + un sostantivo singolare -->
|
|
1825
|
+
<pattern>
|
|
1826
|
+
<token>ai</token>
|
|
1827
|
+
<token postag="NOUN.+s" postag_regexp="yes"/>
|
|
1828
|
+
</pattern>
|
|
1829
|
+
<message>Forse volevi dire <suggestion>hai <match no="2"/></suggestion>?</message>
|
|
1830
|
+
<example correction="Hai fame"><marker>Ai fame</marker>?</example>
|
|
1831
|
+
</rule>
|
|
1832
|
+
<rule>
|
|
1833
|
+
<!-- "ai" + articolo/aggettivo/etc singolare -->
|
|
1834
|
+
<pattern>
|
|
1835
|
+
<token>ai</token>
|
|
1836
|
+
<token postag="(ADJ|ART|ARTPRE|DET-INDEF|DET-NUM-CARD).+s" postag_regexp="yes"/>
|
|
1837
|
+
</pattern>
|
|
1838
|
+
<message>Forse volevi dire <suggestion>ha <match no="2"/></suggestion>?</message>
|
|
1839
|
+
<example correction="ha un">Tu <marker>ai un</marker> bel cane.</example>
|
|
1840
|
+
<example>Tu <marker>hai un</marker> bel cane.</example>
|
|
1841
|
+
</rule>
|
|
1842
|
+
<rule default="off" name="suggerisci sempre lo scambio di 'ai' con 'hai'" id="ER_01_002a">
|
|
1843
|
+
<pattern>
|
|
1844
|
+
<token>ai</token>
|
|
1845
|
+
</pattern>
|
|
1846
|
+
<message>Forse volevi dire <suggestion>hai</suggestion>?</message>
|
|
1847
|
+
<example correction="hai">Piero, tu <marker>ai</marker> un cane?</example>
|
|
1848
|
+
<example>Piero, tu <marker>hai</marker> un cane?</example>
|
|
1849
|
+
</rule>
|
|
1850
|
+
</rulegroup>
|
|
1851
|
+
<rulegroup name="scambio di 'anno' ed 'hanno'" id="ER_01_003">
|
|
1852
|
+
<rule>
|
|
1853
|
+
<!-- "anno" + un participio passato -->
|
|
1854
|
+
<pattern>
|
|
1855
|
+
<token>anno</token>
|
|
1856
|
+
<token postag="VER:part.+past.*" postag_regexp="yes"><exception>scorso</exception></token>
|
|
1857
|
+
</pattern>
|
|
1858
|
+
<message>Forse volevi dire <suggestion>hanno <match no="2"/></suggestion>?</message>
|
|
1859
|
+
<example correction="Hanno fatto"><marker>Anno fatto</marker> i compiti?</example>
|
|
1860
|
+
<example>Non conoscevo Tom l' anno scorso.</example>
|
|
1861
|
+
</rule>
|
|
1862
|
+
<rule default="off">
|
|
1863
|
+
<!-- "anno" + articolo -->
|
|
1864
|
+
<pattern>
|
|
1865
|
+
<token>anno</token>
|
|
1866
|
+
<token postag="(ART|ARTPRE|DET-INDEF|DET-NUM-CARD).*" postag_regexp="yes"/>
|
|
1867
|
+
</pattern>
|
|
1868
|
+
<message>Forse volevi dire <suggestion>ha <match no="2"/></suggestion>?</message>
|
|
1869
|
+
<example correction="ha un">Piero e Cinzia <marker>anno un</marker> bel cane.</example>
|
|
1870
|
+
<example>Piero e Cinzia <marker>hanno un</marker> bel cane.</example>
|
|
1871
|
+
<!--In che anno sei nato?-->
|
|
1872
|
+
</rule>
|
|
1873
|
+
</rulegroup>
|
|
1874
|
+
<rule name="scambio di 'o' ed 'ho'" id="ER_01_004" default="off">
|
|
1875
|
+
<!-- "o" + un participio passato -->
|
|
1876
|
+
<pattern>
|
|
1877
|
+
<token>o</token>
|
|
1878
|
+
<token postag="VER:part.+past.*" postag_regexp="yes"/>
|
|
1879
|
+
</pattern>
|
|
1880
|
+
<message>Forse volevi dire <suggestion>ho <match no="2"/></suggestion>?</message>
|
|
1881
|
+
<example correction="ho fatto">Non <marker>o fatto</marker> i compiti.</example>
|
|
1882
|
+
<!--<example>Il serpente è vivo o morto?</example>-->
|
|
1883
|
+
</rule>
|
|
1884
|
+
</category>
|
|
1885
|
+
|
|
1886
|
+
<!-- ERRORI COMUNI - ER_02 -->
|
|
1887
|
+
<category id="CAT13" name="Ulteriori errori comuni - ortografia">
|
|
1888
|
+
<!--
|
|
1889
|
+
Casi in cui il correttore ortografico non interviene
|
|
1890
|
+
perché entrambi i lemmi esistono in italiano.
|
|
1891
|
+
-->
|
|
1892
|
+
<rule id="GIRONI_GIORNI" name="7 gironi -> 7 giorni">
|
|
1893
|
+
<pattern>
|
|
1894
|
+
<token regexp="yes">\d+</token>
|
|
1895
|
+
<marker>
|
|
1896
|
+
<token>gironi</token>
|
|
1897
|
+
</marker>
|
|
1898
|
+
</pattern>
|
|
1899
|
+
<message>Forse volevi dire <suggestion>giorni</suggestion>?</message>
|
|
1900
|
+
<example correction="giorni">7 <marker>gironi</marker> dopo.</example>
|
|
1901
|
+
</rule>
|
|
1902
|
+
<rulegroup name="scambio di 'ala' ed 'alla'" id="ER_02_001">
|
|
1903
|
+
<rule>
|
|
1904
|
+
<!-- "ala" + sostantivo -->
|
|
1905
|
+
<pattern>
|
|
1906
|
+
<token>ala</token>
|
|
1907
|
+
<token postag="NOUN-F.*" postag_regexp="yes"/>
|
|
1908
|
+
</pattern>
|
|
1909
|
+
<message>Forse volevi dire <suggestion>alla <match no="2"/></suggestion>?</message>
|
|
1910
|
+
<example correction="alla mamma">Ho dato un bacio <marker>ala mamma</marker>.</example>
|
|
1911
|
+
</rule>
|
|
1912
|
+
<rule>
|
|
1913
|
+
<!-- "ala" + aggettivo + sostantivo -->
|
|
1914
|
+
<pattern>
|
|
1915
|
+
<token>ala</token>
|
|
1916
|
+
<token postag="(ADJ|DET).*" postag_regexp="yes"/>
|
|
1917
|
+
<token postag="NOUN-F.*" postag_regexp="yes"/>
|
|
1918
|
+
</pattern>
|
|
1919
|
+
<message>Forse volevi dire <suggestion>alla <match no="2"/> <match no="3"/></suggestion>?</message>
|
|
1920
|
+
<example correction="alla mia mamma">Ho dato un bacio <marker>ala mia mamma</marker>.</example>
|
|
1921
|
+
</rule>
|
|
1922
|
+
</rulegroup>
|
|
1923
|
+
<rulegroup name="scambio di 'la' e 'al'" id="ER_02_002" default="off">
|
|
1924
|
+
<rule>
|
|
1925
|
+
<!-- "la" + sostantivo maschile -->
|
|
1926
|
+
<pattern>
|
|
1927
|
+
<token>la</token>
|
|
1928
|
+
<!-- 3609558 + -->
|
|
1929
|
+
<!--
|
|
1930
|
+
<token postag="NOUN-M:s"></token>
|
|
1931
|
+
-->
|
|
1932
|
+
<token postag="NOUN-M:s"><exception postag="NOUN-F:s"/></token>
|
|
1933
|
+
<!-- 3609558 - -->
|
|
1934
|
+
</pattern>
|
|
1935
|
+
<message>Forse volevi dire <suggestion>al <match no="2"/></suggestion>?</message>
|
|
1936
|
+
<example correction="al circo">Sono andato <marker>la circo</marker>.</example>
|
|
1937
|
+
</rule>
|
|
1938
|
+
<rule>
|
|
1939
|
+
<!-- "la" + aggettivo maschile -->
|
|
1940
|
+
<pattern>
|
|
1941
|
+
<token>la</token>
|
|
1942
|
+
<!-- serve il "\+m" con ADJ perché la 'm' compare anche in 'ADJ:comp+f' -->
|
|
1943
|
+
<token postag="(ADJ.+\+m|DET.+:m).*" postag_regexp="yes">
|
|
1944
|
+
<!-- 180 + -->
|
|
1945
|
+
<exception postag="(NOUN-F|ADJ.+\+f|DET.+:f).*" postag_regexp="yes"/>
|
|
1946
|
+
<!-- 180 - -->
|
|
1947
|
+
</token>
|
|
1948
|
+
</pattern>
|
|
1949
|
+
<message>Forse volevi dire <suggestion>al <match no="2"/></suggestion>?</message>
|
|
1950
|
+
<example correction="al mio">Ho portato un regalo <marker>la mio</marker> papà.</example>
|
|
1951
|
+
<example>La tesi dell'autore.</example>
|
|
1952
|
+
</rule>
|
|
1953
|
+
<rule>
|
|
1954
|
+
<!-- "al" + sostantivo femminile -->
|
|
1955
|
+
<pattern>
|
|
1956
|
+
<token>al</token>
|
|
1957
|
+
<!-- 3609558 + -->
|
|
1958
|
+
<!--
|
|
1959
|
+
<token postag="NOUN-F:s"></token>
|
|
1960
|
+
-->
|
|
1961
|
+
<token postag="NOUN-F:s"><exception postag="NOUN-M:s"/></token>
|
|
1962
|
+
<!-- 3609558 - -->
|
|
1963
|
+
</pattern>
|
|
1964
|
+
<message>Forse volevi dire <suggestion>la <match no="2"/></suggestion>?</message>
|
|
1965
|
+
<example correction="la mela">Ho mangiato <marker>al mela</marker>.</example>
|
|
1966
|
+
</rule>
|
|
1967
|
+
<rule>
|
|
1968
|
+
<!-- "al" + aggettivo + sostantivo femminile -->
|
|
1969
|
+
<pattern>
|
|
1970
|
+
<token>al</token>
|
|
1971
|
+
<token postag="(ADJ.+\+f|DET.+:f).*" postag_regexp="yes">
|
|
1972
|
+
<!-- 180 + -->
|
|
1973
|
+
<exception postag="(ADJ.+\+m|DET.+:m).*" postag_regexp="yes"/>
|
|
1974
|
+
<!-- 180 - -->
|
|
1975
|
+
</token>
|
|
1976
|
+
</pattern>
|
|
1977
|
+
<message>Forse volevi dire <suggestion>la <match no="2"/></suggestion>?</message>
|
|
1978
|
+
<example correction="la tua">Ho mangiato <marker>al tua</marker> merenda.</example>
|
|
1979
|
+
</rule>
|
|
1980
|
+
</rulegroup>
|
|
1981
|
+
<rulegroup name="scambio di 'li' e 'il'" id="ER_02_003" default="off">
|
|
1982
|
+
<rule>
|
|
1983
|
+
<!-- "li" + sostantivo maschile -->
|
|
1984
|
+
<pattern>
|
|
1985
|
+
<token>li</token>
|
|
1986
|
+
<token postag="NOUN-M:s"/>
|
|
1987
|
+
</pattern>
|
|
1988
|
+
<message>Forse volevi dire <suggestion>il <match no="2"/></suggestion>?</message>
|
|
1989
|
+
<example correction="Il gatto"><marker>Li gatto</marker> dormiva tranquillo.</example>
|
|
1990
|
+
</rule>
|
|
1991
|
+
<rule>
|
|
1992
|
+
<!-- "li" + aggettivo + sostantivo maschile -->
|
|
1993
|
+
<pattern>
|
|
1994
|
+
<token>li</token>
|
|
1995
|
+
<!-- serve il "\+m" con ADJ perché la 'm' compare anche in 'ADJ:comp+f' -->
|
|
1996
|
+
<token postag="(ADJ.+\+m|DET.+:m).*" postag_regexp="yes"/>
|
|
1997
|
+
</pattern>
|
|
1998
|
+
<message>Forse volevi dire <suggestion>il <match no="2"/></suggestion>?</message>
|
|
1999
|
+
<example correction="Il mio"><marker>Li mio</marker> gatto dormiva tranquillo.</example>
|
|
2000
|
+
<example correction="Il bel"><marker>Li bel</marker> gatto dormiva tranquillo.</example>
|
|
2001
|
+
</rule>
|
|
2002
|
+
</rulegroup>
|
|
2003
|
+
<rulegroup name="scambio di 'là' e 'la'" id="ER_02_004">
|
|
2004
|
+
<antipattern> <!-- è visibile là sotto -->
|
|
2005
|
+
<token>là</token>
|
|
2006
|
+
<token regexp="yes">sotto|sopra|dentro|fuori|davanti|dietro|vicino|lontano</token>
|
|
2007
|
+
</antipattern>
|
|
2008
|
+
<rule>
|
|
2009
|
+
<!-- 'là' + sostantivo femminile quasi certamente è 'la' -->
|
|
2010
|
+
<pattern>
|
|
2011
|
+
<token>là</token>
|
|
2012
|
+
<token postag="NOUN-F.*" postag_regexp="yes"/>
|
|
2013
|
+
</pattern>
|
|
2014
|
+
<message>Forse volevi dire <suggestion>la <match no="2"/></suggestion>?</message>
|
|
2015
|
+
<example correction="La gatta"><marker>Là gatta</marker> dormiva tranquilla.</example>
|
|
2016
|
+
</rule>
|
|
2017
|
+
<rule>
|
|
2018
|
+
<!-- 'là' + aggettivo/articolo/etc. femminile quasi certamente è 'la' -->
|
|
2019
|
+
<pattern>
|
|
2020
|
+
<token>là</token>
|
|
2021
|
+
<token postag="(ADJ.+\+f|DET.+:f).*" postag_regexp="yes"/>
|
|
2022
|
+
</pattern>
|
|
2023
|
+
<message>Forse volevi dire <suggestion>la <match no="2"/></suggestion>?</message>
|
|
2024
|
+
<example correction="La mia"><marker>Là mia</marker> gatta dormiva tranquilla.</example>
|
|
2025
|
+
</rule>
|
|
2026
|
+
<rule>
|
|
2027
|
+
<!-- 'la' prima della punteggiatura quasi certamente è 'là' -->
|
|
2028
|
+
<pattern>
|
|
2029
|
+
<token>la</token>
|
|
2030
|
+
<token regexp="yes">\.|,|;|:|!|\?</token>
|
|
2031
|
+
</pattern>
|
|
2032
|
+
<message>Forse volevi dire <suggestion>là<match no="2"/></suggestion>?</message>
|
|
2033
|
+
<example correction="là.">Mettilo <marker>la.</marker></example>
|
|
2034
|
+
</rule>
|
|
2035
|
+
<rule>
|
|
2036
|
+
<!-- 'la' in fine di frase quasi certamente è 'là' -->
|
|
2037
|
+
<pattern>
|
|
2038
|
+
<token>la</token>
|
|
2039
|
+
<token postag="SENT"/>
|
|
2040
|
+
</pattern>
|
|
2041
|
+
<message>Forse volevi dire <suggestion>là<match no="2"/></suggestion>?</message>
|
|
2042
|
+
<example correction="là.">Mettilo <marker>la.</marker></example>
|
|
2043
|
+
</rule>
|
|
2044
|
+
</rulegroup>
|
|
2045
|
+
<rulegroup name="scambio di 'dà' e 'da'" id="ER_02_005">
|
|
2046
|
+
<antipattern>
|
|
2047
|
+
<token regexp="yes">me|te|sé|noi|voi|loro</token>
|
|
2048
|
+
<token>da</token>
|
|
2049
|
+
</antipattern>
|
|
2050
|
+
<rule>
|
|
2051
|
+
<!-- dare -->
|
|
2052
|
+
<pattern>
|
|
2053
|
+
<!-- PB005+ -->
|
|
2054
|
+
<!--
|
|
2055
|
+
<token postag_regexp="yes" postag="PRO-PERS-CLI.*"/>
|
|
2056
|
+
-->
|
|
2057
|
+
<token postag_regexp="yes" postag="PRO-PERS-CLI.*"><exception postag="CON"/></token>
|
|
2058
|
+
<!-- PB005- -->
|
|
2059
|
+
<marker>
|
|
2060
|
+
<token>da</token>
|
|
2061
|
+
</marker>
|
|
2062
|
+
</pattern>
|
|
2063
|
+
<message>Probabilmente si scrive con accento: <suggestion>dà</suggestion>.</message>
|
|
2064
|
+
<example correction="dà">Luigi mi <marker>da</marker> la mano.</example>
|
|
2065
|
+
<example>Luigi mi dà la mano.</example>
|
|
2066
|
+
</rule>
|
|
2067
|
+
</rulegroup>
|
|
2068
|
+
</category>
|
|
2069
|
+
<category id="SEMANTICS" name="Semantica" type="inconsistency">
|
|
2070
|
+
<rule id="ANNO20011_2011" name="*20011/2011">
|
|
2071
|
+
<pattern>
|
|
2072
|
+
<token regexp="yes">da|dal|del|corso|anno|accademico|&months_year;|&months_year_abr;</token>
|
|
2073
|
+
<marker>
|
|
2074
|
+
<token regexp="yes">200[12]\d</token>
|
|
2075
|
+
</marker>
|
|
2076
|
+
</pattern>
|
|
2077
|
+
<message>Forse volevi dire <suggestion><match no="2" regexp_match="200(..)" regexp_replace="20$1"/></suggestion>?</message>
|
|
2078
|
+
<example correction="2014">È dal <marker>20014</marker>.</example>
|
|
2079
|
+
<example correction="2014">Del corso <marker>20014</marker>.</example>
|
|
2080
|
+
<example>Es del 2015.</example>
|
|
2081
|
+
</rule>
|
|
2082
|
+
<rulegroup id="DATE_WEEKDAY" name="Data incorrecta">
|
|
2083
|
+
<rule>
|
|
2084
|
+
<pattern>
|
|
2085
|
+
<token regexp="yes">&days_week;|(&days_week_abr;).*</token>
|
|
2086
|
+
<token min="0">,</token>
|
|
2087
|
+
<token regexp="yes">\d\d?</token>
|
|
2088
|
+
<token min="0" regexp="yes">[\.\-/]</token>
|
|
2089
|
+
<token regexp="yes">&months_year;|&months_year_abr;</token>
|
|
2090
|
+
<token min="0" regexp="yes">[\.\-/]|del</token>
|
|
2091
|
+
<token regexp="yes">\d\d\d\d</token>
|
|
2092
|
+
</pattern>
|
|
2093
|
+
<filter class="org.languagetool.rules.it.DateCheckFilter" args="year:\7 month:\5 day:\3 weekDay:\1"/>
|
|
2094
|
+
<message>Questa data non è un {day} ma un {realDay}.</message>
|
|
2095
|
+
<!-- TODO: tokenization <example correction=""><marker>Lunedì, 7-ottobre-2014</marker></example> -->
|
|
2096
|
+
<example correction=""><marker>Lunedì 7 ottobre 2014</marker></example>
|
|
2097
|
+
<example><marker>Martedì, 7 ottobre 2014</marker></example>
|
|
2098
|
+
<example correction=""><marker>Lunedì, 7.ott.2014</marker></example>
|
|
2099
|
+
<example correction=""><marker>Lunedì 7/ottobre/2014</marker></example>
|
|
2100
|
+
<example><marker>Martedì, 7 ottobre 2014</marker></example>
|
|
2101
|
+
</rule>
|
|
2102
|
+
<rule>
|
|
2103
|
+
<antipattern>
|
|
2104
|
+
<token regexp="yes">&months_year;|&months_year_abr;</token>
|
|
2105
|
+
<token min="0" regexp="yes">[\.\-/]|del</token>
|
|
2106
|
+
<token regexp="yes">\d\d\d\d</token>
|
|
2107
|
+
</antipattern>
|
|
2108
|
+
<pattern>
|
|
2109
|
+
<token regexp="yes">&days_week;|(&days_week_abr;).*</token>
|
|
2110
|
+
<token min="0">,</token>
|
|
2111
|
+
<token regexp="yes">\d\d?</token>
|
|
2112
|
+
<token min="0" regexp="yes">[\.\-/]</token>
|
|
2113
|
+
<token regexp="yes">&months_year;|&months_year_abr;</token>
|
|
2114
|
+
</pattern>
|
|
2115
|
+
<filter class="org.languagetool.rules.it.DateCheckFilter" args="month:\5 day:\3 weekDay:\1"/>
|
|
2116
|
+
<message>Se si riferisce all'anno in corso ({currentYear}), questa data non è un {day} ma un {realDay}.</message>
|
|
2117
|
+
<example correction=""><marker>Lunedì 7 ottobre</marker></example>
|
|
2118
|
+
<example correction=""><marker>Lunedì, 7 ottobre</marker></example>
|
|
2119
|
+
<example><marker>Martedì, 7 ottobre</marker></example>
|
|
2120
|
+
<example>Martedì 27 novembre 1922</example>
|
|
2121
|
+
<example>Martedì 27 novembre del 1922</example>
|
|
2122
|
+
<example>Martedì 27 novembre 1922</example>
|
|
2123
|
+
</rule>
|
|
2124
|
+
</rulegroup>
|
|
2125
|
+
<rulegroup id="NUMBER_DAYS_MONTH" name="giorni massimi del mese (28, 29, 30, 31)" default="off">
|
|
2126
|
+
<rule>
|
|
2127
|
+
<pattern>
|
|
2128
|
+
<marker>
|
|
2129
|
+
<token>31</token>
|
|
2130
|
+
</marker>
|
|
2131
|
+
<token min="0" regexp="yes">[-/]|de</token>
|
|
2132
|
+
<token regexp="yes">aprile|apr|giugno|giu|settembre|set|novembre|nov|0?[469]|11</token>
|
|
2133
|
+
</pattern>
|
|
2134
|
+
<message>Il mese «\3» ha solo <suggestion>30</suggestion> giorni.</message>
|
|
2135
|
+
<example correction="30">È nato il <marker>31</marker> settembre.</example>
|
|
2136
|
+
<example correction="30">È nato il <marker>31</marker>/11/1988.</example>
|
|
2137
|
+
</rule>
|
|
2138
|
+
<rule>
|
|
2139
|
+
<pattern>
|
|
2140
|
+
<marker>
|
|
2141
|
+
<token regexp="yes">3[01]</token>
|
|
2142
|
+
</marker>
|
|
2143
|
+
<token min="0" regexp="yes">[-/]|de</token>
|
|
2144
|
+
<token regexp="yes">febbraio|feb|0?2</token>
|
|
2145
|
+
</pattern>
|
|
2146
|
+
<message>Il mese di febbraio ha solo <suggestion>28</suggestion> o <suggestion>29</suggestion> giorni.</message>
|
|
2147
|
+
<example correction="28|29">È nato il <marker>31</marker> febbraio.</example>
|
|
2148
|
+
<example correction="28|29">È nato il <marker>30</marker>/2/1988.</example>
|
|
2149
|
+
</rule>
|
|
2150
|
+
<rule>
|
|
2151
|
+
<pattern>
|
|
2152
|
+
<marker>
|
|
2153
|
+
<token>29</token>
|
|
2154
|
+
</marker>
|
|
2155
|
+
<token min="0" regexp="yes">[-/]|de</token>
|
|
2156
|
+
<token regexp="yes">febbraio|feb|0?2</token>
|
|
2157
|
+
<token min="0" regexp="yes">[-/]|de|del|da|dal</token>
|
|
2158
|
+
<token regexp="yes">\d\d(00|\d[13579]|[02468][26]|[13579][048])
|
|
2159
|
+
<exception regexp="yes">[13579][26]00|[2468][048]00</exception>
|
|
2160
|
+
</token>
|
|
2161
|
+
</pattern>
|
|
2162
|
+
<message>Il mese di febbraio ha solo <suggestion>28</suggestion> giorni, perché l'anno \5 non è un anno bisestile.</message>
|
|
2163
|
+
<example correction="28">El <marker>29</marker> febbraio de 1900.</example>
|
|
2164
|
+
<example correction="28">El <marker>29</marker>/febbraio/1900.</example>
|
|
2165
|
+
<example correction="28">El <marker>29</marker>/02/1900.</example>
|
|
2166
|
+
<example correction="28">El <marker>29</marker>/2/1900.</example>
|
|
2167
|
+
<!-- 2000 is a leap year (divisible by 400) -->
|
|
2168
|
+
<example>El <marker>29</marker> febbraio 2000.</example>
|
|
2169
|
+
<example>El <marker>29</marker>/febbraio/2000.</example>
|
|
2170
|
+
<example>El <marker>29</marker>/02/2000.</example>
|
|
2171
|
+
<example>El <marker>29</marker>/2/2000.</example>
|
|
2172
|
+
<example correction="28">El <marker>29</marker> febbraio 2001.</example>
|
|
2173
|
+
<example correction="28">El <marker>29</marker> febbraio 2002.</example>
|
|
2174
|
+
<example correction="28">El <marker>29</marker> febbraio 2003.</example>
|
|
2175
|
+
<!-- 2004 is a leap year (divisible by 4) -->
|
|
2176
|
+
<example>El <marker>29</marker> febbraio 2004.</example>
|
|
2177
|
+
<example correction="28">El <marker>29</marker> febbraio 2005.</example>
|
|
2178
|
+
<example correction="28">El <marker>29</marker> febbraio del 2006.</example>
|
|
2179
|
+
<example correction="28">El <marker>29</marker> febbraio 2007.</example>
|
|
2180
|
+
<!-- 2008 is a leap year (divisible by 4) -->
|
|
2181
|
+
<example>El <marker>29</marker> febbraio 2008.</example>
|
|
2182
|
+
<example correction="28">El <marker>29</marker> febbraio del 2009.</example>
|
|
2183
|
+
<example correction="28">El <marker>29</marker> febbraio de 2010.</example>
|
|
2184
|
+
<example correction="28">El <marker>29</marker> febbraio 2011.</example>
|
|
2185
|
+
<!-- 2012 is a leap year (divisible by 4) -->
|
|
2186
|
+
<example>El <marker>29</marker> febbraio 2012.</example>
|
|
2187
|
+
<example correction="28">El <marker>29</marker> febbraio del 2014.</example>
|
|
2188
|
+
<example>El <marker>29</marker> febbraio 2016.</example>
|
|
2189
|
+
<example correction="28">El <marker>29</marker> febbraio 2018.</example>
|
|
2190
|
+
<example>El <marker>29</marker> febbraio 2020.</example>
|
|
2191
|
+
<!-- 2100 is not a leap year (divisible by 100) -->
|
|
2192
|
+
<example correction="28">El <marker>29</marker> febbraio del 2100.</example>
|
|
2193
|
+
<!-- TOKENIZER: <example correction="28">El <marker>29</marker>-02-1900</marker></example>
|
|
2194
|
+
<example correction="28">El <marker>29</marker>-feb-2005</marker></example>-->
|
|
2195
|
+
<example>El 29-feb-2004</example>
|
|
2196
|
+
</rule>
|
|
2197
|
+
</rulegroup>
|
|
2198
|
+
</category>
|
|
2199
|
+
</rules>
|