Revision: 9332
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9332&view=rev
Author:   dnaber
Date:     2013-02-08 10:04:32 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
javadoc cleanup

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 10:00:29 UTC (rev 9331)
+++ 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerDiacriticsTest.java
     2013-02-08 10:04:32 UTC (rev 9332)
@@ -19,13 +19,11 @@
 package org.languagetool.tagging.ro;
 
 /**
- *
- * These tests are kept to make sure UTF-8 dictionaries are correctly 
read.<br/>
+ * These tests are kept to make sure UTF-8 dictionaries are correctly read.
  * 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 {
 
@@ -49,26 +47,16 @@
    * <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;
+    return new RomanianTagger("/ro/test_diacritics.dict", null);
   }
 
   /**
    * 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"
@@ -78,17 +66,10 @@
     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
-
+    // are correctly returned
     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 10:00:29 UTC (rev 9331)
+++ 
trunk/languagetool/languagetool-language-modules/ro/src/test/java/org/languagetool/tagging/ro/RomanianTaggerTest.java
       2013-02-08 10:04:32 UTC (rev 9332)
@@ -23,20 +23,14 @@
 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 {
+  public void testTaggerMerge() throws Exception {
     // merge - verb indicativ imperfect, persoana întâi, singular
     assertHasLemmaAndPos("mergeam", "merge", "V0s1000ii0");
     // merge - verb indicativ imperfect, persoana întâi, plural
@@ -45,26 +39,20 @@
   }
 
   /**
-   * <code>merseserăm</code> had some problems (incorect lemma - mege -
+   * <code>merseserăm</code> had some problems (incorrect lemma - mege -
    * missing "r")
-   *
-   * @author Ionuț Păduraru
-   * @since 20.02.2009 20:24:55
-   * @throws Exception
    */
-  public void testTagger_Merseseram() throws Exception {
+  public void testTaggerMerseseram() 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");
+    TestTools.myAssert("merseserăm", "merseserăm/[merge]V0p1000im0",
+            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
@@ -73,21 +61,13 @@
     assertHasLemmaAndPos("sunt", "fi", "V0p3000izf");
   }
 
-  /**
-   * Test for entries in used dictionary.
-   * @throws Exception
-   */
-  public void testTagger_UserDict() throws Exception {
+  public void testTaggerUserDict() 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
@@ -97,17 +77,6 @@
                     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