-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathgrammar.xml
More file actions
944 lines (900 loc) · 48.4 KB
/
Copy pathgrammar.xml
File metadata and controls
944 lines (900 loc) · 48.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/print.xsl" title="Pretty print" ?>
<?xml-stylesheet type="text/css" href="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.css" title="Easy editing stylesheet" ?>
<!--
Asturian Grammar and Typo Rules for LanguageTool
Copyright (C) 2011, 2024 Xesús González Rato
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
-->
<rules lang="ast" xsi:noNamespaceSchemaLocation="../../../../../../../../../languagetool-core/src/main/resources/org/languagetool/rules/rules.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<category id="CONTRAICIONES" name="Contraiciones">
<rulegroup id="A_CONTR" name="A + el">
<!-- A_EL A el -> al-->
<rule>
<pattern>
<token>a</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «a» contrái col artículu determináu: <suggestion>al</suggestion>.</message>
<short>Contraición de «a el».</short>
<example correction="al">Foi <marker>a el</marker> cine cola so hermana.</example>
<example>Foi al cine cola so hermana.</example>
</rule>
<!-- A_L' A l' -> al-->
<rule>
<pattern>
<token>a</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «a» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>al <match no="4"></match></suggestion>.</message>
<short>Contraición de «a l’» en cuenta d’apostrofación.</short>
<example correction="al entamu">Tienes que lo dicir <marker>a l’entamu</marker>.</example>
<example>Tienes que lo dicir al entamu.</example>
</rule>
<!-- L'VERBU L'verbu -> la + verbu-->
<rule>
<pattern>
<token>l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="V.*" postag_regexp="yes" regexp="yes">^h?[aá].*</token>
</pattern>
<message>El pronome personal «la» nun apostrofa: <suggestion>la <match no="3"></match></suggestion>.</message>
<short>El pronome «la» col verbu nun apostrofa.</short>
<example correction="la aconseyara">Nun <marker>l’aconseyara</marker> bien.</example>
<example>Nun la aconseyara bien.</example>
</rule>
</rulegroup>
<rulegroup id="DE_CONTR" name="De + el">
<!-- DE_EL De el -> del-->
<rule>
<pattern>
<token>de</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «de» contrái col artículu determináu: <suggestion>del</suggestion>.</message>
<short>Contraición de «de el».</short>
<example correction="del">El fíu <marker>de el</marker> so hermanu llámase Colás.</example>
<example>El fíu del so hermanu llámase Colás.</example>
</rule>
<!-- DE_L' De l' -> del-->
<rule>
<pattern>
<token>de</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «de» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>del <match no="4"></match></suggestion>.</message>
<short>Contraición de «de l’» en cuenta d’apostrofación.</short>
<example correction="del apartamentu">Tien les llaves <marker>de l’apartamentu</marker>.</example>
<example>Tien les llaves del apartamentu.</example>
</rule>
</rulegroup>
<rulegroup id="PA_CONTR" name="Pa + el">
<!-- PA_EL Pa el -> pal-->
<rule>
<pattern>
<token>pa</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «pa» contrái col artículu determináu: <suggestion>pal</suggestion>.</message>
<short>Contraición de «pa el».</short>
<example correction="pal">Foi <marker>pa el</marker> chigre hai dos hores.</example>
<example>Foi pal chigre hai dos hores.</example>
</rule>
<!-- PA_L' Pa l' -> pal-->
<rule>
<pattern>
<token>pa</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «pa» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>pal <match no="4"></match></suggestion>.</message>
<short>Contraición de «pa l’» en cuenta d'apostrofación.</short>
<example correction="pal herederu">Les perres foron <marker>pa l’herederu</marker>.</example>
<example>Les perres foron pal herederu.</example>
</rule>
</rulegroup>
<rulegroup id="SO_CONTR" name="So + el">
<!-- SO_EL So el -> sol-->
<rule>
<pattern>
<token>so</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «so» contrái col artículu determináu: <suggestion>sol</suggestion>.</message>
<short>Contraición de «so el».</short>
<example correction="sol">La caxa ta <marker>so el</marker> somier.</example>
<example>La caxa ta sol somier.</example>
</rule>
<!-- SO_L' So l' -> sol-->
<rule>
<pattern>
<token>so</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «so» contrái col artículu determináu en cuenta d'apostrofar: <suggestion>sol <match no="4"></match></suggestion>.</message>
<short>Contraición de «so l’» en cuenta d’apostrofación.</short>
<example correction="sol armariu">Tienes la pota <marker>so l’armariu</marker>.</example>
<example>Tienes la pota sol armariu.</example>
</rule>
</rulegroup>
<rulegroup id="CON_CONTR" name="Con + artículu determináu">
<!-- CON_LA Con la -> cola-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">la</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu: <suggestion>cola</suggestion>.</message>
<short>Contraición de «con la».</short>
<example correction="cola">Vieno al cine <marker>con la</marker> so hermana.</example>
<example>Vieno al cine cola so hermana.</example>
</rule>
<!-- CON_EL Con el -> col-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu: <suggestion>col</suggestion>.</message>
<short>Contraición de «con el».</short>
<example correction="col">Vieno al cine <marker>con el</marker> so hermanu.</example>
<example>Vieno al cine col so hermanu.</example>
</rule>
<!-- CON_LO Con lo -> colo-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">lo</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu: <suggestion>colo</suggestion>.</message>
<short>Contraición de «con lo».</short>
<example correction="colo">Habría tar bien delgáu <marker>con lo</marker> poco que xinta.</example>
<example>Habría tar bien delgáu colo poco que xinta.</example>
</rule>
<!-- CON_LES Con les -> coles-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">les</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu: <suggestion>coles</suggestion>.</message>
<short>Contraición de «con les».</short>
<example correction="coles">Pues mercar un pisu <marker>con les</marker> perres que tienes.</example>
<example>Pues mercar un pisu coles perres que tienes.</example>
</rule>
<!-- CON_LOS Con los -> colos-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">los</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu: <suggestion>colos</suggestion>.</message>
<short>Contraición de «con los».</short>
<example correction="colos">Marchó pa en casa <marker>con los</marker> bolsos enllenos.</example>
<example>Marchó pa en casa colos bolsos enllenos.</example>
</rule>
<!-- CON_L'a Con l'a -> cola-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCFS...." postag_regexp="yes" regexp="yes">^h?[aá].*</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>cola <match no="4"></match></suggestion>.</message>
<short>Contraición de «con l’» en cuenta d’apostrofación.</short>
<example correction="cola almuhada">Marchóme <marker>con l’almuhada</marker>.</example>
<example>Marchóme cola almuhada.</example>
</rule>
<!-- CON_L' Con l' -> col-->
<rule>
<pattern>
<token>con</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «con» contrái col artículu determináu en cuenta d'apostrofar: <suggestion>col <match no="4"></match></suggestion>.</message>
<short>Contraición de «con l’» en cuenta d’apostrofación.</short>
<example correction="col asturianu">Metióse <marker>con l’asturianu</marker>.</example>
<example>Metióse col asturianu.</example>
</rule>
</rulegroup>
<rulegroup id="EN_CONTR" name="En + artículu determináu">
<!-- EN_LA En la -> na-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">la</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu: <suggestion>na</suggestion>.</message>
<short>Contraición de «en la».</short>
<example correction="na">Espérote <marker>en la</marker> estación.</example>
<example>Espérote na estación.</example>
</rule>
<!-- EN_EL En el -> nel-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu: <suggestion>nel</suggestion>.</message>
<short>Contraición de «en el».</short>
<example correction="nel">Espérote <marker>en el</marker> chigre.</example>
<example>Espérote nel chigre.</example>
</rule>
<!-- EN_LO En lo -> no-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">lo</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu: <suggestion>no</suggestion>.</message>
<short>Contraición de «en lo».</short>
<example correction="no">Tas pensando <marker>en lo</marker> que yo.</example>
<example>Tas pensando no que yo.</example>
</rule>
<!-- EN_LES En les -> nes-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">les</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu: <suggestion>nes</suggestion>.</message>
<short>Contraición de «en les».</short>
<example correction="nes">Tienes los llibros <marker>en les</marker> baldes.</example>
<example>Tienes los llibros nes baldes.</example>
</rule>
<!-- EN_LOS En los -> nos-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">los</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu: <suggestion>nos</suggestion>.</message>
<short>Contraición de «en los».</short>
<example correction="nos">Tienes manches <marker>en los</marker> pies.</example>
<example>Tienes manches nos pies.</example>
</rule>
<!-- EN_L'a En l'a -> na-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCFS...." postag_regexp="yes" regexp="yes">^h?[aá].*</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>na <match no="4"></match></suggestion>.</message>
<short>Contraición de «en l’» en cuenta d’apostrofación.</short>
<example correction="na almuhada">Cayóte agua <marker>en l’almuhada</marker>.</example>
<example>Cayóte agua na almuhada.</example>
</rule>
<!-- EN_L' En l' -> nel-->
<rule>
<pattern>
<token>en</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «en» contrái col artículu determináu en cuenta d'apostrofar: <suggestion>nel <match no="4"></match></suggestion>.</message>
<short>Contraición de «en l’» en cuenta d’apostrofación.</short>
<example correction="nel ombligu">Pegó-y <marker>en l’ombligu</marker>.</example>
<example>Pegó-y nel ombligu.</example>
</rule>
</rulegroup>
<rulegroup id="PER_CONTR" name="Per + artículu determináu">
<!-- PER_LA Per la -> pela-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">la</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu: <suggestion>pela</suggestion>.</message>
<short>Contraición de «per la».</short>
<example correction="pela">Vien <marker>per la</marker> cera.</example>
<example>Vien pela cera.</example>
</rule>
<!-- PER_EL Per el -> pel-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu: <suggestion>pel</suggestion>.</message>
<short>Contraición de «per el».</short>
<example correction="pel">Tien que venir <marker>per el</marker> camín.</example>
<example>Tien que venir pel camín.</example>
</rule>
<!-- PER_LO Per lo -> pelo-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">lo</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu: <suggestion>pelo</suggestion>.</message>
<short>contraición de «per lo».</short>
<example correction="pelo">Vete <marker>per lo</marker> segao.</example>
<example>Vete pelo segao.</example>
</rule>
<!-- PER_LES Per les -> peles-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">les</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu: <suggestion>peles</suggestion>.</message>
<short>Contraición de «per les».</short>
<example correction="peles">Ta pingándo-y <marker>per les</marker> dees.</example>
<example>Ta pingándo-y peles dees.</example>
</rule>
<!-- PER_LOS Per los -> pelos-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">los</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu: <suggestion>pelos</suggestion>.</message>
<short>Contraición de «per los».</short>
<example correction="pelos">Da-y bien <marker>per los</marker> requexos.</example>
<example>Da-y bien pelos requexos.</example>
</rule>
<!-- PER_L'a Per l'a -> pela-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCFS...." postag_regexp="yes" regexp="yes">^h?[aá].*</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>pela <match no="4"></match></suggestion>.</message>
<short>Contraición de «per l’» en cuenta d’apostrofación.</short>
<example correction="pela almuhada">Pingóte agua <marker>per l’almuhada</marker>.</example>
<example>Pingóte agua pela almuhada.</example>
</rule>
<!-- PER_L' Per l' -> pel-->
<rule>
<pattern>
<token>per</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «per» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>pel <match no="4"></match></suggestion>.</message>
<short>Contraición de «per l’» en cuenta d’apostrofación.</short>
<example correction="pel abdome">Tien rebusquinos <marker>per l’abdome</marker>.</example>
<example>Tien rebusquinos pel abdome.</example>
</rule>
</rulegroup>
<rulegroup id="POR_CONTR" name="Por + artículu determináu">
<!-- POR_LA Por la -> pola-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">la</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu: <suggestion>pola</suggestion>.</message>
<short>Contraición de «por la».</short>
<example correction="pola">Préstame <marker>por la</marker> vida.</example>
<example>Préstame pola vida.</example>
</rule>
<!-- POR_EL Por el -> pol-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu: <suggestion>pol</suggestion>.</message>
<short>Contraición de «por el».</short>
<example correction="pol">Préstame <marker>por el</marker> vivir.</example>
<example>Préstame pol vivir.</example>
</rule>
<!-- POR_LO Por lo -> polo-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">lo</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu: <suggestion>polo</suggestion>.</message>
<short>Contraición de «por lo».</short>
<example correction="polo">Nun te gusta nada, <marker>por lo</marker> que toi viendo.</example>
<example>Nun te gusta nada, polo que toi viendo.</example>
</rule>
<!-- POR_LES Por les -> poles-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">les</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu: <suggestion>poles</suggestion>.</message>
<short>Contraición de «por les».</short>
<example correction="poles">Calló la boca <marker>por les</marker> tos pallabres.</example>
<example>Calló la boca poles tos pallabres.</example>
</rule>
<!-- POR_LOS Por los -> polos-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">los</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu: <suggestion>polos</suggestion>.</message>
<short>Contraición de «por los».</short>
<example correction="polos">Calló la boca <marker>por los</marker> sos comentarios.</example>
<example>Calló la boca polos sos comentarios.</example>
</rule>
<!-- POR_L'a Por l'a -> pola-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCFS...." postag_regexp="yes" regexp="yes">^h?[aá].*</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>pola <match no="4"></match></suggestion>.</message>
<short>Contraición de «por l'» en cuenta d’apostrofación.</short>
<example correction="pola almuhada">Dormisti mal <marker>por l’almuhada</marker>.</example>
<example>Dormisti mal pola almuhada.</example>
</rule>
<!-- POR_L' Por l' -> pol-->
<rule>
<pattern>
<token>por</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>La preposición «por» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>pol <match no="4"></match></suggestion>.</message>
<short>Contraición de «por l'» en cuenta d’apostrofación</short>
<example correction="pol hermanu">Fízolo too <marker>por l’hermanu</marker> del so amigu.</example>
<example>Fízolo too pol hermanu del so amigu.</example>
</rule>
</rulegroup>
<rulegroup id="TOU_CONTR" name="Tou, -a, -o + artículu determináu">
<!-- TOU_EL Tou el -> tol-->
<rule>
<pattern>
<token>tou</token>
<token case_sensitive="yes">el</token>
</pattern>
<message>L’indefiníu «tou» contrái col artículu determináu: <suggestion>tol</suggestion>.</message>
<short>Contraición de «tou el».</short>
<example correction="tol">Lleva <marker>tou el</marker> día berrando.</example>
<example>Lleva tol día berrando.</example>
</rule>
<!-- TOU_L' Tou l' -> tol-->
<rule>
<pattern>
<token>tou</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCMS...." postag_regexp="yes" regexp="yes">^h?[aáeéiíoóuú].*</token>
</pattern>
<message>L’indefiníu «tou» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>tol <match no="4"></match></suggestion>.</message>
<short>Contraición de «tou l’» en cuenta d’apostrofación.</short>
<example correction="tol honor">Perdió <marker>tou l’honor</marker>.</example>
<example>Perdió tol honor.</example>
</rule>
<!-- TOA_LA Toa la -> tola-->
<rule>
<pattern>
<token>toa</token>
<token case_sensitive="yes">la</token>
</pattern>
<message>L’indefiníu «toa» contrái col artículu determináu: <suggestion>tola</suggestion>.</message>
<short>Contraición de «toa la».</short>
<example correction="tola">Lleva <marker>toa la</marker> falda emporcada.</example>
<example>Lleva tola falda emporcada.</example>
</rule>
<!-- TOA_L'a Toa l'a -> tola-->
<rule>
<pattern>
<token>toa</token>
<token case_sensitive="yes">l</token>
<token regexp="yes">[’´'‛′‘]</token>
<token postag="NCFS...." postag_regexp="yes" regexp="yes">^h?[aá].*</token>
</pattern>
<message>L’indefiníu «toa» contrái col artículu determináu en cuenta d’apostrofar: <suggestion>tola <match no="4"></match></suggestion>.</message>
<short>Contraición de «toa l'» en cuenta d’apostrofación.</short>
<example correction="tola almuhada">Moyó <marker>toa l'almuhada</marker>.</example>
<example>Moyó tola almuhada.</example>
</rule>
<!-- TOO_LO Too lo -> tolo-->
<rule>
<pattern>
<token>too</token>
<token case_sensitive="yes">lo</token>
</pattern>
<message>L’indefiníu «too» contrái col artículu determináu: <suggestion>tolo</suggestion>.</message>
<short>Contraición de «too lo».</short>
<example correction="tolo">Deprendió d'él <marker>too lo</marker> que sabe.</example>
<example>Deprendió d'él tolo que sabe.</example>
</rule>
<!-- TOOS_LOS Toos los -> tolos-->
<rule>
<pattern>
<token>toos</token>
<token case_sensitive="yes">los</token>
</pattern>
<message>L’indefiníu «toos» contrái col artículu determináu: <suggestion>tolos</suggestion>.</message>
<short>Contraición de «toos los».</short>
<example correction="tolos">Traxo <marker>toos los</marker> llibros que tien.</example>
<example>Traxo tolos llibros que tien.</example>
</rule>
<!-- TOES_LES Toes les -> toles-->
<rule>
<pattern>
<token>toes</token>
<token case_sensitive="yes">les</token>
</pattern>
<message>L’indefiníu «toes» contrái col artículu determináu: <suggestion>toles</suggestion>.</message>
<short>Contraición de «toes les».</short>
<example correction="toles">Traxo <marker>toes les</marker> perres con ella.</example>
<example>Traxo toles perres con ella.</example>
</rule>
</rulegroup>
<rulegroup id="CADA_UN_CONTR" name="Cada + artículu indefiníu">
<!-- CADA_ÚN Cada ún -> caún-->
<rule>
<pattern>
<token>cada</token>
<token regexp="yes">ún|un[uao]</token>
</pattern>
<message>L'indefiníu «cada» contrái col artículu indefiníu: <suggestion><match no="2" regexp_match="..(.?)" regexp_replace="caún$1"></match></suggestion>.</message>
<short>Contraición de «cada» con artículu indefiníu.</short>
<example correction="caún">Vien <marker>cada ún</marker> per separtao.</example>
<example>Vien caún per separtao.</example>
</rule>
</rulegroup>
<!-- EN_ÚN En ún -> nún-->
<rule id="EN_UN_CONTR" name="En + artículu indefiníu">
<pattern>
<token>en</token>
<token regexp="yes">[uú]n|un[uao]|un[oe]s</token>
</pattern>
<message>La preposición «en» contrái col indefiníu: <suggestion>n<match no="2"></match></suggestion>.</message>
<short>Contraición d’«en» con artículu indefiníu.</short>
<example correction="nun">Metióse <marker>en un</marker> chigre.</example>
<example>Metióse nun chigre.</example>
</rule>
<!-- EN_ÉL En él -> nél-->
<rule id="EN_EL_CONTR" name="En + pronome personal">
<pattern>
<token>en</token>
<token regexp="yes">él|ell[iao]|ell[oe]s</token>
</pattern>
<message>La preposición «en» contrái col pronome personal: <suggestion>n<match no="2"></match></suggestion>.</message>
<short>Contraición d’«en» con pronome personal.</short>
<example correction="nél">Enfotóse <marker>en él</marker>.</example>
<example>Enfotóse nél.</example>
</rule>
<!-- EN_ESTI En esti -> nesti-->
<rule id="EN_ESTI_CONTR" name="En + demostrativu">
<pattern>
<token>en</token>
<token regexp="yes">est?[iao]|est?[oe]s|aquel|aquell[iao]|aquell[oe]s</token>
</pattern>
<message>La preposición «en» contrái col demostrativu: <suggestion>n<match no="2"></match></suggestion>.</message>
<short>Contraición d’«en» con demostrativu.</short>
<example correction="nesti">Ta metíu <marker>en esti</marker> chigre.</example>
<example>Ta metíu nesti chigre.</example>
</rule>
<rulegroup id="DOS_PREP_CONTR" name="Dos preposiciones siguíes">
<!-- PER_PA_ENTE Per/pa ente -> pente/pante-->
<rule>
<pattern>
<token regexp="yes">per|pa</token>
<token>ente</token>
</pattern>
<message>Les preposiciones "\1 ente" contraen: <suggestion><match no="1" regexp_match="(..).?" regexp_replace="$1nte"></match></suggestion>.</message>
<short>Contraición de "\1 ente".</short>
<example correction="pente">Vése-y <marker>per ente</marker> los árboles.</example>
<example correction="pante">Tiró <marker>pa ente</marker> la follasca.</example>
</rule>
<!-- A_EN A en -> an-->
<rule>
<pattern>
<token>a</token>
<token>en</token>
</pattern>
<message>Les preposiciones «a en» contraen: <suggestion>an</suggestion>.</message>
<short>Contraición d’«a en».</short>
<example correction="an">Voi <marker>a en</marker> ca Xuan.</example>
<example>Voi an ca Xuan.</example>
</rule>
</rulegroup>
</category>
<category id="APOSTROFACIONES" name="Apostrofaciones">
<rulegroup id="DETERM_APOSTR" name="El, la">
<!-- EL: artículu determináu «el» + vocal o h muda" -> l'a- -->
<rule>
<pattern>
<token><exception regexp="yes">a|de|pa|so|con|en|per|por|tou|que</exception></token>
<marker>
<token>el</token>
<token regexp="yes">^[aeiouháéíóú].*</token>
</marker>
</pattern>
<message>L’artículu determináu «el» apostrofa delantre de vocal o h muda: <suggestion>l’<match no="3"></match></suggestion>.</message>
<short>L’artículu «el» énte vocal o h muda apostrofa per detrás.</short>
<example correction="l’home"><marker>el home</marker></example>
</rule>
<!-- EL: vocal + artículu determináu «el» -> -a'l -->
<rule>
<pattern>
<marker>
<token regexp="yes">.*[aeiouáéíóú]$<exception regexp="yes">a|de|pa|so|tou</exception></token>
<token>el</token>
</marker>
<token><exception regexp="yes">^[aeiouháéíóú].*</exception></token>
</pattern>
<message>L’artículu determináu «el» apostrofa per delantre acabando en vocal la pallabra anterior: <suggestion><match no="1"></match>’l</suggestion>.</message>
<short>L’artículu «el» tres de vocal apostrofa per delantre.</short>
<example correction="garra’l"><marker>garra el</marker> xatu</example>
</rule>
<!-- LA: artículu determináu «la» -> l'a- -->
<rule>
<pattern>
<token><exception regexp="yes">con|en|per|por|toa</exception></token>
<marker>
<token>la</token>
<token regexp="yes">^h?[aá].*<exception postag="V.*" postag_regexp="yes"></exception></token>
</marker>
</pattern>
<message>L’artículu determináu «la» apostrofa delantre d’a o ha: <suggestion>l’<match no="3"></match></suggestion>.</message>
<short>L’artículu «la» apostrofa.</short>
<example correction="l’agonía"><marker>la agonía</marker></example>
</rule>
</rulegroup>
<rulegroup id="PREPOS_APOSTR" name="De, en, pa">
<!-- PA: preposición «pa» -> p'a- -->
<rule>
<pattern>
<token>pa</token>
<token regexp="yes">^h?[aá].*</token>
</pattern>
<message>La preposición «pa» apostrofa delantre d’a o ha: <suggestion>p’<match no="2"></match></suggestion>.</message>
<short>La preposición «pa» apostrofa.</short>
<example correction="p’aguantalu"><marker>pa aguantalu</marker></example>
</rule>
<!-- DE: preposición «de» -> d'a- -->
<rule>
<pattern>
<token>de</token>
<token regexp="yes">^[aeiouháéíóú].*<exception>el</exception></token>
</pattern>
<message>La preposición «de» apostrofa delantre de vocal o h muda: <suggestion>d’<match no="2"></match></suggestion>.</message>
<short>La preposición «de» apostrofa.</short>
<example correction="d’home"><marker>de home</marker></example>
</rule>
<!-- EN: preposición «en» -> n'a- -->
<rule>
<pattern>
<token>en</token>
<token regexp="yes">^[aeiouháéíóú].*<exception regexp="yes">[uú]n|un[uao]|un[oe]s|[eé]l|ell[iao]|ell[oe]s|est?[iao]|est?[oe]s|aquel|aquell[iao]|aquell[oe]s</exception></token>
</pattern>
<message>La preposición «en» apostrofa delantre de vocal o h muda: <suggestion>n’<match no="2"></match></suggestion>.</message>
<short>La preposición «en» apostrofa.</short>
<example correction="n’avientu"><marker>en avientu</marker></example>
</rule>
</rulegroup>
<rulegroup id="PRON_APOSTR" name="Me, te, se">
<!-- ME: pronome «me» -> m'a- -->
<rule>
<pattern>
<token>me</token>
<token regexp="yes">^[aeiouháéíóú].*</token>
</pattern>
<message>El pronome «me» apostrofa delantre de vocal o h muda: <suggestion>m’<match no="2"></match></suggestion>.</message>
<short>El pronome «me» apostrofa.</short>
<example correction="m’aguanta"><marker>me aguanta</marker></example>
</rule>
<!-- TE: pronome «te» -> t'a- -->
<rule>
<pattern>
<token>te</token>
<token regexp="yes">^[aeiouháéíóú].*</token>
</pattern>
<message>El pronome «te» apostrofa delantre de vocal o h muda: <suggestion>t’<match no="2"></match></suggestion>.</message>
<short>El pronome «te» apostrofa.</short>
<example correction="t’aguanta"><marker>te aguanta</marker></example>
</rule>
<!-- SE: pronome «se» -> s'a- -->
<rule>
<pattern>
<token>se</token>
<token regexp="yes">^[aeiouháéíóú].*</token>
</pattern>
<message>El pronome «se» apostrofa delantre de vocal o h muda: <suggestion>s’<match no="2"></match></suggestion>.</message>
<short>El pronome «se» apostrofa.</short>
<example correction="s’aguanta"><marker>se aguanta</marker></example>
</rule>
</rulegroup>
<rulegroup id="QUE_APOSTR" name="conxunción y relativu «que»">
<!-- QUE: xenéricu -> qu'a- -->
<rule>
<pattern>
<token>que</token>
<token regexp="yes">^[aeiouháéíóú].*<exception>el</exception></token>
</pattern>
<message>La conxunción y el relativu «que» apostrofen delantre de vocal o h muda: <suggestion>qu’<match no="2"></match></suggestion>.</message>
<short>La conxunción y el relativu «que» apostrofen.</short>
<example correction="qu’aguanta"><marker>que aguanta</marker></example>
</rule>
<!-- QUE: conxunción y relativu «que el» delantre de vocal o h muda -> que l'a -->
<rule>
<pattern>
<token>que</token>
<marker>
<token>el</token>
<token regexp="yes">^[aeiouháéíóú].*</token>
</marker>
</pattern>
<message>La conxunción y el relativu «que» apostrofen col artículu «el»: <suggestion>l’<match no="3"></match></suggestion>.</message>
<short>La conxunción y el relativu «que» con «el» y vocal o h muda apostrofa per detrás.</short>
<example correction="l’arume">que <marker>el arume</marker></example>
</rule>
</rulegroup>
</category>
<category id="ORTOGRAFIA" name="Ortografía" type="misspelling">
<rule id="APARTE" name="A parte -> aparte">
<antipattern>
<token>parte</token>
<token regexp="yes">dalguna|nenguna|denguna</token>
</antipattern>
<antipattern>
<token>parte</token>
<token>a</token>
<token>parte</token>
</antipattern>
<pattern>
<token>a</token>
<token>parte</token>
</pattern>
<message>Valorar escribir <suggestion>aparte</suggestion>, si se quier dicir «de llau, separtáu».</message>
<example correction="aparte">Púnxose <marker>a parte</marker>.</example>
<example>Nun nos lleva a parte nenguna.</example>
<example>Trevesólu de parte a parte.</example>
</rule>
<rule id="HAIGA_HAYA" name="Haiga -> haya">
<pattern>
<token>haiga</token>
</pattern>
<message>¿Queríes dicir <suggestion>haya</suggestion> (del verbu «haber»)?</message>
<example correction="haya">Qu’a lo menos <marker>haiga</marker> delles opciones.</example>
</rule>
<rule id="HAIGA_HEBA" name="Haiga -> heba">
<pattern>
<token>haiga</token>
</pattern>
<message>¿Queríes dicir <suggestion>heba</suggestion> (del verbu «haber»)?</message>
<example correction="heba">Qu’a lo menos <marker>haiga</marker> delles opciones.</example>
</rule>
<rule id="ASGAYA" name="Esgaya -> a esgaya">
<pattern>
<token negate="yes">a</token>
<marker>
<token regexp="yes">[ae]sgaya</token>
</marker>
</pattern>
<message>La forma correuta ye <suggestion>a esgaya</suggestion>.</message>
<example correction="a esgaya">Tien perres <marker>esgaya</marker>.</example>
<example correction="a esgaya">Tien perres <marker>asgaya</marker>.</example>
</rule>
<rule id="SI_QUIER" name="Si quier -> siquier">
<pattern>
<token>nin</token>
<token>si</token>
<token>quier</token>
</pattern>
<message>Como alverbiu o conxunción, escríbese <suggestion>nin siquier</suggestion>.</message>
<example correction="nin siquier">Nun vieno naide, <marker>nin si quier</marker> Nel.</example>
<example>Nun me diz si quier o non esti papel.</example>
</rule>
<rule id="CONTRA_MAS_CUANTES" name="Contra más -> cuantes más">
<pattern>
<token>contra</token>
<token>más</token>
</pattern>
<message>Espresión incorreuta. Ha escribise <suggestion>cuantes más</suggestion>.</message>
<example correction="cuantes más">Ye peor <marker>contra más</marker> anecies.</example>
</rule>
<rule id="CONTRA_MAS_CUANTO" name="Contra más -> cuanto más">
<pattern>
<token>contra</token>
<token>más</token>
</pattern>
<message>Espresión incorreuta. Ha escribise <suggestion>cuanto más</suggestion>.</message>
<example correction="cuanto más">Ye peor <marker>contra más</marker> anecies.</example>
</rule>
<!--rule id="DAR_ABASTU" name="Dar a bastu -> dar abastu">
<pattern>
<token inflected="yes" skip="2">dar</token>
<marker>
<token>a</token>
<token>bastu</token>
</marker>
</pattern>
<message>Escríbese xunto.</message>
<suggestion>abastu</suggestion>
<example correction="abastu">Clara nun daba <marker>a bastu</marker>.</example>
</rule-->
</category>
<category id="GRAMATICA" name="Gramática" type="grammar">
<rule id="DIR_A_INF" name="Dir más infinitivu">
<pattern>
<token inflected="yes">dir</token>
<token>a</token>
<token postag="V..00000" postag_regexp="yes"/>
</pattern>
<message>Aconséyase construyir la perífrasis ensin preposición: <suggestion>\1 \3</suggestion></message>
<example correction="va garrar">Xuan <marker>va a garrar</marker> l’autobús.</example>
</rule>
<!--rule id="ACABAR_DE_INF" name="Acabar más infinitivu">
<pattern>
<token inflected="yes">acabar</token>
<token regexp="yes">de|d[’´'‛′‘]</token>
<token postag="V..00000" postag_regexp="yes"/>
</pattern>
<message>Aconséyase construyir la perífrasis ensin preposición: <suggestion>\1 \3</suggestion></message>
<example correction="acaba salir">Xurde <marker>acaba de salir</marker> d’escuela.</example>
<example correction="acaba abrir">Xurde <marker>acaba d’abrir</marker> la caxa.</example>
</rule-->
<rulegroup id="CONCORDANCIA_XENERU" name="Concordancia de xéneru">
<rule>
<pattern>
<token>agora</token>
<token regexp="yes">mesm[ua]</token>
</pattern>
<message>Concordancia de «\2» en neutru: <suggestion>agora mesmo</suggestion>.</message>
<example correction="agora mesmo">Fáigolo <marker>agora mesmu</marker>.</example>
</rule>
</rulegroup>
<rulegroup id="PRON_NOS_VOS" name="Nos llevamos/vos lleváis -> nós llevamos/vós lleváis">
<rule>
<pattern>
<token postag="SENT_START"/>
<marker>
<token>nos</token>
</marker>
<token postag="V.*1P.." postag_regexp="yes">
<exception negate_pos="yes" postag="V.*1P.." postag_regexp="yes"/>
</token>
</pattern>
<message>¿Queríes dicir <suggestion><match no="2" regexp_match="(?iu)o" regexp_replace="ó"/></suggestion>? Paez un pronome suxetu.</message>
<short>Pronome personal suxetu con tilde.</short>
<example correction="Nós"><marker>Nos</marker> marchamos pal pueblu.</example>
</rule>
<!--rule>
<pattern>
<token postag="SENT_START"/>
<marker>
<token>vos</token>
</marker>
<token postag="V.*2P.." postag_regexp="yes">
<exception negate_pos="yes" postag="V.*2P.." postag_regexp="yes"/>
</token>
</pattern>
<message>¿Queríes dicir <suggestion><match no="2" regexp_match="(?iu)o" regexp_replace="ó"/></suggestion>? Paez un pronome suxetu.</message>
<short>Pronome personal suxetu con tilde.</short>
<example correction="Vós">¿<marker>Vos</marker> marcháis pal pueblu?</example>
</rule-->
</rulegroup>
</category>
</rules>