mirror of
https://gitee.com/dromara/easyAi.git
synced 2024-11-30 02:37:42 +08:00
优化关键词抓取3
This commit is contained in:
parent
c1200d5d32
commit
32e14ff0fe
2
pom.xml
2
pom.xml
@ -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 -->
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user