[LanguageTool] SF.net SVN: languagetool:[6506] trunk/JLanguageTool/src

2012-02-11 Thread dominikoeo
Revision: 6506
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=6506view=rev
Author:   dominikoeo
Date: 2012-02-11 20:35:22 + (Sat, 11 Feb 2012)
Log Message:
---
[br] detect errors in:
 - *An dra kenta?\195?\177* - An dra genta?\195?\177
 - *Lakaet e vrezhoneg* - Lakaet e brezhoneg

Modified Paths:
--
trunk/JLanguageTool/src/resource/br/disambiguation.xml
trunk/JLanguageTool/src/rules/br/grammar.xml

Modified: trunk/JLanguageTool/src/resource/br/disambiguation.xml
===
--- trunk/JLanguageTool/src/resource/br/disambiguation.xml  2012-02-11 
19:23:13 UTC (rev 6505)
+++ trunk/JLanguageTool/src/resource/br/disambiguation.xml  2012-02-11 
20:35:22 UTC (rev 6506)
@@ -166,6 +166,16 @@
   disambig action=removewd lemma=e pos=L e//disambig
 /rule
   /rulegroup
+  rulegroup id=E_P name=e preposition
+rule
+  pattern mark=1
+token inflected=yes regexp=yestrein|lakaat|skrivañ/token
+token postag=Pe/token
+token postag_regexp=yes postag=N.* regexp=yes.*eg/token
+  /pattern
+  disambig postag=P/
+/rule
+  /rulegroup
   rulegroup id=NE_V name=ne + verb
 rule
   pattern mark=1
@@ -175,4 +185,20 @@
   disambigmatch no=1 postag_regexp=yes postag=V.*//disambig
 /rule
   /rulegroup
+  rulegroup id=UR_N name=ur + anv
+rule
+  pattern mark=1
+tokenurexception scope=previousen/exception/token
+token postag=V.* postag_regexp=yes/
+  /pattern
+  disambig action=filter postag=N.*/
+/rule
+rule
+  pattern mark=1
+token regexp=yesu[ln]|a[nlr]/token
+token postag=V.* postag_regexp=yes/
+  /pattern
+  disambig action=filter postag=N.*/
+/rule
+  /rulegroup
 /rules

Modified: trunk/JLanguageTool/src/rules/br/grammar.xml
===
--- trunk/JLanguageTool/src/rules/br/grammar.xml2012-02-11 19:23:13 UTC 
(rev 6505)
+++ trunk/JLanguageTool/src/rules/br/grammar.xml2012-02-11 20:35:22 UTC 
(rev 6506)
@@ -1680,10 +1680,10 @@
 rulegroup id=KEMM_N_J name=Kemmadur en anv-gwan o tont warlec’h an 
anv
   rule
 pattern mark_from=1 mark_to=-1
-  token 
regexp=yesaer|amzer|avel|brud|c’hoari|c’hwezh|lann|lur|revr|tra/token
+  token 
regexp=yesaer|amzer|avel|brud|c’hoari|c’hwezh|lann|lur|revr|[dt]ra/token
   token postag=J.* postag_regexp=yes inflected=yes 
regexp=yes[ktpgbm].*
 exception postag=J[^M]*M.*:1:.* postag_regexp=yes/
-exception postag=[^J].* postag_regexp=yes/
+exception postag=J.*|K e sp o postag_regexp=yes 
negate_pos=yes/
   /token
   token negate=yesha/token
 /pattern
@@ -1693,15 +1693,17 @@
 example type=correctAn avel markergreñv/marker./example
 example type=correctUr skol markerdivyezhek/marker./example
 example type=correctUr skol markerzivyezhek/marker./example
+example type=incorrectAn dra markerkentañ/marker./example
+example type=correctAn dra markergentañ/marker./example
   /rule
   rule
 pattern mark_from=1 mark_to=-1
   token postag=N f s.*|N m p t.* postag_regexp=yes
-exception postag=N f p.*|N m s.*|N m p|N m p [^t].* 
postag_regexp=yes/
+exception postag=N f p.*|N m s.*|N m p|N m p [^t].*|V.* 
postag_regexp=yes/
   /token
   token postag=J.* postag_regexp=yes inflected=yes 
regexp=yes[gbm].*
 exception postag=J[^M]*M.*:1:.* postag_regexp=yes/
-exception postag=[^J].* postag_regexp=yes/
+exception postag=J.* postag_regexp=yes negate_pos=yes/
 !-- bennak is marked as an adjective in the diction, it
  should be an adverb --
 exceptionbennak/exception
@@ -1724,11 +1726,11 @@
   rule
 pattern mark_from=1 mark_to=-1
   token postag=N f s.*|N m p t.* postag_regexp=yes 
regexp=yes.*[lmnrvaeiouwy]
-exception postag=N f p.*|N m s.*|N m p|N m p [^t].* 
postag_regexp=yes/
+exception postag=N f p.*|N m s.*|N m p|N m p [^t].*|V.* 
postag_regexp=yes/
   /token
   token postag=J.* postag_regexp=yes inflected=yes 
regexp=yes[ktp].*
 exception postag=J[^M]*M.*:1:.* postag_regexp=yes/
-exception postag=[^J].* postag_regexp=yes/
+exception postag=J.*|K e sp o postag_regexp=yes 
negate_pos=yes/
 !-- bennak is marked as an adjective in the diction, it
  should be an adverb --
 exceptionbennak/exception
@@ -1740,6 +1742,8 @@
 example type=correctKendirvi binvidik./example
 example type=correctTud kozh./example
 example type=correctPaotred pinvidik./example
+example type=incorrectAn dro markerkentañ/marker./example
+example type=correctAn dro 

[LanguageTool] SF.net SVN: languagetool:[6507] trunk/JLanguageTool/src/rules/en/grammar. xml

2012-02-11 Thread dnaber
Revision: 6507
  
http://languagetool.svn.sourceforge.net/languagetool/?rev=6507view=rev
Author:   dnaber
Date: 2012-02-11 20:36:32 + (Sat, 11 Feb 2012)
Log Message:
---
[en] new rule it seams - it seems etc

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

Modified: trunk/JLanguageTool/src/rules/en/grammar.xml
===
--- trunk/JLanguageTool/src/rules/en/grammar.xml2012-02-11 20:35:22 UTC 
(rev 6506)
+++ trunk/JLanguageTool/src/rules/en/grammar.xml2012-02-11 20:36:32 UTC 
(rev 6507)
@@ -7693,6 +7693,29 @@
  --
   /category
   category name=Commonly Confused Words
+rulegroup id=IT_SEAMS name=it seams (seems)
+  rule
+pattern mark_to=-1
+tokenit/token
+token'/token
+tokens/token
+tokenseems/token
+/pattern
+messageDid you mean suggestionit/suggestion?/message
+example type=correctBeing vegan easier than markerit/marker 
seems, experts say./example
+example type=incorrectBeing vegan easier than 
markerit's/marker seems, experts say./example
+  /rule
+  rule
+pattern mark_from=1
+  tokenit/token
+  tokenseams/token
+/pattern
+messageDid you mean suggestionseems/suggestion?/message
+shortPossible typo/short
+example type=correctBeing vegan easier than it 
markerseems/marker, experts say./example
+example type=incorrectBeing vegan easier than it 
markerseams/marker, experts say./example
+  /rule
+/rulegroup
 rule id=EASE_OFF_USE name=ease off (of) use
   pattern mark_from=1 mark_to=-1
 tokenease/token

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


--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs