Revision: 7167
http://languagetool.svn.sourceforge.net/languagetool/?rev=7167&view=rev
Author: dnaber
Date: 2012-06-02 12:51:45 +0000 (Sat, 02 Jun 2012)
Log Message:
-----------
[el] patch by Panagiotis Minos: new rules, adding license
Modified Paths:
--------------
trunk/JLanguageTool/src/rules/el/grammar.xml
Modified: trunk/JLanguageTool/src/rules/el/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/el/grammar.xml 2012-06-02 11:30:17 UTC
(rev 7166)
+++ trunk/JLanguageTool/src/rules/el/grammar.xml 2012-06-02 12:51:45 UTC
(rev 7167)
@@ -1,8 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../print.xsl" ?>
-<?xml-stylesheet type="text/css" href="../rules.css"
-title="Easy editing stylesheet" ?>
+<?xml-stylesheet type="text/css" href="../rules.css" title="Easy editing
stylesheet" ?>
+<!--
+Greek grammar and typo rules for LanguageTool.
+
+Copyright © 2012 Panagiotis Minos
+http://www.languagetool.org
+
+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="el" xsi:noNamespaceSchemaLocation="../rules.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<category name="Agreement">
<rule id="HAVE_INF" name="έχω_απαρέμφατο">
@@ -101,4 +122,48 @@
<example type="correct">Από πού κι ως πού.</example>
</rule>
</category>
+ <category name="Redundant Phrases">
+ <rulegroup id="GREEK_REDUNDANT_1" name="ανέκαθεν">
+ <rule>
+ <pattern>
+ <token>εξ</token>
+ <token>ανέκαθεν</token>
+ </pattern>
+ <message>Η έννοια του εξ περιέχεται ήδη στην
κατάληξη -θεν. Χρησιμοποιήστε απλά την λέξη
<suggestion>\2</suggestion>.</message>
+ <short>Λάθος πλεονασμού</short>
+ <example type="incorrect">Οι Έλληνες ήταν
<marker>εξ ανέκαθεν</marker> οι παραδοσιακοί έμποροι της Μεσογείου.</example>
+ <example type="correct">Οι Έλληνες ήταν
ανέκαθεν οι παραδοσιακοί έμποροι της Μεσογείου.</example>
+ </rule>
+ <rule>
+ <pattern>
+ <token regexp="yes">από|απο</token>
+ <token>ανέκαθεν</token>
+ </pattern>
+ <message>Η έννοια του από περιέχεται ήδη στην
κατάληξη -θεν. Χρησιμοποιήστε απλά την λέξη
<suggestion>\2</suggestion>.</message>
+ <short>Λάθος πλεονασμού</short>
+ <example type="incorrect">Η πολιτιστική και
πνευματική ανάπτυξη του Δήμου <marker>από ανέκαθεν</marker> ήταν σε πολύ ψηλά
επίπεδα.</example>
+ <example type="correct">Η πολιτιστική και
πνευματική ανάπτυξη του Δήμου ανέκαθεν ήταν σε πολύ ψηλά επίπεδα.</example>
+ </rule>
+ </rulegroup>
+ <rule id="GREEK_REDUNDANT_2" name="άρα λοιπόν">
+ <pattern>
+ <token>άρα</token>
+ <token>λοιπόν</token>
+ </pattern>
+ <message>Οι λέξεις άρα και λοιπόν είναι συνώνυμες.
Χρησιμοποιήστε απλά την λέξη <suggestion>\1</suggestion>.</message>
+ <short>Λάθος πλεονασμού</short>
+ <example type="incorrect"><marker>Άρα λοιπόν</marker>
πρακτικά το πεδίο αυτό περιέχει τον μέγιστο αριθμό κόμβων από τους οποίους
πρέπει να περάσει το πακέτο έως ότου τελικά παραδοθεί στον παραλήπτη.</example>
+ <example type="correct">Άρα πρακτικά το πεδίο αυτό
περιέχει τον μέγιστο αριθμό κόμβων από τους οποίους πρέπει να περάσει το πακέτο
έως ότου τελικά παραδοθεί στον παραλήπτη.</example>
+ </rule>
+ <rule id="GREEK_REDUNDANT_3" name="επιτόπια αυτοψία">
+ <pattern>
+ <token>επιτόπια</token>
+ <token>αυτοψία</token>
+ </pattern>
+ <message>Η έννοια του επιτόπια περιέχεται ήδη στην λέξη
αυτοψία. Χρησιμοποιήστε απλά την λέξη <suggestion>\2</suggestion>.</message>
+ <short>Λάθος πλεονασμού</short>
+ <example type="incorrect">Στη συνέχεια ακολουθεί η
<marker>επιτόπια αυτοψία</marker> αρχιτέκτονα στο κτίριο</example>
+ <example type="correct">Στη συνέχεια ακολουθεί η
αυτοψία αρχιτέκτονα στο κτίριο</example>
+ </rule>
+ </category>
</rules>
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