优化关键词抓取3

This commit is contained in:
794757862@qq.com 2023-01-08 10:48:17 +08:00
parent c1200d5d32
commit 32e14ff0fe
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<groupId>com.wlld</groupId>
<artifactId>easyAi</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
<name>easyAi</name>
<!-- FIXME change it to the project's website -->

View File

@ -196,7 +196,7 @@ public class CatchKeyWord {//抓取关键词
// System.out.println("word:" + upWord + ",value==" + myValue + ",终结态:" + state.isFinish());
}
}
if (myValue <= dynamicState.getValue()) {
if (myValue <= dynamicState.getValue() && maxDy.value <= dynamicState.getValue()) {
insertValue(maxDy, dynamicState, j, i);
} else {
if (state != null) {
@ -254,10 +254,10 @@ public class CatchKeyWord {//抓取关键词
} else {
myValue = state.getValue();
}
// System.out.println("word:" + upWord + ",value==" + myValue + ",终结态:" + state.isFinish());
//System.out.println("word:" + upWord + ",value==" + myValue + ",终结态:" + state.isFinish());
}
}
if (myValue <= dynamicState.getValue()) {
if (myValue <= dynamicState.getValue() && maxDy.value <= dynamicState.getValue()) {
insertValue(maxDy, dynamicState, i, j);
} else {
if (state != null) {