Revision: 9331
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9331&view=rev
Author:   dnaber
Date:     2013-02-08 10:00:29 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
whitespace cleanup only

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerDiacriticsTest.java
    
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerTest.java

Modified: 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerDiacriticsTest.java
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerDiacriticsTest.java
     2013-02-08 09:59:11 UTC (rev 9330)
+++ 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerDiacriticsTest.java
     2013-02-08 10:00:29 UTC (rev 9331)
@@ -19,79 +19,79 @@
 package org.languagetool.tagging.ro;
 
 /**
- * 
+ *
  * These tests are kept to make sure UTF-8 dictionaries are correctly 
read.<br/>
  * Prior to morfologik 1.1.4 some words containing diacritics were not 
correctly
  * returned.
- * 
+ *
  * @author Ionuț Păduraru
  * @since 08.03.2009 19:25:50
  */
 public class RomanianTaggerDiacriticsTest extends RomanianTaggerTestAbs {
 
-       /**
-        * "test_diacritics.dict" was built from a simple input file :
-        * <p>
-        * cușcă cușcă 001
-        * </p>
-        * <p>
-        * cartea carte 000
-        * </p>
-        * <p>
-        * mergeam merge 001
-        * </p>
-        * <p>
-        * merseserăm merge 002
-        * </p>
-        * <p>
-        * cuțit cuțit 001
-        * </p>
-        * <p>
-        * cuțitul cuțit 002
-        * </p>
-        * 
-        * @author Ionuț Păduraru
-        * @since 08.03.2009 19:15:59
-        * @throws Exception
-        */
-       @Override
-       protected RomanianTagger createTagger() {
-               RomanianTagger res = new RomanianTagger(
-                               "/ro/test_diacritics.dict", null); 
-               return res;
-       }
+  /**
+   * "test_diacritics.dict" was built from a simple input file :
+   * <p>
+   * cușcă cușcă 001
+   * </p>
+   * <p>
+   * cartea carte 000
+   * </p>
+   * <p>
+   * mergeam merge 001
+   * </p>
+   * <p>
+   * merseserăm merge 002
+   * </p>
+   * <p>
+   * cuțit cuțit 001
+   * </p>
+   * <p>
+   * cuțitul cuțit 002
+   * </p>
+   *
+   * @author Ionuț Păduraru
+   * @since 08.03.2009 19:15:59
+   * @throws Exception
+   */
+  @Override
+  protected RomanianTagger createTagger() {
+    RomanianTagger res = new RomanianTagger(
+            "/ro/test_diacritics.dict", null);
+    return res;
+  }
 
-       /**
-        * Prior to morfologik 1.1.4: For "merseserăm" the lemma is incorect: 
"mege"
-        * instead of "merge". If the dictionary is used from
-        * command-line(/fsa_morph -d ...), the correct lemma is returned.
-        * 
-        * @author Ionuț Păduraru
-        * @since 08.03.2009 19:25:59
-        * @throws Exception
-        */
-       public void testTaggerMerseseram() throws Exception {
-               // these tests are using "test_diacritics.dict"
-               assertHasLemmaAndPos("făcusem", "face", "004");
-               assertHasLemmaAndPos("cuțitul", "cuțit", "002");
-               // make sure lemma is correct (POS is hard-coded, not important)
-               assertHasLemmaAndPos("merseserăm", "merge", "002");
-       }
+  /**
+   * Prior to morfologik 1.1.4: For "merseserăm" the lemma is incorect: "mege"
+   * instead of "merge". If the dictionary is used from
+   * command-line(/fsa_morph -d ...), the correct lemma is returned.
+   *
+   * @author Ionuț Păduraru
+   * @since 08.03.2009 19:25:59
+   * @throws Exception
+   */
+  public void testTaggerMerseseram() throws Exception {
+    // these tests are using "test_diacritics.dict"
+    assertHasLemmaAndPos("făcusem", "face", "004");
+    assertHasLemmaAndPos("cuțitul", "cuțit", "002");
+    // make sure lemma is correct (POS is hard-coded, not important)
+    assertHasLemmaAndPos("merseserăm", "merge", "002");
+  }
 
-       /**
-        * 
-        * @author Ionuț Păduraru
-        * @since 24.03.2009 21:39:25
-        * @throws Exception
-        */
-       public void testTaggerCuscaCutit() throws Exception {
-               // these tests are using "test_diacritics.dict"
-               // all these are correct, they are here just to prove that 
"some" words
-               // are corectly returned
+  /**
+   *
+   * @author Ionuț Păduraru
+   * @since 24.03.2009 21:39:25
+   * @throws Exception
+   */
+  public void testTaggerCuscaCutit() throws Exception {
+    // these tests are using "test_diacritics.dict"
+    // all these are correct, they are here just to prove that "some" words
+    // are corectly returned
 
-               assertHasLemmaAndPos("cușcă", "cușcă", "001");
-               assertHasLemmaAndPos("cuțit", "cuțit", "001");
-               assertHasLemmaAndPos("cuțitul", "cuțit", "002");
-       }
+    assertHasLemmaAndPos("cușcă", "cușcă", "001");
+    assertHasLemmaAndPos("cuțit", "cuțit", "001");
+    assertHasLemmaAndPos("cuțitul", "cuțit", "002");
+  }
 
 }

Modified: 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerTest.java
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerTest.java
       2013-02-08 09:59:11 UTC (rev 9330)
+++ 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerTest.java
       2013-02-08 10:00:29 UTC (rev 9331)
@@ -23,92 +23,92 @@
 import org.languagetool.TestTools;
 
 /**
- * 
+ *
  * @author Ionuț Păduraru
  * @since 20.02.2009 19:36:32
  */
 public class RomanianTaggerTest extends RomanianTaggerTestAbs {
 
-       /**
-        * First we test if the tagger works fine with single words
-        * 
-        * @author Ionuț Păduraru
-        * @since 20.02.2009 19:50:10
-        * @throws Exception
-        */
-       public void testTagger_Merge() throws Exception {
-               // merge - verb indicativ imperfect, persoana întâi, singular
-               assertHasLemmaAndPos("mergeam", "merge", "V0s1000ii0");
-               // merge - verb indicativ imperfect, persoana întâi, plural
-               assertHasLemmaAndPos("mergeam", "merge", "V0p1000ii0");
-               // merge - verb indicativ imperfect, persoana întâi, plural
-       }
+  /**
+   * First we test if the tagger works fine with single words
+   *
+   * @author Ionuț Păduraru
+   * @since 20.02.2009 19:50:10
+   * @throws Exception
+   */
+  public void testTagger_Merge() throws Exception {
+    // merge - verb indicativ imperfect, persoana întâi, singular
+    assertHasLemmaAndPos("mergeam", "merge", "V0s1000ii0");
+    // merge - verb indicativ imperfect, persoana întâi, plural
+    assertHasLemmaAndPos("mergeam", "merge", "V0p1000ii0");
+    // merge - verb indicativ imperfect, persoana întâi, plural
+  }
 
-       /**
-        * <code>merseserăm</code> had some problems (incorect lemma - mege -
-        * missing "r")
-        * 
-        * @author Ionuț Păduraru
-        * @since 20.02.2009 20:24:55
-        * @throws Exception
-        */
-       public void testTagger_Merseseram() throws Exception {
-               // first make sure lemma is correct (ignore POS)
-               assertHasLemmaAndPos("merseserăm", "merge", null);
-               // now that lemma is correct, also check POS
-               assertHasLemmaAndPos("merseserăm", "merge", "V0p1000im0");
-       }
-       
-       /**
-        * A special word: a fi (to be) - eu sunt (i am) + ei sunt (they are)
-        * 
-        * @author Ionuț Păduraru
-        * @since 20.02.2009 20:21:10
-        * @throws Exception
-        */
-       public void testTagger_Fi() throws Exception {
-               // fi - verb indicativ prezent, persoana întâi, singular
-               assertHasLemmaAndPos("sunt", "fi", "V0s1000izf");
-               // fi verb indicativ prezent, persoana a treia, plural
-               assertHasLemmaAndPos("sunt", "fi", "V0p3000izf");
-       }
+  /**
+   * <code>merseserăm</code> had some problems (incorect lemma - mege -
+   * missing "r")
+   *
+   * @author Ionuț Păduraru
+   * @since 20.02.2009 20:24:55
+   * @throws Exception
+   */
+  public void testTagger_Merseseram() throws Exception {
+    // first make sure lemma is correct (ignore POS)
+    assertHasLemmaAndPos("merseserăm", "merge", null);
+    // now that lemma is correct, also check POS
+    assertHasLemmaAndPos("merseserăm", "merge", "V0p1000im0");
+  }
 
-       /**
-        * Test for entries in used dictionary.
-        * @throws Exception
-        */
-       public void testTagger_UserDict() throws Exception {
-               assertHasLemmaAndPos("configurați", "configura", "V0p2000cz0"); 
// de adăugat formele pentru infinitiv și participiu
-               // to be updated when the words from added.txt are moved to 
romanian.dict  
-       }
-       
-       /**
-        * the big picture: test is tagger performs well with a sentence
-        * 
-        * @author ionuț păduraru
-        * @since 20.02.2009 01:12:33
-        * @throws IOException
-        */
-       public void testTagger() throws IOException {
-               TestTools
-                               .myAssert(
-                                               "Cartea este frumoasă.",
-                                               "Cartea/[carte]Sfs3aac000 -- 
este/[fi]V0s3000izb -- frumoasă/[frumos]Afs3an0000",
-                                               getTokenizer(), getTagger());
-       }
+  /**
+   * A special word: a fi (to be) - eu sunt (i am) + ei sunt (they are)
+   *
+   * @author Ionuț Păduraru
+   * @since 20.02.2009 20:21:10
+   * @throws Exception
+   */
+  public void testTagger_Fi() throws Exception {
+    // fi - verb indicativ prezent, persoana întâi, singular
+    assertHasLemmaAndPos("sunt", "fi", "V0s1000izf");
+    // fi verb indicativ prezent, persoana a treia, plural
+    assertHasLemmaAndPos("sunt", "fi", "V0p3000izf");
+  }
 
-       /**
-        * 
-        * @author ionuț păduraru
-        * @since 20.02.2009 01:44:50
-        * @throws IOException
-        */
-       public void testTaggerMerseseram() throws IOException {
-               TestTools.myAssert("merseserăm", "merseserăm/[merge]V0p1000im0",
-                               getTokenizer(), getTagger());
-       }
+  /**
+   * Test for entries in used dictionary.
+   * @throws Exception
+   */
+  public void testTagger_UserDict() throws Exception {
+    assertHasLemmaAndPos("configurați", "configura", "V0p2000cz0"); // de 
adăugat formele pentru infinitiv și participiu
+    // to be updated when the words from added.txt are moved to romanian.dict  
+  }
 
-       public static void main(String[] args) {
-               junit.textui.TestRunner.run(RomanianTaggerTest.class);
-       }
+  /**
+   * the big picture: test is tagger performs well with a sentence
+   *
+   * @author ionuț păduraru
+   * @since 20.02.2009 01:12:33
+   * @throws IOException
+   */
+  public void testTagger() throws IOException {
+    TestTools
+            .myAssert(
+                    "Cartea este frumoasă.",
+                    "Cartea/[carte]Sfs3aac000 -- este/[fi]V0s3000izb -- 
frumoasă/[frumos]Afs3an0000",
+                    getTokenizer(), getTagger());
+  }
+
+  /**
+   *
+   * @author ionuț păduraru
+   * @since 20.02.2009 01:44:50
+   * @throws IOException
+   */
+  public void testTaggerMerseseram() throws IOException {
+    TestTools.myAssert("merseserăm", "merseserăm/[merge]V0p1000im0",
+            getTokenizer(), getTagger());
+  }
+
+  public static void main(String[] args) {
+    junit.textui.TestRunner.run(RomanianTaggerTest.class);
+  }
 }

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


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to