Skip to content
This repository was archived by the owner on Mar 26, 2019. It is now read-only.

Commit 23125b0

Browse files
committed
完成打词率属性
1 parent 3176bf2 commit 23125b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/me/ryan/controller/TextController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ private void updateText() {
137137
scoreUpdater.addToCharactersCount(count);
138138
// 如果字符数添加了不止一个,还要更新打词字符数
139139
if (count > 1) {
140+
// TODO 打词率应该排除标点符号和空白字符
140141
scoreUpdater.addToCharCountInWord(count);
141142
}
142143

0 commit comments

Comments
 (0)