fixing dividing bu zero
git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@126 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
parent
2b9e2c5b1e
commit
19559e2856
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user