Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qwgame
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵国君
qwgame
Commits
e829dd3f
Commit
e829dd3f
authored
Apr 10, 2019
by
zhaoguojun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
局部修改
parent
4f3041ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ListeningConstructor.java
.../qiwu/chatbotbackend/gameDesign/ListeningConstructor.java
+1
-1
GameBotUtil.java
.../java/com/qiwu/chatbotbackend/task/utils/GameBotUtil.java
+1
-1
No files found.
src/main/java/com/qiwu/chatbotbackend/gameDesign/ListeningConstructor.java
View file @
e829dd3f
...
@@ -115,7 +115,7 @@ public class ListeningConstructor extends ElementConstructor{
...
@@ -115,7 +115,7 @@ public class ListeningConstructor extends ElementConstructor{
""
,
""
,
""
,
feature
,
reply
,
nextCondition
,
priority
""
,
""
,
""
,
feature
,
reply
,
nextCondition
,
priority
);
);
System
.
out
.
println
(
"生成:"
+
curPremiseList
.
get
(
0
));
//
System.out.println("生成:" + curPremiseList.get(0));
configTermTextList
.
add
(
configTermText
);
configTermTextList
.
add
(
configTermText
);
}
}
}
}
...
...
src/main/java/com/qiwu/chatbotbackend/task/utils/GameBotUtil.java
View file @
e829dd3f
...
@@ -89,7 +89,7 @@ public class GameBotUtil extends BasicBotUtil{
...
@@ -89,7 +89,7 @@ public class GameBotUtil extends BasicBotUtil{
StringBuffer
finalText
=
new
StringBuffer
();
StringBuffer
finalText
=
new
StringBuffer
();
String
plotText
=
SimpleUtil
.
randStr
(
bestMatch
.
getAnswer
().
split
(
"~"
));
String
plotText
=
SimpleUtil
.
randStr
(
bestMatch
.
getAnswer
().
split
(
"~"
));
//将自动跳转文本、qa文本、查询文本拼接
//将自动跳转文本、qa文本、查询文本拼接
String
queryList
[]
=
{
"plot_jump_text"
,
"common_answer"
,
"map_query"
,
"goods_query"
,
"npc_query"
,
"plot_text"
,
"error_message"
};
String
queryList
[]
=
{
"common_answer"
,
"plot_jump_text"
,
"map_query"
,
"goods_query"
,
"npc_query"
,
"plot_text"
,
"error_message"
};
String
queryResult
;
String
queryResult
;
//有些特殊文本在开头是不加npc名字和情绪的
//有些特殊文本在开头是不加npc名字和情绪的
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment