fixing dividing bu zero
git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@126 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
		| @@ -96,7 +96,7 @@ public class TestAllWords { | |||||||
|         RemoveFlexiaWithPrefixes removeFlexiaWithPrefixes = new RemoveFlexiaWithPrefixes(wordStringCleaner); |         RemoveFlexiaWithPrefixes removeFlexiaWithPrefixes = new RemoveFlexiaWithPrefixes(wordStringCleaner); | ||||||
|         dictionaryReader.process(removeFlexiaWithPrefixes); |         dictionaryReader.process(removeFlexiaWithPrefixes); | ||||||
|         long time = System.currentTimeMillis() - startTime; |         long time = System.currentTimeMillis() - startTime; | ||||||
|         System.out.println("Done " + wordCount.get() + " in " + time + " ms. " + wordCount.get() / (time / 1000L) + " word per second"); |         System.out.println("Done " + wordCount.get() + " in " + time + " ms. " + wordCount.get() / (time / 1000.0) + " word per second"); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Test |     @Test | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alexander.A.Kuznetsov@gmail.com
					Alexander.A.Kuznetsov@gmail.com