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
c9c78abf
Commit
c9c78abf
authored
Sep 29, 2018
by
hxw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update routine
parent
b4158551
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ProcessQuestion.java
src/processing/ProcessQuestion.java
+7
-5
No files found.
src/processing/ProcessQuestion.java
View file @
c9c78abf
...
@@ -191,7 +191,7 @@ public class ProcessQuestion {
...
@@ -191,7 +191,7 @@ public class ProcessQuestion {
String
pair
[];
String
pair
[];
HashSet
<
String
>
keyWordSet
=
null
;
HashSet
<
String
>
keyWordSet
=
null
;
for
(
String
premise:
premisesString
)
{
for
(
String
premise:
premisesString
)
{
System
.
out
.
println
(
premise
);
//
System.out.println(premise);
if
(
premise
.
equals
(
""
)
||
premise
.
equals
(
" "
))
if
(
premise
.
equals
(
""
)
||
premise
.
equals
(
" "
))
continue
;
continue
;
pair
=
premise
.
split
(
"="
,
2
);
pair
=
premise
.
split
(
"="
,
2
);
...
@@ -681,12 +681,12 @@ public class ProcessQuestion {
...
@@ -681,12 +681,12 @@ public class ProcessQuestion {
it
=
curInfoPoint
.
keySet
().
iterator
();
it
=
curInfoPoint
.
keySet
().
iterator
();
String
debugInfo
=
""
;
String
debugInfo
=
""
;
debugInfo
+=
"(识别:"
;
debugInfo
+=
"
<font color=\"green\">
(识别:"
;
while
(
it
.
hasNext
())
{
while
(
it
.
hasNext
())
{
key
=
it
.
next
();
key
=
it
.
next
();
values
=
curInfoPoint
.
get
(
key
);
values
=
curInfoPoint
.
get
(
key
);
if
(
values
!=
null
&&
!
values
[
0
].
equals
(
" "
)
&&
!
values
[
0
].
equals
(
""
)
&&
!
skipSet
.
contains
(
key
))
if
(
values
!=
null
&&
!
values
[
0
].
equals
(
" "
)
&&
!
values
[
0
].
equals
(
""
)
&&
!
skipSet
.
contains
(
key
))
debugInfo
+=
(
" "
+
key
+
":
"
+
values
[
0
]
+
"
"
);
debugInfo
+=
(
" "
+
key
+
":
\'"
+
values
[
0
]
+
"\'
"
);
}
}
debugInfo
+=
")(已知:"
;
debugInfo
+=
")(已知:"
;
it
=
historyInfoPoint
.
keySet
().
iterator
();
it
=
historyInfoPoint
.
keySet
().
iterator
();
...
@@ -695,10 +695,10 @@ public class ProcessQuestion {
...
@@ -695,10 +695,10 @@ public class ProcessQuestion {
key
=
it
.
next
();
key
=
it
.
next
();
value
=
historyInfoPoint
.
get
(
key
);
value
=
historyInfoPoint
.
get
(
key
);
if
(
value
!=
null
&&
!
value
.
equals
(
" "
)
&&
!
value
.
equals
(
""
)
&&
!
skipSet
.
contains
(
key
))
if
(
value
!=
null
&&
!
value
.
equals
(
" "
)
&&
!
value
.
equals
(
""
)
&&
!
skipSet
.
contains
(
key
))
debugInfo
+=
(
" "
+
key
+
":
"
+
value
+
"
"
);
debugInfo
+=
(
" "
+
key
+
":
\'"
+
value
+
"\'
"
);
}
}
ans
.
setAnswer
(
debugInfo
+
") "
+
ans
.
getAnswer
());
ans
.
setAnswer
(
debugInfo
+
")
</font>
"
+
ans
.
getAnswer
());
}
}
...
@@ -917,6 +917,8 @@ public class ProcessQuestion {
...
@@ -917,6 +917,8 @@ public class ProcessQuestion {
String
configStr
=
""
;
String
configStr
=
""
;
Integer
configId
;
Integer
configId
;
for
(
String
configIdStr:
activateList
.
split
(
","
)){
for
(
String
configIdStr:
activateList
.
split
(
","
)){
if
(!
StringUtils
.
isNumeric
(
configIdStr
))
continue
;
configId
=
Integer
.
parseInt
(
configIdStr
);
configId
=
Integer
.
parseInt
(
configIdStr
);
Condition
condition
=
new
Condition
();
Condition
condition
=
new
Condition
();
configStr
=
userinfo
.
id2config
.
get
(
configId
);
configStr
=
userinfo
.
id2config
.
get
(
configId
);
...
...
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