[LanguageTool] SF.net SVN: languagetool:[6287] trunk/JLanguageTool/src/rules/de/grammar. xml
Revision: 6287 http://languagetool.svn.sourceforge.net/languagetool/?rev=6287&view=rev Author: janschreiber Date: 2012-01-19 12:40:28 + (Thu, 19 Jan 2012) Log Message: --- [de] Two new rules; celebrating lines of code. Modified Paths: -- trunk/JLanguageTool/src/rules/de/grammar.xml Modified: trunk/JLanguageTool/src/rules/de/grammar.xml === --- trunk/JLanguageTool/src/rules/de/grammar.xml2012-01-18 22:33:23 UTC (rev 6286) +++ trunk/JLanguageTool/src/rules/de/grammar.xml2012-01-19 12:40:28 UTC (rev 6287) @@ -570,6 +570,24 @@ Er hat kein Stück geschrieben, das nicht erfolgreich wurde. + + + + so + dass + sieben|gilt|äußerst|anstelle|einst|meinen?|tausenden?|!(hat) + +Meinten Sie das? Die Subjunktion 'dass' scheint an dieser Stelle nicht zu passen. +Er sagt, dass sei richtig, aber er irrt. +Aber dass ist doch nicht richtig. +Aber dass scheinst du vergessen zu haben. +Aber dass hat nichts damit zu tun. +Aber dass hast du vergessen. +Aber dass warst du gar nicht. +Er sagt, dass du kommst, aber er irrt. +Er sagt, das sei richtig, aber er irrt. + + @@ -1251,6 +1269,42 @@ Bein eingeplanten Sieg. + + + + ich + les + dir + +Meinten Sie lies (die Befehlsform von 'lesen')? +Ich lese dir das mal vor. +Les dir das bitte mal durch. + + + + + Ließ + dir + durch + +Meinten Sie Lies (die Befehlsform von 'lesen')? +Lies dir das bitte mal durch. +Ließ dir das bitte mal durch. +Ließ dir bitte mal durch, was die anderen geschrieben haben. + + + + + Bitte + ließ + dir + durch + +Meinten Sie lies (die Befehlsform von 'lesen')? +Bitte lies dir das mal durch. +Bitte ließ dir das mal durch. + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6288] trunk/JLanguageTool/src/resource/de/ compounds.txt
Revision: 6288 http://languagetool.svn.sourceforge.net/languagetool/?rev=6288&view=rev Author: janschreiber Date: 2012-01-19 14:42:02 + (Thu, 19 Jan 2012) Log Message: --- [de] added a few more compounds Modified Paths: -- trunk/JLanguageTool/src/resource/de/compounds.txt Modified: trunk/JLanguageTool/src/resource/de/compounds.txt === --- trunk/JLanguageTool/src/resource/de/compounds.txt 2012-01-19 12:40:28 UTC (rev 6287) +++ trunk/JLanguageTool/src/resource/de/compounds.txt 2012-01-19 14:42:02 UTC (rev 6288) @@ -177,10 +177,16 @@ #meter-hoch+ TODO: nur bei klein geschriebenem "meter"! abhanden-kommen+ +ab-schalten+ an-scheinend+ an-statt+ Anti-viren+ Anti-virus+ +auf-gepasst+ +auf-passt+ +#aus-geschaltet+ +#aus-schaltet+ +#aus-schalten+ bitter-böse+ bitter-bösem+ bitter-bösen+ @@ -240,6 +246,19 @@ dunkel-roten+ dunkel-roter+ dunkel-rotes+ +er-findest+ +er-forschst+ +er-hältst+ +er-gaunerst+ +er-kältest+ +er-kennst+ +er-langst+ +er-leidest+ +er-probst+ +er-schleichst+ +er-träumst+ +er-widerst+ +er-wirkst+ einher-gehen+ fehl-gehen+ feil-bieten+ @@ -249,6 +268,9 @@ feucht-warmen+ feucht-warmer+ feucht-warmes+ +Gewissens-bisse+ +Gewissens-bissen+ +Groß-Eltern+ Haar-sträubend+ Haar-sträubenden+ Haar-sträubender+ @@ -324,6 +346,7 @@ irre-geleiteten+ irre-geleiteter+ irre-geleitetes+ +jeden-falls+ karmesin-rot+ karmesin-rote+ karmesin-rotem+ @@ -382,10 +405,25 @@ Teil-nehmender+ Teil-nehmendes+ Teil-habend+ +unter-wegs+ +Ur-Enkel+ +Ur-Enkelin+ +Ur-Enkelinnen+ +Ur-Enkeln+ +Ur-Enkels+ +Ur-Großeltern+ +Ur-Großmutter+ +Ur-Großmütter+ +Ur-Großmüttern+ +Ur-Großvater+ +Ur-Großväter+ +Ur-Großvätern+ +Ur-Großvaters+ Ur-Oma+ Ur-Opa+ +wett-machen+ Wider-stand+ -wett-machen+ +Zigaretten-länge+ zunichte-machen+ zuteil-werden+ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] [ languagetool-Bugs-3476099 ] [GERMAN] compounds of 'Programm' incorrectly tagged as MAS
Bugs item #3476099, was opened at 2012-01-19 08:15 Message generated for change (Settings changed) made by janschreiber You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Problem with German Group: 1.6 Status: Open Resolution: None >Priority: 2 Private: No Submitted By: Jan Schreiber (janschreiber) Assigned to: Daniel Naber (dnaber) Summary: [GERMAN] compounds of 'Programm' incorrectly tagged as MAS Initial Comment: Examples: Medienverwaltungsprogramm[SUB:NOM:SIN:MAS,SUB:DAT:SIN:MAS,SUB:AKK:SIN:MAS,] , Tabellenkalkulationsprogramm, Textverarbeitungsprogramm, Mordprogramm (Holocaust). (Should be NEU.) -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] [ languagetool-Bugs-3476099 ] [GERMAN] compounds of 'Programm' incorrectly tagged as MAS
Bugs item #3476099, was opened at 2012-01-19 08:15 Message generated for change (Tracker Item Submitted) made by janschreiber You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Problem with German Group: 1.6 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jan Schreiber (janschreiber) Assigned to: Daniel Naber (dnaber) Summary: [GERMAN] compounds of 'Programm' incorrectly tagged as MAS Initial Comment: Examples: Medienverwaltungsprogramm[SUB:NOM:SIN:MAS,SUB:DAT:SIN:MAS,SUB:AKK:SIN:MAS,] , Tabellenkalkulationsprogramm, Textverarbeitungsprogramm, Mordprogramm (Holocaust). (Should be NEU.) -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] [ languagetool-Bugs-3476099 ] [GERMAN] compounds of 'Programm' incorrectly tagged as MAS
Bugs item #3476099, was opened at 2012-01-19 08:15 Message generated for change (Comment added) made by dnaber You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Problem with German Group: 1.6 Status: Open Resolution: None Priority: 2 Private: No Submitted By: Jan Schreiber (janschreiber) Assigned to: Daniel Naber (dnaber) Summary: [GERMAN] compounds of 'Programm' incorrectly tagged as MAS Initial Comment: Examples: Medienverwaltungsprogramm[SUB:NOM:SIN:MAS,SUB:DAT:SIN:MAS,SUB:AKK:SIN:MAS,] , Tabellenkalkulationsprogramm, Textverarbeitungsprogramm, Mordprogramm (Holocaust). (Should be NEU.) -- Comment By: Daniel Naber (dnaber) Date: 2012-01-19 08:21 Message: How exactly are you testing this? I cannot reproduce it with the latest release. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6289] trunk/JLanguageTool/src/rules/de/grammar. xml
Revision: 6289 http://languagetool.svn.sourceforge.net/languagetool/?rev=6289&view=rev Author: janschreiber Date: 2012-01-19 17:33:49 + (Thu, 19 Jan 2012) Log Message: --- [de] added some redundancy/style rules Modified Paths: -- trunk/JLanguageTool/src/rules/de/grammar.xml Modified: trunk/JLanguageTool/src/rules/de/grammar.xml === --- trunk/JLanguageTool/src/rules/de/grammar.xml2012-01-19 14:42:02 UTC (rev 6288) +++ trunk/JLanguageTool/src/rules/de/grammar.xml2012-01-19 17:33:49 UTC (rev 6289) @@ -17,6 +17,7 @@ + @@ -2981,13 +2982,75 @@ Ich gehe immer meistens am Samstag einkaufen. - + + semantische(n|r)? + Bedeutung + +Diese Formulierung ist möglicherweise redundant; 'semantisch' heißt 'auf die Bedeutung bezogen'. Vorschlag: \2. +Das Wort hat eine semantische Bedeutung. +Das Wort hat eine Bedeutung. + + + + semantisch + bedeute(n|t) + +Diese Formulierung ist möglicherweise redundant; 'semantisch' heißt 'auf die Bedeutung bezogen'. Vorschlag: \2. +Mir ist nicht klar, was das semantisch bedeuten soll. +Mir ist nicht klar, was das bedeuten soll. + + + + bedeute(n|t) + semantisch + +Diese Formulierung ist möglicherweise redundant; 'semantisch' heißt 'auf die Bedeutung bezogen'. Vorschlag: \1. +Das bedeutet semantisch gar nichts. +Das bedeutet gar nichts. + + + + + + synonyme(n|r)? + Bedeutung(en)? + +&unstimmig;Nicht Bedeutungen, sondern Ausdrücke sind synonym, nämlich dann, wenn sie dieselbe Bedeutung haben. Vorschlag: \2 +Diese Wörter haben eine synonyme Bedeutung. +Diese Wörter haben dieselbe Bedeutung. + + + + + + anonyme(m|n|r)? + Namen? + +&unstimmig;Nicht Namen, sondern Personen sind anonym, nämlich dann, wenn sie ihren Namen verschweigen. +Ich war unter anonymem Namen unterwegs. +Ich war anonym unterwegs. + + + + Name + ist|bleibt|blieb|war + anonym + +&unstimmig;Nicht Namen, sondern Personen sind anonym, nämlich dann, wenn sie ihren Namen verschweigen. +Der Name bleibt anonym. +Der Name bleibt geheim. +Der Name bleibt ungenannt. + + + + + rechtlich|juristisch legal -Diese Formulierung ist redundant. Vorschlag: \2. +Diese Formulierung ist möglicherweise redundant. Vorschlag: \2. Dieses Vorgehen ist rechtlich legal. Dieses Vorgehen ist völlig legal. @@ -2997,7 +3060,7 @@ gesehen|betrachtet legal -Diese Formulierung ist redundant. Vorschlag: \3. +Diese Formulierung ist möglicherweise redundant. Vorschlag: \3. Dieses Vorgehen ist juristisch betrachtet legal. Dieses Vorgehen ist völlig legal. @@ -3006,7 +3069,7 @@ rechtlich|juristisch illegal -Diese Formulierung ist redundant. Vorschlag: \2. +Diese Formulierung ist möglicherweise redundant. Vorschlag: \2. Dieses Vorgehen ist rechtlich illegal. Dieses Vorgehen ist völlig illegal. @@ -3016,7 +3079,7 @@ gesehen|betrachtet illegal -Diese Formulierung ist redundant. Vorschlag: \3. +Diese Formulierung ist möglicherweise redundant. Vorschlag: \3. Dieses Vorgehen ist juristisch betrachtet illegal. Dieses Vorgehen ist völlig illegal. @@ -3026,7 +3089,7 @@ so dermaßen - 'so dermaßen' ist eine Doppelung – verwenden Sie so oder dermaßen. + 'So dermaßen' ist eine Doppelung – verwenden Sie so oder dermaßen. Das Stück war so dermaßen langweilig. Das Stück war dermaßen langweilig. Das Stück war so langweilig. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6290] trunk/JLanguageTool/website/www/de/index. php
Revision: 6290 http://languagetool.svn.sourceforge.net/languagetool/?rev=6290&view=rev Author: gulp21-1 Date: 2012-01-19 17:44:46 + (Thu, 19 Jan 2012) Log Message: --- [de] a few website changes as discussed per mail Modified Paths: -- trunk/JLanguageTool/website/www/de/index.php Modified: trunk/JLanguageTool/website/www/de/index.php === --- trunk/JLanguageTool/website/www/de/index.php2012-01-19 17:33:49 UTC (rev 6289) +++ trunk/JLanguageTool/website/www/de/index.php2012-01-19 17:44:46 UTC (rev 6290) @@ -6,37 +6,77 @@ include("../../include/header.php"); ?> -LanguageTool ist eine Open-Source Stil- und Grammatikprüfung. +LanguageTool ist eine http://de.wikipedia.org/wiki/Freie_Software"; target="_blank">freie Stil- und Grammatikprüfung. -Features +Funktionen +LanguageTool erkennt http://community.languagetool.org/rule/list?lang=de";>mehr als 600 Fehler in deutschsprachigen Texten: + +(Zeigen Sie mit der Maus auf einen Fehler, um die dazugehörige Meldung anzuzeigen.) + -Prüfung auf viele häufige Fehler, z.B. -schick mir eine Email -(mit der Maus über dem Fehler wird die Fehlermeldung angezeigt) +Grammatik + +Der Haus ist groß. +Ich bin wegen diesem Stau zu spät gekommen. + -Prüfung einiger Grammatikphänomene, z.B. Übereinstimmung zwischen Artikel und Nomen bzw. -Artikel, Adjektiv und Nomen: -der Haus, -das schöner Haus +Groß-/Kleinschreibung + +Die französische Revolution war ein wichtiges historisches Ereignis. +Prüfung der Großschreibung am Satzanfang + -Prüfung der Großschreibung am Satzanfang -Prüfung vieler Komposita auf Zusammenschreibung: DLG prämierter -Aber: LanguageTool hat keine Rechtschreibprüfung +Zusammen-/Getrenntschreibung + +Er hat die selbe Frage gestellt. + + +Zeichensetzung + +Ich fragte sie , ob sie kommen möchte. + Ich lerne weil ich gut Noten haben will. + + +Mögliche Tippfehler + +Er verzieht keine Mine. +Ich werde dir eine Email schicken. +Geht es dir gut? + + +Umganssprache + +Es wird eine höhere Volt-Zahl benötigt. + + +Redundanz + +Können Sie mir die ISBN-Nummer sagen? + + +u.v.m. -Die über 600 deutschen Fehler-Regeln können auf http://community.languagetool.org/rule/list?lang=de";>der Community-Website -angeschaut werden. +Außerdem weist LanguageTool in fremdsprachigen Texten auf http://de.wikipedia.org/wiki/Falscher_Freund"; target="_blank">falsche Freunde hin. +Aber bitte beachten Sie: LanguageTool selbst beinhaltet keine Rechtschreibprüfung! +LanguageTool ausprobieren + +Sie können LanguageTool http://www.languagetool.org/webstart/web/LanguageTool.jnlp";>per Java WebStart testen. http://community.languagetool.org/?lang=de"/>Hier können Sie LanguageTool auch direkt im Browser ausprobieren. + Download -LanguageTool kann man auf der Homepage herunterladen. +LanguageTool kann auf der Startseite heruntergeladen werden. + + + Kontakt -Fragen beantworten wir im Forum - dort kann auch gerne auf Deutsch gepostet werden. +Fragen beantworten wir im Forum, wo Sie auch gerne Einträge auf Deutsch hinterlassen können. Dort ist es auch möglich, Fehlalarme von LanguageTool zu melden oder neue Regeln vorzuschlagen. http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] [ languagetool-Bugs-3476099 ] [GERMAN] compounds of 'Programm' incorrectly tagged as MAS
Bugs item #3476099, was opened at 2012-01-19 08:15 Message generated for change (Settings changed) made by janschreiber You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Problem with German Group: 1.6 Status: Open >Resolution: Out of Date Priority: 2 Private: No Submitted By: Jan Schreiber (janschreiber) Assigned to: Daniel Naber (dnaber) Summary: [GERMAN] compounds of 'Programm' incorrectly tagged as MAS Initial Comment: Examples: Medienverwaltungsprogramm[SUB:NOM:SIN:MAS,SUB:DAT:SIN:MAS,SUB:AKK:SIN:MAS,] , Tabellenkalkulationsprogramm, Textverarbeitungsprogramm, Mordprogramm (Holocaust). (Should be NEU.) -- Comment By: Jan Schreiber (janschreiber) Date: 2012-01-19 10:17 Message: OK, ich habe tatsächlich nicht alles auf dem neuesten Stand. Sorry. -- Comment By: Daniel Naber (dnaber) Date: 2012-01-19 08:21 Message: How exactly are you testing this? I cannot reproduce it with the latest release. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] [ languagetool-Bugs-3476099 ] [GERMAN] compounds of 'Programm' incorrectly tagged as MAS
Bugs item #3476099, was opened at 2012-01-19 08:15 Message generated for change (Comment added) made by janschreiber You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Problem with German Group: 1.6 Status: Open Resolution: None Priority: 2 Private: No Submitted By: Jan Schreiber (janschreiber) Assigned to: Daniel Naber (dnaber) Summary: [GERMAN] compounds of 'Programm' incorrectly tagged as MAS Initial Comment: Examples: Medienverwaltungsprogramm[SUB:NOM:SIN:MAS,SUB:DAT:SIN:MAS,SUB:AKK:SIN:MAS,] , Tabellenkalkulationsprogramm, Textverarbeitungsprogramm, Mordprogramm (Holocaust). (Should be NEU.) -- >Comment By: Jan Schreiber (janschreiber) Date: 2012-01-19 10:17 Message: OK, ich habe tatsächlich nicht alles auf dem neuesten Stand. Sorry. -- Comment By: Daniel Naber (dnaber) Date: 2012-01-19 08:21 Message: How exactly are you testing this? I cannot reproduce it with the latest release. -- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3476099&group_id=110216 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6291] trunk/JLanguageTool/src/rules/br/grammar. xml
Revision: 6291 http://languagetool.svn.sourceforge.net/languagetool/?rev=6291&view=rev Author: dominikoeo Date: 2012-01-19 20:17:39 + (Thu, 19 Jan 2012) Log Message: --- [br] detect errors such as *am poa* ?\226?\134?\146 "am boa". Modified Paths: -- trunk/JLanguageTool/src/rules/br/grammar.xml Modified: trunk/JLanguageTool/src/rules/br/grammar.xml === --- trunk/JLanguageTool/src/rules/br/grammar.xml2012-01-19 17:44:46 UTC (rev 6290) +++ trunk/JLanguageTool/src/rules/br/grammar.xml2012-01-19 20:17:39 UTC (rev 6291) @@ -2308,6 +2308,39 @@ Bleud an diaoul az a da vrenn. Bleud an diaoul a ya da vrenn. + + + + + [ae]m|hor + pez|dez|poa?|doa? + +Ha fellout a rae deoc’h skrivañ ? +Amzer am poa. +Amzer am doa. +Amzer am boa. + + + + [ae]z|ho + dez|bez|doa?|boa?|deus + +Ha fellout a rae deoc’h skrivañ ? +Amzer az boa. +Amzer az doa. +Amzer az poa. + + + + en|o + bez|pez|boa?|poa?|peus + +Ha fellout a rae deoc’h skrivañ ? +Amzer en boa. +Amzer en poa. +Amzer en doa. + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6292] trunk/JLanguageTool/src/java/org/ languagetool/tools/LanguageIdentifierTools.java
Revision: 6292 http://languagetool.svn.sourceforge.net/languagetool/?rev=6292&view=rev Author: dnaber Date: 2012-01-19 20:38:34 + (Thu, 19 Jan 2012) Log Message: --- adding "final" modifiers Modified Paths: -- trunk/JLanguageTool/src/java/org/languagetool/tools/LanguageIdentifierTools.java Modified: trunk/JLanguageTool/src/java/org/languagetool/tools/LanguageIdentifierTools.java === --- trunk/JLanguageTool/src/java/org/languagetool/tools/LanguageIdentifierTools.java 2012-01-19 20:17:39 UTC (rev 6291) +++ trunk/JLanguageTool/src/java/org/languagetool/tools/LanguageIdentifierTools.java 2012-01-19 20:38:34 UTC (rev 6292) @@ -23,18 +23,18 @@ final String PROFILE_ENCODING = "UTF-8"; try { - LanguageProfile profile = new LanguageProfile(); + final LanguageProfile profile = new LanguageProfile(); final String languageFilePath = JLanguageTool.getDataBroker().getResourceDir() + "/" + language + "/" + language + PROFILE_SUFFIX; - InputStream stream = JLanguageTool.class.getResourceAsStream(languageFilePath); + final InputStream stream = JLanguageTool.class.getResourceAsStream(languageFilePath); try { -BufferedReader reader = +final BufferedReader reader = new BufferedReader(new InputStreamReader(stream, PROFILE_ENCODING)); String line = reader.readLine(); while (line != null) { if (line.length() > 0 && !line.startsWith("#")) { -int space = line.indexOf(' '); +final int space = line.indexOf(' '); profile.add( line.substring(0, space), Long.parseLong(line.substring(space + 1))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6293] trunk/JLanguageTool/src/java/org/ languagetool/Main.java
Revision: 6293 http://languagetool.svn.sourceforge.net/languagetool/?rev=6293&view=rev Author: dnaber Date: 2012-01-19 21:00:26 + (Thu, 19 Jan 2012) Log Message: --- some code cleanup Modified Paths: -- trunk/JLanguageTool/src/java/org/languagetool/Main.java Modified: trunk/JLanguageTool/src/java/org/languagetool/Main.java === --- trunk/JLanguageTool/src/java/org/languagetool/Main.java 2012-01-19 20:38:34 UTC (rev 6292) +++ trunk/JLanguageTool/src/java/org/languagetool/Main.java 2012-01-19 21:00:26 UTC (rev 6293) @@ -48,20 +48,21 @@ */ class Main { - private JLanguageTool lt; private final boolean verbose; private final boolean apiFormat; private final boolean taggerOnly; private final boolean applySuggestions; + private final boolean autoDetect; + private final boolean singleLineBreakMarksParagraph; + private final String[] enabledRules; + private final String[] disabledRules; + private final Language motherTongue; + + private JLanguageTool lt; private boolean profileRules; private boolean bitextMode; - private boolean autoDetect; - private boolean singleLineBreakMarksParagraph; - private String[] enabledRules; - private String[] disabledRules; - private Language motherTongue; private JLanguageTool srcLt; - List bRules; + private List bRules; private Rule currentRule; /* maximum file size to read in a single read */ @@ -163,7 +164,7 @@ boolean oneTime = false; if (!"-".equals(filename)) { if (autoDetect) { - Language language = getLanguageFromFile(filename, encoding); + Language language = detectLanguageOfFile(filename, encoding); if (language == null) { System.err.println("Could not detect language well enough, using English"); language = Language.ENGLISH; @@ -256,7 +257,7 @@ lineCount++; // to detect language from the first input line if (lineCount == 1 && autoDetect) { - Language language = getLanguageFromString(line, false); + Language language = detectLanguageOfString(line); if (language == null) { System.err.println("Could not detect language well enough, using English"); language = Language.ENGLISH; @@ -496,12 +497,10 @@ } else if (args[i].equals("-t") || args[i].equals("--taggeronly")) { taggerOnly = true; if (listUnknown) { - throw new IllegalArgumentException( - "You cannot list unknown words when tagging only."); + throw new IllegalArgumentException("You cannot list unknown words when tagging only."); } if (applySuggestions) { - throw new IllegalArgumentException( - "You cannot apply suggestions when tagging only."); + throw new IllegalArgumentException("You cannot apply suggestions when tagging only."); } } else if (args[i].equals("-r") || args[i].equals("--recursive")) { recursive = true; @@ -509,8 +508,7 @@ bitext = true; } else if (args[i].equals("-d") || args[i].equals("--disable")) { if (enabledRules.length > 0) { - throw new IllegalArgumentException( - "You cannot specify both enabled and disabled rules"); + throw new IllegalArgumentException("You cannot specify both enabled and disabled rules"); } checkArguments("-d/--disable", i, args); final String rules = args[++i]; @@ -535,40 +533,33 @@ } else if (args[i].equals("-u") || args[i].equals("--list-unknown")) { listUnknown = true; if (taggerOnly) { - throw new IllegalArgumentException( - "You cannot list unknown words when tagging only."); + throw new IllegalArgumentException("You cannot list unknown words when tagging only."); } } else if (args[i].equals("-b")) { singleLineBreakMarksParagraph = true; } else if (args[i].equals("--api")) { apiFormat = true; if (applySuggestions) { - throw new IllegalArgumentException( - "API format makes no sense for automatic application of suggestions."); + throw new IllegalArgumentException("API format makes no sense for automatic application of suggestions."); } } else if (args[i].equals("-a") || args[i].equals("--apply")) { applySuggestions = true; if (taggerOnly) { - throw new IllegalArgumentException( - "You cannot apply suggestions when tagging only."); + throw new IllegalArgumentException("You cannot apply suggestions when tagging only."); } if (apiFormat) { - throw new IllegalArgumentException( - "API format makes no sense for automatic application of suggestions."); + throw new IllegalArg
[LanguageTool] SF.net SVN: languagetool:[6294] trunk/JLanguageTool/src/java/org/ languagetool/Main.java
Revision: 6294 http://languagetool.svn.sourceforge.net/languagetool/?rev=6294&view=rev Author: dnaber Date: 2012-01-19 21:07:56 + (Thu, 19 Jan 2012) Log Message: --- another small code cleanup Modified Paths: -- trunk/JLanguageTool/src/java/org/languagetool/Main.java Modified: trunk/JLanguageTool/src/java/org/languagetool/Main.java === --- trunk/JLanguageTool/src/java/org/languagetool/Main.java 2012-01-19 21:00:26 UTC (rev 6293) +++ trunk/JLanguageTool/src/java/org/languagetool/Main.java 2012-01-19 21:07:56 UTC (rev 6294) @@ -612,29 +612,23 @@ // TODO: alter tika's language profiles so they are in line with LT's supported languages private static Language detectLanguageOfFile(String filename, String encoding) throws IOException { final String text = StringTools.readFile(new FileInputStream(filename), encoding); +return detectLanguageOfString(text); + } + + private static Language detectLanguageOfString(String text) { final LanguageIdentifier identifier = new LanguageIdentifier(text); final Language lang = Language.getLanguageForShortName(identifier.getLanguage()); return lang; } - private static Language detectLanguageOfString(String string) { -final LanguageIdentifier identifier = new LanguageIdentifier(string); -final Language lang = Language.getLanguageForShortName(identifier.getLanguage()); -return lang; - } - - private static Language getLanguageOrExit(final String userSuppliedLang) { -Language language = null; -final List supportedLanguages = new ArrayList(); -for (final Language lang : Language.LANGUAGES) { - supportedLanguages.add(lang.getShortName()); - if (userSuppliedLang.equals(lang.getShortName())) { -language = lang; -break; - } -} + private static Language getLanguageOrExit(final String userSuppliedLangCode) { +final Language language = Language.getLanguageForShortName(userSuppliedLangCode); if (language == null) { - System.out.println("Unknown language '" + userSuppliedLang + final List supportedLanguages = new ArrayList(); + for (final Language lang : Language.LANGUAGES) { +supportedLanguages.add(lang.getShortName()); + } + System.out.println("Unknown language '" + userSuppliedLangCode + "'. Supported languages are: " + supportedLanguages); exitWithUsageMessage(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs
[LanguageTool] SF.net SVN: languagetool:[6295] trunk/ltcommunity
Revision: 6295 http://languagetool.svn.sourceforge.net/languagetool/?rev=6295&view=rev Author: dnaber Date: 2012-01-19 22:45:22 + (Thu, 19 Jan 2012) Log Message: --- [web] enable auto-detection of language Modified Paths: -- trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy trunk/ltcommunity/grails-app/i18n/messages.properties trunk/ltcommunity/grails-app/views/homepage/checkText.gsp trunk/ltcommunity/web-app/css/main.css Modified: trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy === --- trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy 2012-01-19 21:07:56 UTC (rev 6294) +++ trunk/ltcommunity/grails-app/controllers/org/languagetool/HomepageController.groovy 2012-01-19 22:45:22 UTC (rev 6295) @@ -22,6 +22,7 @@ import org.hibernate.* import org.languagetool.* import org.languagetool.rules.* +import org.apache.tika.language.LanguageIdentifier /** * The main page of the website. @@ -88,7 +89,23 @@ */ def checkText = { String lang = "en" -if (params.lang) lang = params.lang +boolean autoLangDetectionWarning = false +List languages = Language.REAL_LANGUAGES +languages.sort{it.getName()} +Language detectedLang +if (params.lang == "auto") { +LanguageIdentifier identifier = new LanguageIdentifier(params.text) +detectedLang = Language.getLanguageForShortName(identifier.getLanguage()) +if (detectedLang == null) { +throw new Exception(message(code:'ltc.home.check.detection.failure', args:[Arrays.asList(languages)])) +} +lang = detectedLang.getShortName() +params.lang = lang +// TODO: use identifier.isReasonablyCertain() - but make sure it works! +autoLangDetectionWarning = params.text?.length() < 60 +} else if (params.lang) { +lang = params.lang +} JLanguageTool lt = new JLanguageTool(Language.getLanguageForShortName(lang)) lt.activateDefaultPatternRules() List userRules = getUserRules() @@ -113,8 +130,9 @@ } List ruleMatches = lt.check(text) // TODO: count only disabledRules for the current language -[matches: ruleMatches, lang: lang, textToCheck: params.text, - disabledRules: langConfig?.disabledRules] +[matches: ruleMatches, lang: lang, languages: languages, textToCheck: params.text, + disabledRules: langConfig?.disabledRules, + autoLangDetectionWarning: autoLangDetectionWarning, detectedLang: detectedLang] } private getUserRules() { Modified: trunk/ltcommunity/grails-app/i18n/messages.properties === --- trunk/ltcommunity/grails-app/i18n/messages.properties 2012-01-19 21:07:56 UTC (rev 6294) +++ trunk/ltcommunity/grails-app/i18n/messages.properties 2012-01-19 22:45:22 UTC (rev 6295) @@ -22,6 +22,8 @@ ltc.login.to.configure=Note that you can log in to activate and deactivate only those rules that are important to you. ltc.home.links=Visit http://www.languagetool.org";>the LanguageTool homepage to download LanguageTool as an extension for http://www.libreoffice.org";>LibreOffice or http://www.openoffice.org";>OpenOffice.orghttp://www.openoffice.org";> ltc.check.visit.rule=[Visit Rule] +ltc.home.check.detection.warning=Language detected as {0} - the text you supplied was very short. If we mis-detect the language of your text, please use a longer input text or set the text language manually +ltc.home.check.detection.failure=Sorry, we could not detect the language of your text. Please use more text and note that LanguageTool supports only the following languages: {0} ltc.login.title=LanguageTool Community Login ltc.login.no.account=No Account yet? Modified: trunk/ltcommunity/grails-app/views/homepage/checkText.gsp === --- trunk/ltcommunity/grails-app/views/homepage/checkText.gsp 2012-01-19 21:07:56 UTC (rev 6294) +++ trunk/ltcommunity/grails-app/views/homepage/checkText.gsp 2012-01-19 22:45:22 UTC (rev 6295) @@ -1,16 +1,16 @@ <%@page import="org.languagetool.*" %> <%@page import="org.hibernate.*" %> - - + + - + - - + + - + @@ -25,21 +25,23 @@ + + + + - - - + Language: