Make dict log cleanup.

Delete unneeded output when creating a dictionary

Change-Id: If7dc5dc74a53d0054967cb801e5ccfdd53ebe179
Akifumi Yoshimoto 2014-08-06 15:23:12 +09:00
parent 203ba408d7
commit c21619fe73
1 changed files with 3 additions and 10 deletions

View File

@ -802,20 +802,13 @@ public class BinaryDictEncoderUtils {
} }
MakedictLog.i("Statistics:\n" MakedictLog.i("Statistics:\n"
+ " total file size " + size + "\n" + " Total file size " + size + "\n"
+ " " + ptNodeArrays.size() + " node arrays\n" + " " + ptNodeArrays.size() + " node arrays\n"
+ " " + ptNodes + " PtNodes (" + ((float)ptNodes / ptNodeArrays.size()) + " " + ptNodes + " PtNodes (" + ((float)ptNodes / ptNodeArrays.size())
+ " PtNodes per node)\n" + " PtNodes per node)\n"
+ " first terminal at " + firstTerminalAddress + "\n" + " First terminal at " + firstTerminalAddress + "\n"
+ " last terminal at " + lastTerminalAddress + "\n" + " Last terminal at " + lastTerminalAddress + "\n"
+ " PtNode stats : max = " + maxNodes); + " PtNode stats : max = " + maxNodes);
for (int i = 0; i < ptNodeCounts.length; ++i) {
MakedictLog.i(" " + i + " : " + ptNodeCounts[i]);
}
MakedictLog.i(" Character run stats : max = " + maxRuns);
for (int i = 0; i < runCounts.length; ++i) {
MakedictLog.i(" " + i + " : " + runCounts[i]);
}
} }
/** /**