|
@@ -92,7 +92,7 @@ public class IndicationFacade {
|
|
|
wordCrfDTO = commonFacade.crf_process(indicationPushVO);
|
|
|
}
|
|
|
CoreUtil.getDebugStr(crfStart, "模型处理耗时", debug);
|
|
|
- //正则匹配
|
|
|
+ //正则匹配开始
|
|
|
String symptom = wordCrfDTO.getSymptom();
|
|
|
RegularConfigDataVO regularConfigData= new RegularConfigDataVO();
|
|
|
regularConfigData.setText(symptom);
|
|
@@ -103,6 +103,7 @@ public class IndicationFacade {
|
|
|
if(data.getType().equals(RegularConfigEnum.lis.getKey())){
|
|
|
Lis lis = new Lis();
|
|
|
lis.setUniqueName(data.getKey());
|
|
|
+ lis.setDetailName(data.getKey());
|
|
|
lis.setName(data.getKey());
|
|
|
lis.setValue(Double.valueOf(data.getValue()));
|
|
|
lisData.add(lis);
|
|
@@ -110,6 +111,7 @@ public class IndicationFacade {
|
|
|
}
|
|
|
}
|
|
|
wordCrfDTO.setLis(lisData);
|
|
|
+ //正则匹配结束
|
|
|
// 标准词转换
|
|
|
long standStart = System.currentTimeMillis();
|
|
|
if (methodList.contains("stand")) {
|