Revision: 7944 http://languagetool.svn.sourceforge.net/languagetool/?rev=7944&view=rev Author: jaumeortola Date: 2012-08-29 14:30:16 +0000 (Wed, 29 Aug 2012) Log Message: ----------- [ca] new rule: *un a/una
Modified Paths: -------------- trunk/JLanguageTool/src/resource/ca/multiwords.txt trunk/JLanguageTool/src/rules/ca/grammar.xml Modified: trunk/JLanguageTool/src/resource/ca/multiwords.txt =================================================================== --- trunk/JLanguageTool/src/resource/ca/multiwords.txt 2012-08-29 11:42:18 UTC (rev 7943) +++ trunk/JLanguageTool/src/resource/ca/multiwords.txt 2012-08-29 14:30:16 UTC (rev 7944) @@ -25,6 +25,8 @@ a la fi LOC_ADV a la vegada LOC_ADV A la vegada LOC_ADV +A mesura que LOC_CONJ +a mesura que LOC_CONJ A més LOC_ADV a més LOC_ADV a més a més LOC_ADV @@ -309,6 +311,8 @@ en general LOC_ADV En gran part LOC_ADV en gran part LOC_ADV +En la mesura que LOC_CONJ +en la mesura que LOC_CONJ En la seua majoria LOC_ADV en la seua majoria LOC_ADV en la seva majoria LOC_ADV Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml =================================================================== --- trunk/JLanguageTool/src/rules/ca/grammar.xml 2012-08-29 11:42:18 UTC (rev 7943) +++ trunk/JLanguageTool/src/rules/ca/grammar.xml 2012-08-29 14:30:16 UTC (rev 7944) @@ -2339,6 +2339,34 @@ </rulegroup> </category> <category name="Confusions"> + <rule id="UN_A" name="*un a/una"> + <pattern> + <marker> + <token regexp="yes">algun|aquest|un</token> + <token>a</token> + </marker> + <token postag="NC[FC]S.*|A..[FC]S.*|V.P00SF" postag_regexp="yes"><exception>sota</exception></token> + </pattern> + <message>¿Volíeu dir <suggestion><match no="1"/><match no="2"/></suggestion>?</message> + <example type="incorrect"><marker>algun a</marker> cosa</example> + <example type="correct">alguna cosa</example> + <example type="correct">L'augment d'aquest a mesura que creix l'altre.</example> + </rule> + <rulegroup id="APART" name="*apart/a part"> + <rule> + <pattern> + <token><exception postag="D[DAI]0[MC]S0" postag_regexp="yes"/></token> + <marker> + <token>apart</token> + </marker> + </pattern> + <message>¿Volíeu dir <suggestion>a part</suggestion>?</message> + <example type="incorrect"><marker>Apart</marker> del nostre país</example> + <example type="incorrect">Deixant <marker>apart</marker> l'estil dels trobadors</example> + <example type="correct">A part del nostre país</example> + <example type="correct">Llavors va fer un apart</example> + </rule> + </rulegroup> <rulegroup id="MOL_MOLT" name="*mol(s)/molt(s)"> <rule> <pattern> @@ -5645,21 +5673,6 @@ </rule> </category> <category name="Expressions"> - <rulegroup id="APART" name="*apart/a part"> - <rule> - <pattern> - <token><exception postag="D[DAI]0[MC]S0" postag_regexp="yes"/></token> - <marker> - <token>apart</token> - </marker> - </pattern> - <message>¿Volíeu dir <suggestion>a part</suggestion>?</message> - <example type="incorrect"><marker>Apart</marker> del nostre país</example> - <example type="incorrect">Deixant <marker>apart</marker> l'estil dels trobadors</example> - <example type="correct">A part del nostre país</example> - <example type="correct">Llavors va fer un apart</example> - </rule> - </rulegroup> <rule id="CARA_A" name="*cara a/de cara a"> <pattern> <token negate="yes" inflected="yes" regexp="yes">plantar|fer<exception regexp="yes">de|la</exception></token> @@ -7015,8 +7028,8 @@ </rule> </rulegroup> </category> -<!-- <category name="Sintaxi"> - <rulegroup id="ordre_dubtos" name="ordres de frase dubtosos"> + <!--<category name="Sintaxi"> + <rulegroup id="ordre_dubtos" name="ordres de frase dubtosos"> <rule> <pattern> <token postag="DA.*" postag_regexp="yes"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs