|
@@ -59,7 +59,7 @@ public class RelationExtractionUtil {
|
|
for (String content : contents) {
|
|
for (String content : contents) {
|
|
sb.append(content);
|
|
sb.append(content);
|
|
}
|
|
}
|
|
- if (IsExist(sb.toString())) {
|
|
|
|
|
|
+ if (isExist(sb.toString())) {
|
|
Map<String, String> map = new HashMap<>();
|
|
Map<String, String> map = new HashMap<>();
|
|
map.put("featureType", "5");
|
|
map.put("featureType", "5");
|
|
map.put("featureName", sb.toString());
|
|
map.put("featureName", sb.toString());
|
|
@@ -79,7 +79,7 @@ public class RelationExtractionUtil {
|
|
* @param content
|
|
* @param content
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- public boolean IsExist(String content){
|
|
|
|
|
|
+ public boolean isExist(String content){
|
|
Map<String, Map<String, String>> kl_diagnose_detail_filter_map = ApplicationCacheUtil.getKl_diagnose_detail_filter_map();
|
|
Map<String, Map<String, String>> kl_diagnose_detail_filter_map = ApplicationCacheUtil.getKl_diagnose_detail_filter_map();
|
|
if (kl_diagnose_detail_filter_map.get("4") != null){
|
|
if (kl_diagnose_detail_filter_map.get("4") != null){
|
|
if (kl_diagnose_detail_filter_map.get("4").containsKey(content)){
|
|
if (kl_diagnose_detail_filter_map.get("4").containsKey(content)){
|