Commit 115271fa by 赵国君

过滤表单字段

parent be273a72
...@@ -65,8 +65,6 @@ public class ActionMatcher { ...@@ -65,8 +65,6 @@ public class ActionMatcher {
Queue<Action> activatedQueue = new LinkedList<Action>(); Queue<Action> activatedQueue = new LinkedList<Action>();
Queue<Action> activatedAction = new LinkedList<Action>(); Queue<Action> activatedAction = new LinkedList<Action>();
while (it.hasNext()) { while (it.hasNext()) {
String conditionName = it.next(); String conditionName = it.next();
String keywords = curInfoPoint.get(conditionName); String keywords = curInfoPoint.get(conditionName);
...@@ -230,11 +228,7 @@ public class ActionMatcher { ...@@ -230,11 +228,7 @@ public class ActionMatcher {
keyword = botUtil.getKeyword(curInfoPoint, historyInfoPoint, false, actionName); keyword = botUtil.getKeyword(curInfoPoint, historyInfoPoint, false, actionName);
if (keyword == null) { if (keyword == null) {
flag = false; keyword = "null";
if(flag == false){
logWriter.record("-----------------------" + premiseStr + "不匹配,跳过------------------------", 5);logWriter.writeln();
}
break;
} }
keywordSet = action.getCurrentPremise().get(premiseStr); keywordSet = action.getCurrentPremise().get(premiseStr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment