Revision: 6083
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=6083&view=rev
Author:   dnaber
Date:     2011-12-21 21:22:31 +0000 (Wed, 21 Dec 2011)
Log Message:
-----------
extend javadoc

Modified Paths:
--------------
    trunk/JLanguageTool/src/java/org/languagetool/JLanguageTool.java

Modified: trunk/JLanguageTool/src/java/org/languagetool/JLanguageTool.java
===================================================================
--- trunk/JLanguageTool/src/java/org/languagetool/JLanguageTool.java    
2011-12-21 20:24:44 UTC (rev 6082)
+++ trunk/JLanguageTool/src/java/org/languagetool/JLanguageTool.java    
2011-12-21 21:22:31 UTC (rev 6083)
@@ -465,7 +465,9 @@
    * sentences against all currently active rules.
    * 
    * @param text
-   *          the text to check  
+   *          The text to check. Call this method with the complete text to 
check. If you call it
+   *          with smaller chunks like paragraphs or sentence, those rules 
that work across 
+   *          paragraphs/sentences won't work (their status gets reset 
whenever this).
    * @param tokenizeText
    *          If true, then the text is tokenized into sentences. 
    *          Otherwise, it is assumed it's already tokenized.
@@ -486,8 +488,7 @@
     }
     final List<RuleMatch> ruleMatches = new ArrayList<RuleMatch>();
     final List<Rule> allRules = getAllRules();
-    printIfVerbose(allRules.size() + " rules activated for language "
-        + language);
+    printIfVerbose(allRules.size() + " rules activated for language " + 
language);
     int charCount = 0;
     int lineCount = 0;
     int columnCount = 1;

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


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to