Revision: 6920
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6920&view=rev
Author:   dnaber
Date:     2012-05-14 20:11:49 +0000 (Mon, 14 May 2012)
Log Message:
-----------
[sv] switch to new format that uses "<marker>"

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

Modified: trunk/JLanguageTool/src/rules/sv/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/sv/grammar.xml        2012-05-14 20:07:23 UTC 
(rev 6919)
+++ trunk/JLanguageTool/src/rules/sv/grammar.xml        2012-05-14 20:11:49 UTC 
(rev 6920)
@@ -114,10 +114,12 @@
     </rule>
     <!-- Ett försök att fånga upp anföringsverb som ska föregås av ett 
kommatecken -->
     <rule id="KommaInnanAnfoeringsverb" name="Komma innan anföringsverb" 
default="off">
-      <pattern mark_from="1">
+      <pattern>
         <token><exception regexp="yes">,|vad|visst</exception></token>
-        <token regexp="yes">sade|sa|menade|viskade|skrek</token>
-        <token postag="PM:.*" postag_regexp="yes"/>
+        <marker>
+          <token regexp="yes">sade|sa|menade|viskade|skrek</token>
+          <token postag="PM:.*" postag_regexp="yes"/>
+        </marker>
       </pattern>
       <message>Kommatecken ska sättas ut innan anföringsverb, dvs. 
<suggestion>, \2 \3</suggestion></message>
       <example type="correct">Det var finfint<marker>, sade 
Johan</marker>.</example>
@@ -186,7 +188,9 @@
     </rule>
     <rule id="LOS" name="los ...">
       <pattern mark_to="-1">
-        <token>los</token>
+        <marker>
+          <token>los</token>
+        </marker>
         <token>
           <exception regexp="yes">angeles|lobos</exception>
         </token>

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to