|
@@ -30,7 +30,6 @@ import java.util.Map;
|
|
|
**/
|
|
|
public class ParamsDataProxy {
|
|
|
Logger logger = LoggerFactory.getLogger(ParamsDataProxy.class);
|
|
|
- ParticipleUtil util = new ParticipleUtil();
|
|
|
|
|
|
public void createSearchData(HttpServletRequest request, SearchData searchData) throws Exception {
|
|
|
//消除空格
|
|
@@ -50,11 +49,10 @@ public class ParamsDataProxy {
|
|
|
searchData.setResourceType(BigDataConstants.resource_type_o);
|
|
|
}
|
|
|
//给症状末尾添加诊断依据标准词
|
|
|
- ApplicationCacheUtil.getKl_result_mapping_standword_map();
|
|
|
if (searchData.getSymptom() != null) {
|
|
|
- LexemePath<Lexeme> featureData = util.participle(searchData.getSymptom());
|
|
|
+ LexemePath<Lexeme> featureData = ParticipleUtil.participle(searchData.getSymptom());
|
|
|
if (featureData != null) {
|
|
|
- addStandWord(featureData, ApplicationCacheUtil.kl_result_mapping_standword_map, searchData);
|
|
|
+ addStandWord(featureData, ApplicationCacheUtil.getKl_result_mapping_standword_map(), searchData);
|
|
|
}
|
|
|
}
|
|
|
//所有信息参与推送
|