Revision: 6203
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6203&view=rev
Author:   archeus
Date:     2012-01-09 11:46:34 +0000 (Mon, 09 Jan 2012)
Log Message:
-----------
[ro] extended SA_IL_AJUTA rule: add negation.

Modified Paths:
--------------
    trunk/JLanguageTool/src/rules/ro/grammar.xml

Modified: trunk/JLanguageTool/src/rules/ro/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ro/grammar.xml        2012-01-09 10:41:12 UTC 
(rev 6202)
+++ trunk/JLanguageTool/src/rules/ro/grammar.xml        2012-01-09 11:46:34 UTC 
(rev 6203)
@@ -1202,27 +1202,52 @@
                        <example type="correct">Și <marker>eu venisem</marker> 
adesea prin parc.</example>
                </rule>                 
 
-               <rule id="SA_IL_AJUTA" name="să + (pronume) + (conjunctiv)">
-                       <pattern mark_from="2">
-                               <token>să</token>
-                               <token postag_regexp="yes" 
postag="N.*"><exception>o</exception><exception negate="yes" 
postag_regexp="yes" postag="N.*"></exception></token>
-                               <token postag_regexp="yes" 
postag="V.*"><exception regexp="yes">fi|o</exception><exception 
postag_regexp="yes" postag=".*c.."></exception></token>
-                       </pattern>
-                       <message>Dezacord gramatical: formele de conjunctiv ale 
verbului „a <match no="3" postag="V000000f00" />” sunt: <suggestion><match 
-                               no="3" postag_regexp="yes" postag="V0..000cz0" 
/></suggestion>.</message>
-                       <short>Dezacord gramatical</short>
-                       <example type="correct">Eu am încercat să îl 
<marker>împing</marker> mai departe.</example>
-                       <example type="correct">Nu a făcut decât să îl 
<marker>aducă</marker> aici.</example>
-                       <example type="incorrect" 
correction="ajut|ajutați|ajute|ajutăm|ajuți">De cele mai multe ori refuză să îl 
<marker>ajută</marker>.</example>
-                       <example type="incorrect" 
correction="configurați|configurez|configureze|configurezi|configurăm">Noi am 
încercat să îl <marker>configuram</marker> cât mai bine.</example>
-                       <example type="incorrect" 
correction="configurați|configurez|configureze|configurezi|configurăm">Noi am 
încercat să îl <marker>configura</marker> cât mai bine.</example>
-                       <example type="correct">Eu am încercat să îl 
<marker>configurez</marker> cât mai bine.</example>
-                       <example type="correct">Tu ai încercat să îl 
<marker>configurezi</marker> cât mai bine.</example>
-                       <example type="correct">El a încercat să îl 
<marker>configureze</marker> cât mai bine.</example>
-                       <example type="correct">Noi am încercat să îl 
<marker>configurăm</marker> cât mai bine.</example>
-                       <example type="correct">Voi ați încercat să îl 
<marker>configurați</marker> cât mai bine.</example>
-                       <example type="correct">Ei au încercat să îl 
<marker>configureze</marker> cât mai bine.</example>
-               </rule>
+               <rulegroup id="SA_IL_AJUTA" name="să [+ nu] + (pronume) + 
(conjunctiv)" default="on">
+                       <rule>
+                               <pattern mark_from="2" mark_to="-1">
+                                       <token>să</token>
+                                       <token postag_regexp="yes" 
postag="N.*"><exception>o</exception><exception negate="yes" 
postag_regexp="yes" postag="N.*"/></token>
+                                       <token postag_regexp="yes" 
postag="V.*"><exception regexp="yes">fi|o</exception><exception 
postag_regexp="yes" postag=".*c.."/></token>
+                                       <token><exception>-</exception></token>
+                               </pattern>
+                               <message>Dezacord gramatical: formele de 
conjunctiv ale verbului „a <match no="3" postag="V000000f00" />” sunt: 
<suggestion><match 
+                                       no="3" postag_regexp="yes" 
postag="V0..000cz0" /></suggestion>.</message>
+                               <short>Dezacord gramatical</short>
+                               <example type="correct">Eu am încercat să îl 
<marker>împing</marker> mai departe.</example>
+                               <example type="correct">Nu a făcut decât să îl 
<marker>aducă</marker> aici.</example>
+                               <example type="incorrect" 
correction="ajut|ajutați|ajute|ajutăm|ajuți">De cele mai multe ori refuză să îl 
<marker>ajută</marker>.</example>
+                               <example type="incorrect" 
correction="configurați|configurez|configureze|configurezi|configurăm">Noi am 
încercat să îl <marker>configuram</marker> cât mai bine.</example>
+                               <example type="incorrect" 
correction="configurați|configurez|configureze|configurezi|configurăm">Noi am 
încercat să îl <marker>configura</marker> cât mai bine.</example>
+                               <example type="correct">Eu am încercat să îl 
<marker>configurez</marker> cât mai bine.</example>
+                               <example type="correct">Tu ai încercat să îl 
<marker>configurezi</marker> cât mai bine.</example>
+                               <example type="correct">El a încercat să îl 
<marker>configureze</marker> cât mai bine.</example>
+                               <example type="correct">Noi am încercat să îl 
<marker>configurăm</marker> cât mai bine.</example>
+                               <example type="correct">Voi ați încercat să îl 
<marker>configurați</marker> cât mai bine.</example>
+                               <example type="correct">Ei au încercat să îl 
<marker>configureze</marker> cât mai bine.</example>
+                       </rule>
+                       <rule>
+                               <pattern mark_from="3">
+                                       <token>să</token>
+                                       <token>nu</token>
+                                       <token postag_regexp="yes" 
postag="N.*"><exception>o</exception><exception negate="yes" 
postag_regexp="yes" postag="N.*"/></token>
+                                       <token postag_regexp="yes" 
postag="V.*"><exception regexp="yes">fi|o</exception><exception 
postag_regexp="yes" postag=".*c.."/></token>
+                               </pattern>
+                               <message>Dezacord gramatical: formele de 
conjunctiv ale verbului „a <match no="4" postag="V000000f00" />” sunt: 
<suggestion><match 
+                                       no="4" postag_regexp="yes" 
postag="V0..000cz0" /></suggestion>.</message>
+                               <short>Dezacord gramatical</short>
+                               <example type="correct">Eu am încercat să nu îl 
<marker>împing</marker> mai departe.</example>
+                               <example type="correct">A vrut să nu îl 
<marker>aducă</marker> aici.</example>
+                               <example type="incorrect" 
correction="ajut|ajutați|ajute|ajutăm|ajuți">De cele mai multe ori refuză să nu 
îl <marker>ajută</marker>.</example>
+                               <example type="incorrect" 
correction="configurați|configurez|configureze|configurezi|configurăm">Noi am 
încercat să nu îl <marker>configuram</marker> cât mai bine.</example>
+                               <example type="incorrect" 
correction="configurați|configurez|configureze|configurezi|configurăm">Noi am 
încercat să nu îl <marker>configura</marker> cât mai bine.</example>
+                               <example type="correct">Eu am încercat să nu îl 
<marker>configurez</marker> rău.</example>
+                               <example type="correct">Tu ai încercat să nu îl 
<marker>configurezi</marker> rău.</example>
+                               <example type="correct">El a încercat să nu îl 
<marker>configureze</marker> rău.</example>
+                               <example type="correct">Noi am încercat să nu 
îl <marker>configurăm</marker> rău.</example>
+                               <example type="correct">Voi ați încercat să nu 
îl <marker>configurați</marker> rău.</example>
+                               <example type="correct">Ei au încercat să nu îl 
<marker>configureze</marker> rău.</example>
+                       </rule>
+               </rulegroup>
 
                <!--  too greedy 
                <rule id="PRONUME_VERB_IND_IMP" name="pronume + (verb indicativ 
imperfect)">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to